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