<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/share/bin/Packages, branch current</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=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2020-05-01T09:59:11+00:00</updated>
<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>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>amend copyright &amp; licensing blocks</title>
<updated>2020-03-11T13:51:19+00:00</updated>
<author>
<name>Lyndon Brown</name>
<email>jnqnfe@gmail.com</email>
</author>
<published>2020-03-11T10:07:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=7a4a9f94b89d22c083c1610ecbcb7a173f1b73db'/>
<id>urn:sha1:7a4a9f94b89d22c083c1610ecbcb7a173f1b73db</id>
<content type='text'>
Current versions of the project files are built upon versions published
and licensed by Daniel Baumann, but are modified copies of those files and
thus need to be marked as such per licensing requirements (afaik he did
not pass along ownership / licensing rights to anyone when he left the
project). We should also be careful to not be misrepresenting such
modified copies as being attributed to Daniel.

Adding a new copyright line referring to "The Debian Live team" should
suffice for this.

The authorship block in man pages has also similarly been updated.

Notes:
 - tweaked a copy of daniel copyright lines stating 2014 instead of 2015.
   both of these cases were in files that i had personally introduced in
   some of my past merged commits that moved some code around. i don't know
   why they stated 2014.
 - binary_onie was introduced in 2018, so that has a 2018 date instead of
   2016 unlike the rest.
 - 'efi-image' is a 3rd-party (Canonical Ltd) work that we bundle, but it
   has been modified by 674794a8f4d61a729d2dbd6d99385d2826138694 and
   36a3ba76347ef72df1c316312ed3a26aa4b0c816 so I similarly added a
   debian live copyright line.
 - 'grub-cpmodules' is similar. it was only changed by the indentation fix
   of 36a3ba76347ef72df1c316312ed3a26aa4b0c816 but modification is
   modification, and this does help cover any possible future changes that
   might be made.
</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>Updating year in copyright notices to 2015.</title>
<updated>2015-01-04T19:05:44+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>mail@daniel-baumann.ch</email>
</author>
<published>2015-01-04T19:05:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=242aef5d8314a9b1da31e016f3329e6f04b8d675'/>
<id>urn:sha1:242aef5d8314a9b1da31e016f3329e6f04b8d675</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Exclude lib and non-main sections as tasksel does (Closes: #758218).</title>
<updated>2014-08-27T21:03:39+00:00</updated>
<author>
<name>Ben Armstrong</name>
<email>synrg@debian.org</email>
</author>
<published>2014-08-15T12:51:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=5fc57865a4124c4432333cb73468ac2494e91d75'/>
<id>urn:sha1:5fc57865a4124c4432333cb73468ac2494e91d75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updating copyright notices for 2014.</title>
<updated>2014-02-08T16:47:24+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>mail@daniel-baumann.ch</email>
</author>
<published>2014-02-08T16:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=eb336bb782632bea33dac6a8c93bca177de51a33'/>
<id>urn:sha1:eb336bb782632bea33dac6a8c93bca177de51a33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removing all references to my old email address.</title>
<updated>2013-05-06T12:50:06+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>mail@daniel-baumann.ch</email>
</author>
<published>2013-03-10T18:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=59ce459f402c42630eb70830c59a3a7d8b2e91a9'/>
<id>urn:sha1:59ce459f402c42630eb70830c59a3a7d8b2e91a9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updating year in all copyright notices.</title>
<updated>2013-05-06T12:50:03+00:00</updated>
<author>
<name>Daniel Baumann</name>
<email>daniel@debian.org</email>
</author>
<published>2012-12-31T23:12:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=62d94a445479bdccad50f919f4c68ef327b2c40b'/>
<id>urn:sha1:62d94a445479bdccad50f919f4c68ef327b2c40b</id>
<content type='text'>
</content>
</entry>
</feed>
