summaryrefslogtreecommitdiff
path: root/update-kernel.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-kernel.in')
-rw-r--r--update-kernel.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/update-kernel.in b/update-kernel.in
index 8563d2c..5f477b5 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -6,7 +6,7 @@
# with setup-bootable
#
# Copyright (c) 2014 Timo Teräs
-# Copyright (c) 2014 Kaarle Ritvanen
+# Copyright (c) 2014-2015 Kaarle Ritvanen
SCRIPT=update-kernel
@@ -211,7 +211,10 @@ _exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz
_exec mkinitfs -q -b $ROOT -F "$features base squashfs" \
-o "$STAGING/initramfs-$FLAVOR" "$KVER"
-cp "$BOOT/vmlinuz$KVER_FLAVOR" $STAGING
+
+for file in System.map config vmlinuz; do
+ cp "$BOOT/$file$KVER_FLAVOR" $STAGING
+done
if [ "$MNTDIR" ]; then