Commit fc48d431 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

update-kernel: adapt to new naming convention in /boot

parent 547603a3
......@@ -202,7 +202,7 @@ depmod -b $ROOT "$KVER"
STAGING=$TMPDIR/boot
MODLOOP=$TMPDIR/modloop
MODIMG=$FLAVOR.modloop.squashfs
MODIMG=modloop-$FLAVOR
mkdir $MODLOOP $STAGING
cp -a $ROOT/lib/modules $MODLOOP
......@@ -210,8 +210,8 @@ cp -a $ROOT/lib/firmware $MODLOOP/modules
_exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz
_exec mkinitfs -q -b $ROOT -F "$features base squashfs" \
-o "$STAGING/$FLAVOR.gz" "$KVER"
cp "$BOOT/vmlinuz$KVER_FLAVOR" "$STAGING/$FLAVOR"
-o "$STAGING/initramfs-$FLAVOR" "$KVER"
cp "$BOOT/vmlinuz$KVER_FLAVOR" $STAGING
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