lp:~gjolly/livecd-rootfs

Owned by Gauthier Jolly
Get this repository:
git clone https://git.launchpad.net/~gjolly/livecd-rootfs
Only Gauthier Jolly can upload to this repository. If you are Gauthier Jolly please log in for upload directions.

Branches

Name Last Modified Last Commit
feat/functions/snap_validate_seed_kern_param 2023-09-29 12:53:54 UTC
functions: allow user to pass kern_major_min to snap_validate_seed

Author: Gauthier Jolly
Author Date: 2023-09-29 12:53:54 UTC

functions: allow user to pass kern_major_min to snap_validate_seed

Some images do not have a vmlinuz image but a Unified Kernel Image
(UKI). snap_validate_seed do not work for those. Allowing the user to
pass the kernel version of their choice makes the function more flexible.

ubuntu-cpc/boot_partition 2023-09-11 11:06:15 UTC
update d/c

Author: Gauthier Jolly
Author Date: 2023-08-23 12:16:59 UTC

update d/c

ubuntu-cpc/device_busy 2023-08-08 14:28:51 UTC
functions(umount_partition): wait if device is busy (LP: #2030771)

Author: Gauthier Jolly
Author Date: 2023-08-08 13:54:12 UTC

functions(umount_partition): wait if device is busy (LP: #2030771)

This is a workaround for a series of issues we had recently when the
e2fsck call would fail with the following error:

+ e2fsck -y -E discard /dev/mapper/loop3p1
e2fsck 1.45.5 (07-Jan-2020)
/dev/mapper/loop3p1 is in use.
e2fsck: Cannot continue, aborting.

While debugging this issue, we realized that:
 1. the device was not mounted anymore at that point
 2. no apparent process inside the LXD container is using this device

Thus, it is possible that something outside of the LXD container is
keeping this device busy.
In the past, we tried adding delay (hence "sleep 30") to avoid this
issue. But the device is sometimes still busy even after 30s. Here we
implement a slightly more advanced workaround by checking the block
device status before continuing.

os.open('$device', os.O_RDONLY | os.O_EXCL)

This is the exact same call as e2fsck is doing to find out if the device
is busy or not.
The map page says:

> In general, the behavior of O_EXCL is undefined if it is used without
> O_CREAT. There is one exception: on Linux 2.6 and later, O_EXCL can be
> used without O_CREAT if pathname refers to a block device. If the block
> device is in use by the system (e.g., mounted), open() fails with the
> error EBUSY.

revert/cpc/esp_on_boot 2023-07-10 10:05:38 UTC
update d/c

Author: gauthier
Author Date: 2023-07-10 10:05:38 UTC

update d/c

ubuntu-cpc/uefi_cleanup 2023-06-28 10:03:42 UTC
ubuntu-cpc: cleanup disk-images-uefi.binary

Author: Gauthier Jolly
Author Date: 2023-06-28 10:03:42 UTC

ubuntu-cpc: cleanup disk-images-uefi.binary

Remove all the logic that is not related to cloud-images. Non
cloud-images should use disk-image-uefi-non-cloud.binary

cpc/non-cloud 2023-06-23 11:55:59 UTC
ubuntu-cpc: fix images for hardware devices

Author: Gauthier Jolly
Author Date: 2023-06-21 11:10:28 UTC

ubuntu-cpc: fix images for hardware devices

Canonical Public Cloud's project seems a bad place to build images for
hardware devices however this is how things were done a we now need to
maintain this.
The recent change to mount the ESP on /boot breaks those images, instead
of adding more hacky things in the hook, create a dedicated target for
those images and use a different hook to build UEFI images.

cpc/riscv/install_grub 2023-06-23 11:28:50 UTC
update d/c

Author: Gauthier Jolly
Author Date: 2023-06-23 11:26:44 UTC

update d/c

ubuntu-cpc/mount_esp_on_boot 2023-06-15 10:50:56 UTC
update d/c

Author: Gauthier Jolly
Author Date: 2023-06-05 09:42:07 UTC

update d/c

ubuntu-cpc/mount_esp_on_boot-devel 2023-05-09 12:39:17 UTC
ubuntu-cpc: disable kernel and initramfs symlinks in /boot

Author: Gauthier Jolly
Author Date: 2023-05-09 12:39:17 UTC

ubuntu-cpc: disable kernel and initramfs symlinks in /boot

This is required by the new UEFI binary hook as we mount the ESP on
/boot and the ESP filesystem doesn't support symlinks.
We keep symlinks for s390x images which do not use UEFI anyway.

poc/jammy/wsl-seed 2021-12-08 13:03:34 UTC
WSL: create a new project "ubuntu-wsl"

Author: Gauthier Jolly
Author Date: 2021-12-08 13:01:41 UTC

WSL: create a new project "ubuntu-wsl"

For now live-build/ubuntu-wsl is simply a symlink to
live-build/ubuntu-cpc. The only difference is the seed that we use. For
ubuntu-wsl we use the wsl seed instead of the server seed.

debug/chroot_too_big 2021-11-22 17:05:16 UTC
Add changelog

Author: Gauthier Jolly
Author Date: 2021-11-22 16:59:49 UTC

Add changelog

ubuntu-wsl 2021-11-08 15:51:18 UTC
Decouple WSL from ubuntu-cpc

Author: Gauthier Jolly
Author Date: 2021-11-08 15:46:06 UTC

Decouple WSL from ubuntu-cpc

xenial/buildd_boot_fix 2021-09-10 15:49:56 UTC
Don't divert grub-probe; otherwise we're missing the filesystem UUIDs that

Author: Mathieu Trudel-Lapierre
Author Date: 2018-05-28 14:39:06 UTC

Don't divert grub-probe; otherwise we're missing the filesystem UUIDs that
the grub search command needs to find the right prefix/root. This is
different than the PARTUUID for booting initrd-less.

(cherry picked from commit 056e760c06b2b5353743fbfaa587c31f9ee4f6c2)

backport/bionic/arm_grub 2021-07-15 13:27:18 UTC
Update changelog

Author: Gauthier Jolly
Author Date: 2021-07-15 13:27:18 UTC

Update changelog

backport/focal/arm_grub 2021-07-15 08:58:55 UTC
Update changelog

Author: Gauthier Jolly
Author Date: 2021-07-15 08:58:55 UTC

Update changelog

backport/groovy/arm_grub 2021-07-15 08:53:24 UTC
Update changelog

Author: Gauthier Jolly
Author Date: 2021-07-15 08:53:24 UTC

Update changelog

backport/hirsute/arm_grub 2021-07-15 08:50:23 UTC
Update changelog

Author: Gauthier Jolly
Author Date: 2021-07-15 08:50:23 UTC

Update changelog

hirsute/arm/fix-grub-images 2021-07-09 07:09:17 UTC
999-cpc-fixes: enable more code on grub2 armhf & arm64

Author: Dimitri John Ledkov
Author Date: 2021-04-23 10:24:38 UTC

999-cpc-fixes: enable more code on grub2 armhf & arm64

armhf & arm64 images use grub. And despite disk-image &
disk-image-uefi installing all the grubs, some of the configuration is
done in the 999-cpc-fixes. Specifically removal of "quiet splash" is
done there, but not active on armhf & arm64. This results in arm
images to boot with "quiet splash".

Enable running the later portions of 999-cpc-fixes on armhf & arm64.

Drop duplicate call to update-grub, as update-grub2 is simply a
symlink to update-grub.

Add a guard around the call to reconfigure grub-pc, to only do that
when it is installed.

This makes armhf & arm64 uefi images consistent with amd64 uefi
images.

LP: #1925780
(cherry picked from commit 41fd537bc22fded83127cd7871b1ee3d7fe9656e)

cloud-image/grub_config_for_everyone 2021-07-02 12:01:18 UTC
ubuntu-cpc: fix the way we check if grub-pc is installed

Author: Gauthier Jolly
Author Date: 2021-07-02 12:01:18 UTC

ubuntu-cpc: fix the way we check if grub-pc is installed

We were using dpkg-query -W which is not good since it might return
something if the package was previously installed and then removed.

focal/grub_config 2021-07-01 12:48:11 UTC
Try to add cloudimg grub customization for all arch

Author: Gauthier Jolly
Author Date: 2021-07-01 12:48:11 UTC

Try to add cloudimg grub customization for all arch

fix/buildd-boot 2021-05-28 11:17:25 UTC
buildd: Fix bootable images

Author: Gauthier Jolly
Author Date: 2021-04-29 09:33:42 UTC

buildd: Fix bootable images

buildd build was trying to use grub's parameter GRUB_FORCE_PARTUUID.
However, this option is not present in Xenial's grub.

To fix this issue, we now use replace_grub_root_with_label to set the
right kernel cmdline parameter for the root filesystem.

LP: #1923865
(cherry picked from commit 05b4f2b24f60e2200c4d6f486a35e0d75424b4bd)

xenial_buildd_debug 2021-04-28 07:37:40 UTC
fixup! add print to debug

Author: Gauthier Jolly
Author Date: 2021-04-28 07:37:40 UTC

fixup! add print to debug

consistent_fstab-xenial 2021-03-18 10:19:02 UTC
ubuntu-cpc: secure esp mountpoint (LP: #1881006)

Author: Gauthier Jolly
Author Date: 2021-03-17 17:01:12 UTC

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.

consistent_fstab-bionic 2021-03-18 10:17:09 UTC
ubuntu-cpc: secure esp mountpoint (LP: #1881006)

Author: Gauthier Jolly
Author Date: 2021-03-17 17:01:12 UTC

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.

consistent_fstab-focal 2021-03-18 10:10:43 UTC
ubuntu-cpc: secure esp mountpoint (LP: #1881006)

Author: Gauthier Jolly
Author Date: 2021-03-17 17:01:12 UTC

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.

consistent_fstab-groovy 2021-03-18 10:02:17 UTC
ubuntu-cpc: secure esp mountpoint (LP: #1881006)

Author: Gauthier Jolly
Author Date: 2021-03-17 17:01:12 UTC

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.

consistent_fstab 2021-03-02 14:21:36 UTC
ubuntu-cpc: make /etc/fstab consistent with other ubuntu images

Author: Gauthier Jolly
Author Date: 2021-02-18 12:54:32 UTC

ubuntu-cpc: make /etc/fstab consistent with other ubuntu images

Modify the mount options in fstab to make the Cloud images consistent
with the default we have elsewhere.

LP: #1902103
LP: #1881006

no_rbind_devtmpfs 2021-02-22 16:48:30 UTC
setup_mountpoint: rename devtmpfs filesystem for consistency

Author: Gauthier Jolly
Author Date: 2021-02-22 16:48:30 UTC

setup_mountpoint: rename devtmpfs filesystem for consistency

128 of 28 results
This repository contains Public information 
Everyone can see this information.

Subscribers