Commit 647718dd authored by Natanael Copa's avatar Natanael Copa

update-kernel: handle -vanilla suffix in, config and vmlinuz

Previously the vanilla kernel did not add any suffix to,
config and vmlinuz for the vanilla kernel, but it does now. Fix
update-kernel to handle both cases.

Note also that /lib/modules/$ver still does not have any -vanilla
parent abbe2696
...@@ -259,7 +259,11 @@ mkinitfs $MKINITFS_ARGS -q -b $ROOT -F "$features base squashfs" \ ...@@ -259,7 +259,11 @@ mkinitfs $MKINITFS_ARGS -q -b $ROOT -F "$features base squashfs" \
-o "$STAGING/initramfs-$FLAVOR" "$KVER" -o "$STAGING/initramfs-$FLAVOR" "$KVER"
for file in config vmlinuz; do for file in config vmlinuz; do
cp "$BOOT/$file$KVER_FLAVOR" $STAGING if [ -f "$BOOT/$file-$FLAVOR" ]; then
cp "$BOOT/$file" $STAGING
done 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