mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-09-10 07:24:08 +00:00
Merge remote-tracking branch 'dlalaj/fix-buildd-imagesize' into ubuntu/master
This commit is contained in:
commit
ecaaf04844
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
livecd-rootfs (25.10.19) questing; urgency=medium
|
||||||
|
|
||||||
|
* Increase default image size for buildd.
|
||||||
|
|
||||||
|
-- Denis Lalaj <denis.lalaj@canonical.com> Tue, 02 Sep 2025 15:37:34 -0700
|
||||||
|
|
||||||
livecd-rootfs (25.10.18) questing; urgency=medium
|
livecd-rootfs (25.10.18) questing; urgency=medium
|
||||||
|
|
||||||
* desktop: use dracut
|
* desktop: use dracut
|
||||||
|
@ -137,7 +137,9 @@ EOF
|
|||||||
|
|
||||||
disk_image=binary/boot/disk-uefi.ext4
|
disk_image=binary/boot/disk-uefi.ext4
|
||||||
|
|
||||||
create_empty_disk_image "${disk_image}"
|
# Adjust the image size to accomodate increasing package sizes
|
||||||
|
size=$(( imagesize*115/100 ))
|
||||||
|
create_empty_disk_image "${disk_image}" "${size}"
|
||||||
create_partitions "${disk_image}"
|
create_partitions "${disk_image}"
|
||||||
mount_image "${disk_image}" 1
|
mount_image "${disk_image}" 1
|
||||||
|
|
||||||
|
@ -33,7 +33,8 @@ clean_loops() {
|
|||||||
|
|
||||||
create_empty_disk_image() {
|
create_empty_disk_image() {
|
||||||
# Prepare an empty disk image
|
# Prepare an empty disk image
|
||||||
dd if=/dev/zero of="$1" bs=1 count=0 seek="${imagesize}"
|
size=${2:-$imagesize}
|
||||||
|
dd if=/dev/zero of="$1" bs=1 count=0 seek="${size}"
|
||||||
}
|
}
|
||||||
|
|
||||||
create_manifest() {
|
create_manifest() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user