<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/share/hooks, branch master</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=master</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2021-01-23T20:26:09+00:00</updated>
<entry>
<title>Reproducible fix for glibc</title>
<updated>2021-01-23T20:26:09+00:00</updated>
<author>
<name>Roland Clobus</name>
<email>rclobus@rclobus.nl</email>
</author>
<published>2021-01-23T20:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=dc1a03d053b4e857a351c406d03d15bc0224d88d'/>
<id>urn:sha1:dc1a03d053b4e857a351c406d03d15bc0224d88d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use truncate --no-create --size=0 to truncate files</title>
<updated>2020-09-25T09:49:03+00:00</updated>
<author>
<name>Raphaël Hertzog</name>
<email>raphael@offensive-security.com</email>
</author>
<published>2020-09-25T09:47:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=c3968cf1c66a76872c528bf00e8a8556d06592c7'/>
<id>urn:sha1:c3968cf1c66a76872c528bf00e8a8556d06592c7</id>
<content type='text'>
This avoids the permission error due to /proc/sys/fs/protected_regular = 2
setting which is now enabled by default in bullseye.
</content>
</entry>
<entry>
<title>Replace 'which' with 'command -v' to test for the existance of an executable</title>
<updated>2020-05-01T09:59:11+00:00</updated>
<author>
<name>johnraff</name>
<email>github@rafflesnagoya.com</email>
</author>
<published>2020-05-01T02:23:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=0e5d0483e5596e200430d28356b808af76806439'/>
<id>urn:sha1:0e5d0483e5596e200430d28356b808af76806439</id>
<content type='text'>
This is considered to be more robust.

Two instances remain:

scripts/build/chroot_archives, line 257:
if [ "${LB_APT}" = "aptitude" ] &amp;&amp; [ ! $(Chroot chroot "which aptitude") ]
The command is run inside a chroot where the environment might be special,
and would need further testing.

manpages/Makefile, line 42:
@if [ ! -x "$$(which po4a 2&gt;/dev/null)" ]; \
I am insufficiently familiar with makefile syntax to edit this.
</content>
</entry>
<entry>
<title>Add updated directives to enable cryptsetup support in initrd</title>
<updated>2020-04-23T15:47:12+00:00</updated>
<author>
<name>Raphaël Hertzog</name>
<email>hertzog@debian.org</email>
</author>
<published>2020-04-23T15:47:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=c3a6e65438b6088dced4aca3da1b045e59d192d6'/>
<id>urn:sha1:c3a6e65438b6088dced4aca3da1b045e59d192d6</id>
<content type='text'>
This fixes cryptsetup modules not being installed into initrd with warning:
&gt; cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries
&gt;     nor crypto modules. If that's on purpose, you may want to uninstall the
&gt;     'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs
&gt;     integration and avoid this warning.

Thanks-to: Marcel Partap
</content>
</entry>
<entry>
<title>Fix indentation</title>
<updated>2020-04-23T15:46:47+00:00</updated>
<author>
<name>Raphaël Hertzog</name>
<email>hertzog@debian.org</email>
</author>
<published>2020-04-23T15:46:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=aa8f8323f7c435b6380b145b7d5b037ee708e54b'/>
<id>urn:sha1:aa8f8323f7c435b6380b145b7d5b037ee708e54b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Revert "Test for executables: replace 'which' with more robust 'command -v'"</title>
<updated>2020-03-12T12:32:26+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>luca.boccassi@microsoft.com</email>
</author>
<published>2020-03-12T12:32:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=015e6b65f3173e16d7ee4c3d9fa407d7ed1c9c45'/>
<id>urn:sha1:015e6b65f3173e16d7ee4c3d9fa407d7ed1c9c45</id>
<content type='text'>
This reverts commit 2d9ab1f7f82f9a98b97d1503c1e3f31c86061c15.

Causes test failure due to bashism.
</content>
</entry>
<entry>
<title>Test for executables: replace 'which' with more robust 'command -v'</title>
<updated>2020-03-12T10:35:57+00:00</updated>
<author>
<name>johnraff</name>
<email>github@rafflesnagoya.com</email>
</author>
<published>2020-03-12T05:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=2d9ab1f7f82f9a98b97d1503c1e3f31c86061c15'/>
<id>urn:sha1:2d9ab1f7f82f9a98b97d1503c1e3f31c86061c15</id>
<content type='text'>
Instances of:
if [ $(which &lt;command&gt; ]
have been replaced with:
if command -v &lt;command&gt; &gt;/dev/null
which is considered to be more robust in a range of environments.

scripts/build/chroot_archives: line 259:
	if [ "${LB_APT}" = "aptitude" ] &amp;&amp; [ ! $(Chroot chroot "which aptitude") ]
has been left untouched because the chroot might require a more complex command
which would need more testing.

manpages/Makefile: line 42:
	@if [ ! -x "$$(which po4a 2&gt;/dev/null)" ]; \
has been left untouched because I am not sufficiently familiar with makefiles.
</content>
</entry>
<entry>
<title>hooks: run bin without explicit path</title>
<updated>2020-03-10T13:59:01+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-03-10T05:30:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=9faf9bcbed78c075287a74f3ccd58dbbfc973e63'/>
<id>urn:sha1:9faf9bcbed78c075287a74f3ccd58dbbfc973e63</id>
<content type='text'>
this got lost in reworking 7ee59d408ed7681908966a5b2fb28e8f98116d31

Gbp-Dch: Short
</content>
</entry>
<entry>
<title>fix consistency in binary execution and existance checking</title>
<updated>2020-03-09T10:51:11+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-02-22T14:33:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=7ee59d408ed7681908966a5b2fb28e8f98116d31'/>
<id>urn:sha1:7ee59d408ed7681908966a5b2fb28e8f98116d31</id>
<content type='text'>
 - prefer using `which` over hard coded paths
 - it is redundant to check that the bin pointed to the return of
   `which` exists and is executable, `which` already gives us
   assurance of that if it returns true!
 - the redirection of output (`2&gt;/dev/null`) seems to be
   unnecessary from my testing.

the instances relatnig to fdisk and losetup in functions/defaults.sh have
been left as they are since they get executed by `lb config` which can run
without sudo elevation unlike `lb build` and in that case `which` would
fail to find these binaries resulting in error.

this also fixes a bug showing an error for missing debootstrap - this tool
requires sudo privileges to run and thus is not found via a none elevated
which search.

Gbp-Dch: Short
Closes: #952927
</content>
</entry>
<entry>
<title>Initialize /etc/default/locale with LANG=C.UTF-8</title>
<updated>2017-08-29T10:26:33+00:00</updated>
<author>
<name>Raphaël Hertzog</name>
<email>hertzog@debian.org</email>
</author>
<published>2017-08-29T10:26:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=2fe6afe46008c50ef7d3a9b505ca5cf28c355f3c'/>
<id>urn:sha1:2fe6afe46008c50ef7d3a9b505ca5cf28c355f3c</id>
<content type='text'>
That way we always have a valid UTF-8 locale even when we don't have
the "locales" (or "locales-all") package installed.
</content>
</entry>
</feed>
