History

dracut/copy-kmods.sh: copy the initramfs to the new rootfs for proper shutdown.

Juan RP committed 13 years ago

Commit c6f15e71 parent 2ce7cd81 file · +3 −0Browse files

Unified · Split

dracut/copy-kmods.sh+3−0
@@ -7,3 +7,6 @@ KVER=$(uname -r) · 6 unmodified lines
77 mkdir -p $NEWROOT/usr/lib/modules
88 cp -a /usr/lib/modules/$KVER/kernel/* $NEWROOT/usr/lib/modules/$KVER/kernel/
99 depmod -b $NEWROOT/usr
10+
11+# Copy the initramfs back to the new rootfs for proper shutdown.
12+cp /run/initramfs/live/boot/initrd.lz $NEWROOT/boot/initramfs-${KVER}.img

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t