~gjolly/livecd-rootfs:xenial_buildd_debug

Last commit made on 2021-04-28
Get this branch:
git clone -b xenial_buildd_debug https://git.launchpad.net/~gjolly/livecd-rootfs
Only Gauthier Jolly can upload to this branch. If you are Gauthier Jolly please log in for upload directions.

Branch merges

Branch information

Name:
xenial_buildd_debug
Repository:
lp:~gjolly/livecd-rootfs

Recent commits

d092f06... by Gauthier Jolly

fixup! add print to debug

eff46cd... by Gauthier Jolly

add print to debug

f09ffc5... by Robert C Jennings

releasing package livecd-rootfs version 2.408.68

eef7fee... by Gauthier Jolly

ubuntu-cpc: secure esp mountpoint (LP: #1881006)

Change mount option for ubuntu-cpc images from "defaults" to
"umask=0077". ESP partitions might contain sensitive data and
non-root users shouldn't have read access on it.

e77821b... by Dimitri John Ledkov

releasing package livecd-rootfs version 2.408.67

bf6e4d3... by Dimitri John Ledkov

Revert "esp: install grub in ubuntu bootloader id path, instead of removable."

This reverts commit 8e9925729534fffa7b8fb1a30a2f4527b00e850e.

2d81daa... by Dimitri John Ledkov

releasing package livecd-rootfs version 2.408.66

6832b6b... by Dimitri John Ledkov

functions: stop removing systemd-detect-virt unconditionally in undivert_grub

One can call divert_grub; replace_kernel; undivert_grub. And
replace_kernel will call into force_boot_without_initramfs, which
under certain conditions can call divert_grub &
undivert_grub. Resulting in undivert_grub called twice in a row.

When undivert_grub is called twice in a row it wipes
systemd-detect-virt binary from disk, as the rm call is unguarded to
check that there is something to divert if systemd package is
installed. And if the systemd package is not installed, it does not
check that systemd-detect-virt file is in-fact what divert_grub has
created.

Add a guard to check that systemd-detect-virt is the placeholder one,
before removing it.

LP: #1902260
(cherry picked from commit 096a00f40459187719840ccad99e86c7ade2ec12)

d2e70ab... by Dimitri John Ledkov

Perform fsck on all rootfs.

LP: #1912835
(cherry picked from commit 33b7272a2331279b4c7aa8de73ed8a9069d0bd39)

ef43f0c... by Dimitri John Ledkov

esp: perform fsck.

LP: #1912835
(cherry picked from commit 53b28d5f58284657ee8efd08a633d557af1fcd97)