Merge remote-tracking branch 'virtustom/mount-partnum-param' into ubuntu/master

* virtustom/mount-partnum-param:
  feat: mount_disk_image: Add rootpart parameter
This commit is contained in:
Utkarsh Gupta 2024-01-29 22:19:20 +05:30
commit e37253418b
2 changed files with 8 additions and 1 deletions

6
debian/changelog vendored
View File

@ -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.23) noble; urgency=medium
* Remove magic-proxy and all references to it as it is not used by any

View File

@ -220,7 +220,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"