<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-build.git/data/live-build-config/hooks/live, branch rolling</title>
<subtitle>VyOS image build scripts (mirror of https://github.com/vyos/vyos-build.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-build.git/atom?h=rolling</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-build.git/atom?h=rolling'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/'/>
<updated>2026-11-07T08:27:06+00:00</updated>
<entry>
<title>Kernel: T9591: add VyOS internal revision to the kernel release string</title>
<updated>2026-11-07T08:27:06+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-11-07T07:50:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=1d6ec630d636067d802de522638396132989923a'/>
<id>urn:sha1:1d6ec630d636067d802de522638396132989923a</id>
<content type='text'>
Rebuilding the same upstream kernel with additional patches, e.g. urgent
security fixes, produced the exact same release string and package name
as the previous build. A patched image could not be told apart from an
unpatched one.

A new kernel_revision default is now placed between the upstream version
and the flavor, so 6.18.60-vyos becomes 6.18.60-1-vyos. It ends up in
uname -r, the module directory, the linux-image package name and its
Debian version; out-of-tree modules follow automatically. Bump it on
every patched rebuild of the same upstream version and reset it to 1 on
an upstream bump.

The kernel and all module packages must be rebuilt and published along
with this change, otherwise the image build cannot find the new
linux-image package.
</content>
</entry>
<entry>
<title>hooks: T9553: run Dropbear key removal last and drop executable bit</title>
<updated>2026-11-01T06:53:43+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-31T10:04:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=cc6a08970c31211b920fcf6d87a29e926aebac02'/>
<id>urn:sha1:cc6a08970c31211b920fcf6d87a29e926aebac02</id>
<content type='text'>
The hook removing Dropbear host keys was numbered 100 to run last, but hooks
execute in lexical order, so it actually ran between 09 and 11. Renumber it
to 98 so it runs after all other hooks, ahead of restoring file capabilities.

Hooks do not need to be executable in the repository: live-build copies each
chroot hook into the chroot and sets the executable bit before running it,
and does the same for binary hooks. The mode was inconsistent across files
anyway, so drop it everywhere.
</content>
</entry>
<entry>
<title>hooks: T9553: drop file capabilities while running live-build chroot hooks</title>
<updated>2026-11-01T06:53:43+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-31T10:04:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=4cfde2bafb79e54ffdb3cb1e5f93c5cd37aa8ad7'/>
<id>urn:sha1:4cfde2bafb79e54ffdb3cb1e5f93c5cd37aa8ad7</id>
<content type='text'>
vyos-1x grants cap_sys_module to kmod and cap_sys_time to date. In a build
container whose capability bounding set lacks these (e.g. a default Proxmox
LXC), the kernel refuses to execute both binaries, even as root. mkinitramfs
ignores the failing modprobe calls and silently produces an initrd without
any kernel modules - the ISO builds fine but cannot find its boot medium.

The capabilities are now removed while the chroot hooks run and restored
afterwards. The initramfs is regenerated before restoring them and live-build
is told to skip its own final regeneration, which would otherwise run with
the capabilities back in place. The build now fails if the initrd lacks the
squashfs module.
</content>
</entry>
<entry>
<title>Merge pull request #1328 from c-po/secure-boot-updates</title>
<updated>2026-10-17T13:42:15+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T13:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=94192fd1290ed0146e824c4d009bc2b29d3d176e'/>
<id>urn:sha1:94192fd1290ed0146e824c4d009bc2b29d3d176e</id>
<content type='text'>
Testsuite: T861: enroll dev shim certificate using mokutil</content>
</entry>
<entry>
<title>secure-boot: T861: verify dev Kernel signature before replacing the image</title>
<updated>2026-10-17T13:12:37+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T13:12:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=e55dff911c837796ef9d0161ecd3c96dcd85333a'/>
<id>urn:sha1:e55dff911c837796ef9d0161ecd3c96dcd85333a</id>
<content type='text'>
The development signing path signed the Kernel in place and never checked
the result, so a failed sbsign could leave a broken Kernel behind and a bad
signature went unnoticed (sbverify --list only prints signatures).

The Kernel is now signed to a temporary file and verified against the dev
certificate before it replaces the original. On failure the temporary file
and the private key are removed and the build aborts, matching the HSM path.
</content>
</entry>
<entry>
<title>secure-boot: T861: detect all PEM private key types in MOK directory</title>
<updated>2026-10-17T13:07:44+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T13:07:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=53b4043e96469fdf2ea02e8ddb06fe9083e5ab40'/>
<id>urn:sha1:53b4043e96469fdf2ea02e8ddb06fe9083e5ab40</id>
<content type='text'>
Every regular file is now scanned for any PEM private key header and the
build still aborts when one is found.
</content>
</entry>
<entry>
<title>Testsuite: T861: enroll dev shim certificate using mokutil</title>
<updated>2026-10-17T12:55:13+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-10-17T12:55:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=b5155b113e7b624ca2b89ec6c6c2286624714cbe'/>
<id>urn:sha1:b5155b113e7b624ca2b89ec6c6c2286624714cbe</id>
<content type='text'>
The install mok CLI command is gone, so the Secure Boot test now imports
the development shim root certificate shipped in the image with plain
mokutil.

The development certificate names follow the current year instead of a
hardcoded one. The production certificate is left untouched.
</content>
</entry>
<entry>
<title>T861: Remove leftover packages related to Secure Boot process</title>
<updated>2026-10-13T16:26:18+00:00</updated>
<author>
<name>asklymenko</name>
<email>a.klymenko@vyos.io</email>
</author>
<published>2026-10-13T16:26:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=c9b9015272ec514a22a0ee1f6cd6b6577f5ac527'/>
<id>urn:sha1:c9b9015272ec514a22a0ee1f6cd6b6577f5ac527</id>
<content type='text'>
</content>
</entry>
<entry>
<title>T861: Finalize VyOS kernel signing for UEFI Secure Boot</title>
<updated>2026-10-01T12:56:25+00:00</updated>
<author>
<name>asklymenko</name>
<email>a.klymenko@vyos.io</email>
</author>
<published>2026-09-28T12:26:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=cd593388fce66b8791d578db38bb6d865976f33d'/>
<id>urn:sha1:cd593388fce66b8791d578db38bb6d865976f33d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>live-boot: T5475: replace the forked live-boot package with Debian's</title>
<updated>2026-09-07T18:43:35+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2026-09-04T08:21:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-build.git/commit/?id=c598316aa436d682999a710446edb4ef504a6e56'/>
<id>urn:sha1:c598316aa436d682999a710446edb4ef504a6e56</id>
<content type='text'>
VyOS carried a fork of Debian's live-boot, based on release 1:20151213, purely
to add a handful of VyOS specific behaviours. The fork is retired here in
favour of Debian's own live-boot plus a drop-in component.

live-boot's frontend sources every /lib/live/boot/????-* file in glob order,
so 9991-vyos.sh is read after all upstream components and can both translate
the vyos-union= kernel parameter and redefine three helpers. An initramfs-tools
hook copies the multiarch klibc libraries that upstream's non-multiarch glob
never matches, and a live-top shim runs mdadm, which boot=live otherwise skips
entirely, leaving RAID arrays unassembled.
</content>
</entry>
</feed>
