diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-01-26 11:02:41 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2015-01-26 11:02:41 +0200 |
commit | 33da382fec1edeaad5764f68a1c4942f848a7481 (patch) | |
tree | 911ed97a070982e11460c3caae3c4d8063cb49d7 /update-kernel.in | |
parent | fc48d4317ef5583b3f204e43ef638c5ed7d598ea (diff) | |
download | alpine-conf-33da382fec1edeaad5764f68a1c4942f848a7481.zip |
update-kernel: update also System.map and config
Diffstat (limited to 'update-kernel.in')
-rw-r--r-- | update-kernel.in | 7 |
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 |