Skip to content

Commit

Permalink
Change CustomPiOS to use bookworm mount boot path
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Feb 22, 2024
1 parent 63da54b commit a57cbaf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/modules/base/config
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ fi
# [ -n "$BASE_CHROOT_SCRIPT_PATH" ] || BASE_CHROOT_SCRIPT_PATH=$BASE_SCRIPT_PATH/chroot_script
[ -n "$BASE_MOUNT_PATH" ] || BASE_MOUNT_PATH=$BASE_WORKSPACE/mount

if [ "${BASE_DISTRO}" = "ubuntu" ]; then
[ -n "${BASE_BOOT_MOUNT_PATH}" ] || BASE_BOOT_MOUNT_PATH=boot/firmware
else
[ -n "${BASE_BOOT_MOUNT_PATH}" ] || BASE_BOOT_MOUNT_PATH=boot
fi
[ -n "${BASE_BOOT_MOUNT_PATH}" ] || BASE_BOOT_MOUNT_PATH=boot/firmware

# The root partition of the image filesystem, 2 for raspbian
[ -n "$BASE_ROOT_PARTITION" ] || BASE_ROOT_PARTITION=2
Expand Down

0 comments on commit a57cbaf

Please sign in to comment.