diff --git a/debian/changelog b/debian/changelog index 42c70398..d6bffcc8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (24.04.20) noble; urgency=medium + + * live-build/functions: mount_disk_image: add rootpart parameter + + -- Tomáš Virtus <tomas.virtus@canonical.com> Wed, 24 Jan 2024 12:52:29 +0000 + livecd-rootfs (24.04.19) noble; urgency=medium * live-build/auto/config: don't repeatedly add the same pass name to the diff --git a/live-build/functions b/live-build/functions index fe93c71f..bea7b967 100644 --- a/live-build/functions +++ b/live-build/functions @@ -207,7 +207,8 @@ get_lowerdirs_for_pass () { mount_disk_image() { local disk_image=${1} local mountpoint=${2} - mount_image ${disk_image} 1 + local rootpart=${3:-1} + mount_image ${disk_image} "${rootpart}" mount_partition "${rootfs_dev_mapper}" $mountpoint local boot_dev="${loop_device}p16"