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

* virtustom/mount-partnum-param:
  feat: mount_disk_image: Add rootpart parameter
ubuntu-core-desktop-noble
Utkarsh Gupta 11 months ago
commit e37253418b

6
debian/changelog vendored

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

@ -220,7 +220,8 @@ get_lowerdirs_for_pass () {
mount_disk_image() { mount_disk_image() {
local disk_image=${1} local disk_image=${1}
local mountpoint=${2} local mountpoint=${2}
mount_image ${disk_image} 1 local rootpart=${3:-1}
mount_image ${disk_image} "${rootpart}"
mount_partition "${rootfs_dev_mapper}" $mountpoint mount_partition "${rootfs_dev_mapper}" $mountpoint
local boot_dev="${loop_device}p16" local boot_dev="${loop_device}p16"

Loading…
Cancel
Save