mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 19:31:31 +00:00
fix(armhf): Fix armhf kernel file detection
Armhf images install the `generic-lpae` kernel, while other ARCHes use the standard `generic` kernel when building the "virtual" image flavour. Code was looking for a kernel binary ending with -generic in armhf builds, and failed. Add a special condition to handle armhf builds' kernel ending with `generic-lpae` References: [1] https://bugs.launchpad.net/cloud-images/+bug/2029527
This commit is contained in:
parent
774b7c6c5a
commit
08db5c2418
@ -618,7 +618,11 @@ for FLAVOUR in $LB_LINUX_FLAVOURS; do
|
||||
fi
|
||||
case $FLAVOUR in
|
||||
allwinner|virtual|generic-hwe-*)
|
||||
FLAVOUR="generic"
|
||||
if [ "$ARCH" = "armhf" ]; then
|
||||
FLAVOUR="generic-lpae"
|
||||
else
|
||||
FLAVOUR="generic"
|
||||
fi
|
||||
;;
|
||||
oem-*)
|
||||
FLAVOUR="oem"
|
||||
|
Loading…
x
Reference in New Issue
Block a user