<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/scripts/build/binary, branch cla</title>
<subtitle> (mirror of https://github.com/vyos/vyos-live-build.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-live-build.git/atom?h=cla</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=cla'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2021-07-11T08:33:48+00:00</updated>
<entry>
<title>Adding dm-verity support for rootfs</title>
<updated>2021-07-11T08:33:48+00:00</updated>
<author>
<name>Thore Sommer</name>
<email>debian@thson.de</email>
</author>
<published>2021-07-10T14:52:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=0f53b8ed209d240c7a4e74cb9b3c3497ac517b19'/>
<id>urn:sha1:0f53b8ed209d240c7a4e74cb9b3c3497ac517b19</id>
<content type='text'>
This adds support for dm-vertiy on the root filesystem.
Currently only squashfs is supported.

Three new flags are introduced.
 * --dm-verity: Enable basic dm-verity support
 * --dm-verity-fec NB_ROOTS: Enable forward error correction. Optional
 * --dm-verity-sign SCRIPT: Specify signing script for the root hash. Optional
</content>
</entry>
<entry>
<title>Apply SOURCE_DATE_EPOCH to newly generated files and create a log</title>
<updated>2021-01-15T09:22:29+00:00</updated>
<author>
<name>Roland Clobus</name>
<email>rclobus@rclobus.nl</email>
</author>
<published>2021-01-02T16:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=91e1e65c873291d11495730d8ce6df5940706c2b'/>
<id>urn:sha1:91e1e65c873291d11495730d8ce6df5940706c2b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rename binary_loopback_cfg to binary_grub_cfg</title>
<updated>2020-05-04T21:15:09+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-05-04T17:20:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=a542d52141acef0e2d2bb78253d6b5df4305dcd1'/>
<id>urn:sha1:a542d52141acef0e2d2bb78253d6b5df4305dcd1</id>
<content type='text'>
when loopback support was introduced, it initially duplicated the code
for generating a grub2 config, before the duplicated code was removed from
the grub-pc script, effectively thus moving grub config generation to the
loopback feature script.

grub-efi support was added after this.

this results in a misleading filename, since the `binary_loopback_cfg`
script is essential for use of grub-pc|grub-efi, and actually only has a
single line of code on top that's needed for adding actual loopback
support on top. (when grub-pc and grub-efi are not used, the entire script
is still needed for loopback support to work).

so here we rename it to make better sense, and correct/clarify bits of
documentation.

Gbp-Dch: Short
</content>
</entry>
<entry>
<title>chroot_prep: expand coverage</title>
<updated>2020-04-23T09:38:02+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-04-05T16:29:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=38a5aed0dcdf71f43cecfadc6e34c659408b6a00'/>
<id>urn:sha1:38a5aed0dcdf71f43cecfadc6e34c659408b6a00</id>
<content type='text'>
it now covers:
 - `lb chroot_apt install-binary`
 - `lb chroot_archives {chroot|binary|source} {install|remove}`

by expanding usage from:
`lb chroot_prep {install|remove} HELPERS [ARGS]`
to:
`lb chroot_prep {install|remove} HELPERS [MODE[ MODE..]] [ARGS]`

where `[MODE[ MODE..]]` is an optional set of one or more of:
 - archives-chroot, which specifies to use 'chroot' as the first param to
   the chroot_archives script
 - archives-binary, which specifies to use 'binary'
 - archives-source, which specifies to use 'source'
 - apt-install-binary, which specified to pass 'install-binary' instead of
   'install' to chroot_apt

thus _all_ chroot prep scripts can be run through this helper now!

note, in the case of the binary stage, 'archives' is deliberately not added
to CHROOT_PREP_OTHER, this is not a mistake!

Gbp-Dch: Short
</content>
</entry>
<entry>
<title>binary: add missing use of chroot_tmpfs</title>
<updated>2020-04-23T09:38:02+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-04-01T04:51:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=1f63c620f0abdf08188975d083d5f11bebfd2433'/>
<id>urn:sha1:1f63c620f0abdf08188975d083d5f11bebfd2433</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add bulk chroot preparation script execution helper</title>
<updated>2020-04-23T09:38:02+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-04-01T04:22:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=e22bd27170bba862239c41ebdd9a6f23ef865caf'/>
<id>urn:sha1:e22bd27170bba862239c41ebdd9a6f23ef865caf</id>
<content type='text'>
rather than explicitly running one helper after another in the major
build stages, or by hand (e.g. while testing things during development),
they can be run in bulk via this new helper. it essentially just takes a
list of helpers to run and runs them one by one.

it supports running all helpers except chroot_archives because that one
has different parameter requirements to the rest and supporting it would
make things messier.

helper scripts can either be named by their full script name or without
the 'chroot_' prefix for brevity. you can also just specify 'all' to
refer to all helpers (except chroot_archives, per above).

it automatically reverses the order of the list when run in remove mode.

Gbp-Dch: Short
</content>
</entry>
<entry>
<title>binary: remove useless execution of `lb chroot_debianchroot remove`</title>
<updated>2020-04-23T09:38:02+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-04-01T04:24:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=fc88358b29bc353b15879d611cc25fc74ae91442'/>
<id>urn:sha1:fc88358b29bc353b15879d611cc25fc74ae91442</id>
<content type='text'>
it was not run in install mode so should not be run in remove mode.

(whether it should in fact be run in install mode is another question; as
is whether chroot_tmpfs should be being used)

Gbp-Dch: Short
</content>
</entry>
<entry>
<title>fix $@ parameter expansion issues</title>
<updated>2020-04-23T09:38:01+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-04-01T08:29:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=11836c0c18b07f4bd1ea22a2163875975f3e6816'/>
<id>urn:sha1:11836c0c18b07f4bd1ea22a2163875975f3e6816</id>
<content type='text'>
$@ when unquoted is subject to further word splitting. this fixes a bunch
of instances where it was incorrectly being used unquoted.

Gbp-Dch: Short
</content>
</entry>
<entry>
<title>stagefiles: simplify &amp; robustify</title>
<updated>2020-03-17T18:57:02+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-03-12T01:21:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=04d9ee0211e7cf2d5f637941ff6579b4f5462da6'/>
<id>urn:sha1:04d9ee0211e7cf2d5f637941ff6579b4f5462da6</id>
<content type='text'>
 - avoid all need to pass ".build/" path in stage file names into the
   functions
 - add a helper to remove a stage file (required to complete the above
   properly)
 - avoid duplicating filenames within scripts which makes them prone to
   mistakes (some instances of which I've actually encountered and had
   to fix)

Gbp-Dch: Short
</content>
</entry>
<entry>
<title>add build &amp; build stage success messages</title>
<updated>2020-03-16T21:42:49+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-03-16T02:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=af040d78035b88aaf2f99f38bf5f0db176c92d0a'/>
<id>urn:sha1:af040d78035b88aaf2f99f38bf5f0db176c92d0a</id>
<content type='text'>
</content>
</entry>
</feed>
