<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/functions, branch 1.3.4</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=1.3.4</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=1.3.4'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2021-08-09T14:24:21+00:00</updated>
<entry>
<title>add items for grub setup and enable persistence</title>
<updated>2021-08-09T14:24:21+00:00</updated>
<author>
<name>Kim Hagen</name>
<email>kim@sentrium.io</email>
</author>
<published>2021-08-09T14:24:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=301cd5b991caded9c84d1ce4bb214ac720ba5796'/>
<id>urn:sha1:301cd5b991caded9c84d1ce4bb214ac720ba5796</id>
<content type='text'>
</content>
</entry>
<entry>
<title>create loop partitions with mknod instead of bind mounting /dev</title>
<updated>2021-07-29T20:42:06+00:00</updated>
<author>
<name>Kim Hagen</name>
<email>kim@sentrium.io</email>
</author>
<published>2021-07-29T20:42:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=f81f65598555f88f1b0535807da7418e5326be67'/>
<id>urn:sha1:f81f65598555f88f1b0535807da7418e5326be67</id>
<content type='text'>
</content>
</entry>
<entry>
<title>use deb.debian.org as default</title>
<updated>2018-10-13T03:39:42+00:00</updated>
<author>
<name>Hideki Yamane</name>
<email>henrich@debian.org</email>
</author>
<published>2018-10-08T08:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=2fa258cca25d834f7896b7adc64892dc583010bf'/>
<id>urn:sha1:2fa258cca25d834f7896b7adc64892dc583010bf</id>
<content type='text'>
replace deprecated httpredir.debian.org to deb.debian.org and use
it as default mirror since it is appropriate for users
</content>
</entry>
<entry>
<title>Print an error and exit if a host package (dependency) is missing.</title>
<updated>2018-04-05T15:24:36+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>bluca@debian.org</email>
</author>
<published>2018-04-04T19:26:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=08dd0b90dbe87411fb0657c940926c85730ac3e7'/>
<id>urn:sha1:08dd0b90dbe87411fb0657c940926c85730ac3e7</id>
<content type='text'>
Check_package will just add a missing dependency to the LB_PACKAGES
todo list if it doesn't find it, when build-with-chroot is true, even if
the check was not for the chroot.
Instead error out if the check is not done for the chroot, e.g.
Check_package host /bin/foo foo
</content>
</entry>
<entry>
<title>Add options to build ONIE images</title>
<updated>2018-03-22T16:14:01+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>bluca@debian.org</email>
</author>
<published>2018-03-16T19:30:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=46c95969265fff53173a06419db46133c12f42ae'/>
<id>urn:sha1:46c95969265fff53173a06419db46133c12f42ae</id>
<content type='text'>
Open Network Install Environment is an open image format used by
networking vendor to ship a standardised image for networking white
box switches.

ONIE hardware takes this image at boot and a script to chain load
into the final environment via kexec. We can support Debian and
derivatives on such systems by packing an ISO which then gets
unpacked, kexec'ed and live-booted.

A base ONIE system can be tested in QEMU by building a VM following
these instrunctions:

https://github.com/opencomputeproject/onie/blob/master/machine/kvm_x86_64/INSTALL

Once built, boot onie-recovery-x86_64-kvm_x86_64-r0.iso in QEMU/libvirt
and on the console there will be the terminal prompt. Check the IP
assigned by libvirt and then scp the live image (ssh access is enabled
as root without password...). Then the .bin can be booted with:
 ONIE-RECOVERY:/ # onie-nos-install /tmp/live.hybrid.iso-ONIE.bin

The implementation is inspired by ONIE's own scripts that can be found
at:
https://github.com/opencomputeproject/onie/blob/master/contrib/debian-iso/cook-bits.sh

A new option, --onie (false by default) can be set to true to enable
building this new format in addition to an ISO.
An additional option, --onie-kernel-cmdline can be used to specify
additional options that the ONIE system should use when kexec'ing the
final image.
Note that only iso or hybrid-iso formats are supported.

For more information about the ONIE ecosystem see:
http://onie.org

