ubuntu-core-initramfs:alfonsosanchezbeato/splash-v2

Last commit made on 2021-10-20
Get this branch:
git clone -b alfonsosanchezbeato/splash-v2 https://git.launchpad.net/ubuntu-core-initramfs

Branch merges

Branch information

Name:
alfonsosanchezbeato/splash-v2
Repository:
lp:ubuntu-core-initramfs

Recent commits

2f71a21... by Alfonso Sanchez-Beato

load-drm-modules.sh: switch modules folder only when needed

74d8729... by Alfonso Sanchez-Beato

Use properly arch triplet in splash services

f030b8e... by Alfonso Sanchez-Beato

load-drm-modules: look only at pci folder

As boot_vga is not present in other buses.

0724ef9... by Alfonso Sanchez-Beato

debian: include font configuration

Font configuration might be needed early for some plymouth
themes. Include it in the initramfs, but make it point to the base
snap.

3ed15b6... by Alfonso Sanchez-Beato

factory: add script to load drm driver from plymouth-start

Add script to load drm driver from plymouth-start service. The kernel
snap is mounted when plymouth is about to start, so we can leverage
that. We search for the boot framebuffer and load only this driver as
we do not want to delay the boot by a full run of
"udevadm trigger --type=devices --action=add", that would force
loading of all applicable kernel modules.

For this, we search the boot_vga file. This file only applies to PCI
GPUs, so in other cases we would need the drm driver to be included in
the initramfs.

ce9d1f9... by Alfonso Sanchez-Beato

factory: add service files for splash screen

Add service files for splash screen (plymouth), that will run when the
base snap is mounted, but before the switch root happens.

8b0aec8... by Alfonso Sanchez-Beato

Merge pull request #50 from snapcore/alfonsosanchezbeato/fix-create-initrd

ubuntu-core-initramfs: run cpio with subprocess.run()

ce848c7... by Alfonso Sanchez-Beato

ubuntu-core-initramfs: run cpio with subprocess.run()

It has been found that in the x86 case (that prepends an early
initramfs with microcode files), the created initramfs was in some
cases not correct, and the kernel was unable to load it. Looking at
python dcoumentation about subprocess.check_call() [1], it says

"Code needing to capture stdout or stderr should use run() instead"

And it turns out that capturing output from run() fixes the problem,
although it is unclear what is the problem.

b8b676c... by Alfonso Sanchez-Beato

Merge pull request #48 from snapcore/alfonsosanchezbeato/improve-hacking

doc: add some more instructions to the hacking doc

fb36394... by Alfonso Sanchez-Beato

doc: fix HACKING.md typo

Co-authored-by: Ian Johnson <email address hidden>