Files
void-mklive/dracut/copy-initramfs.sh
2014-05-23 10:55:03 +02:00

8 lines
274 B
Bash

#!/bin/sh
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
# Copy the initramfs back to the new rootfs for proper shutdown.
KVER=$(uname -r)
cp /run/initramfs/live/boot/initrd $NEWROOT/boot/initramfs-${KVER}.img