Signed-off-by: Erik Ziegenbalg &lt;eziegenb@Brocade.com&gt;
Signed-off-by: Luca Boccassi &lt;bluca@debian.org&gt;
</content>
</entry>
<entry>
<title>UEFI: add support for Secure Boot on amd64 and arm64</title>
<updated>2018-03-09T20:57:54+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>bluca@debian.org</email>
</author>
<published>2018-02-27T19:28:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=035518ff69a97fa5d3fa432e13c9593a9f459a4e'/>
<id>urn:sha1:035518ff69a97fa5d3fa432e13c9593a9f459a4e</id>
<content type='text'>
Support for UEFI Secure Boot is modelled after how it currently works
in Ubuntu and on how it is going to work on Debian.
A minimal bootloader, shim, is used as the first-stage and it then
loads grub. Both have to be signed.
shim-signed is already available in Debian so the filenames are
already established, and the grub2 repository and packaging is common
between the 2 distros so we can already be reasonably sure of what it
is going to be.
So if both are available, copy /usr/lib/shim/shim[x64|aa64].efi.signed
as boot[x64|aa64].efi so that UEFI loads it first, and copy
/usr/lib/grub/[x86_64|arm64]-efi-signed/grub[x64|aa64].efi.signed as
grub[x64|aa64].efi.
This grub2 EFI monolithic image is currently hard-coded in grub2's
repository to look for a config file in efi/debian, so make a copy
of the previously added minimal grub.cfg that loads the real one in
that directory in both the fat32 and ISO 9660 partitions.

The new option --uefi-secure-boot can be set to auto (default,
enable or disable.
In auto, the lack of the signed EFI binaries is intentionally left as a
soft failure - live-build will simply fallback to using the locally
generated non-signed grub2 monolithic EFI binary as the only
bootloader. Given the difficulties surrounding the Secure Boot
signing infrastructure this approach gives the most flexibility and
makes sure things will "just work" once the packages are available,
without the need to change anything in the configuration.
This will also greatly help downstream distributions and users who
want to do self-signing.
The enable or disable options work as expected.

Closes: #821084
</content>
</entry>
<entry>
<title>Replace "kirkwood" and "orion5x" armel flavors with the new "marvell" one</title>
<updated>2017-09-18T16:00:20+00:00</updated>
<author>
<name>Raphaël Hertzog</name>
<email>hertzog@debian.org</email>
</author>
<published>2017-09-18T16:00:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=2f54fcf3d70ebaab4848358d99f8e347874a72a4'/>
<id>urn:sha1:2f54fcf3d70ebaab4848358d99f8e347874a72a4</id>
<content type='text'>
As done by the linux source package since its version 4.4.
</content>
</entry>
<entry>
<title>Error out when needed packages are missing on the host</title>
<updated>2017-09-01T08:22:02+00:00</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2017-08-28T13:14:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=5ca1ded228e6ed7c069a95842d1dff96f22248b7'/>
<id>urn:sha1:5ca1ded228e6ed7c069a95842d1dff96f22248b7</id>
<content type='text'>
Previously, Check_package would only show an error when host packages
are missing on a non-apt system. On apt system, the packages would be
added to _LB_PACKAGES, which causes them to be installed in the chroot,
not in the host (or not at all if Install_package is not called). This
behaviour could break the build.

This applies to either packages that must be present in the host (as
checked with `Check_package host ...`), as well as packages that can be
either in the chroot or host (as checked with `Check_package chroot`)
when LB_BUILD_WITH_CHROOT=false.
</content>
</entry>
<entry>
<title>Pass --partscan to losetup</title>
<updated>2017-09-01T08:07:00+00:00</updated>
<author>
<name>Matthijs Kooijman</name>
<email>matthijs@stdin.nl</email>
</author>
<published>2017-08-29T13:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=4c229d9449ab5605940bdee28e89166132b1d7e1'/>
<id>urn:sha1:4c229d9449ab5605940bdee28e89166132b1d7e1</id>
<content type='text'>
Recent versions of Linux, parted or some other bit of software cause
partition devices, like /dev/loop0p1 to be created when running parted
mkpart. However, these devices are not cleaned up when running
losetup -d to remove /dev/loop0 later, so they linger around and confuse
mkfs (which refuses to make a filesystem, thinking there are partitions):

	mkfs.fat 4.1 (2017-01-24)
	mkfs.vfat: Partitions or virtual mappings on device '/dev/loop0', not making filesystem (use -I to override)

To prevent this behaviour, pass --partscan to losetup when adding a new
partition, to clean up any lingering partitions. It seems losetup does not
accept --partscan when deleting a loop device, to clean up at that point, but
since binary_hdd mounts the partition last, there should not be any lingering
partition devices after live-build is done.

The --partscan option is available since util-linux 2.21 (released in 2012), so
it should be fairly safe to pass it unconditionally.
</content>
</entry>
<entry>
<title>Update PREPARER data for consistency</title>
<updated>2017-08-29T13:06:35+00:00</updated>
<author>
<name>Raphaël Hertzog</name>
<email>hertzog@debian.org</email>
</author>
<published>2017-08-29T13:06:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=c5a334deb8394a7474e4515ae4c2f086329ef180'/>
<id>urn:sha1:c5a334deb8394a7474e4515ae4c2f086329ef180</id>
<content type='text'>
</content>
</entry>
</feed>
