Commit 33da382f authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

update-kernel: update also System.map and config

parent fc48d431
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# with setup-bootable # with setup-bootable
# #
# Copyright (c) 2014 Timo Teräs # Copyright (c) 2014 Timo Teräs
# Copyright (c) 2014 Kaarle Ritvanen # Copyright (c) 2014-2015 Kaarle Ritvanen
SCRIPT=update-kernel SCRIPT=update-kernel
...@@ -211,7 +211,10 @@ _exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz ...@@ -211,7 +211,10 @@ _exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz
_exec mkinitfs -q -b $ROOT -F "$features base squashfs" \ _exec mkinitfs -q -b $ROOT -F "$features base squashfs" \
-o "$STAGING/initramfs-$FLAVOR" "$KVER" -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 if [ "$MNTDIR" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment