<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-live-build.git/scripts/build/binary_onie, branch stretch-backports</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=stretch-backports</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-live-build.git/atom?h=stretch-backports'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/'/>
<updated>2018-04-05T15:24:36+00:00</updated>
<entry>
<title>ONIE: do not use package cache, only runs on host</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:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=050e637b2ceaa1f6735fd9f84b0f7f4676637a79'/>
<id>urn:sha1:050e637b2ceaa1f6735fd9f84b0f7f4676637a79</id>
<content type='text'>
Gbp-Dch: Ignore
</content>
</entry>
<entry>
<title>ONIE: missing dependency on file</title>
<updated>2018-04-04T18:57:49+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>bluca@debian.org</email>
</author>
<published>2018-04-04T18:57:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=e47652d8412d2ccb2d32c370096580b7019f7655'/>
<id>urn:sha1:e47652d8412d2ccb2d32c370096580b7019f7655</id>
<content type='text'>
A very minimal build worker might not have it, so check for its
presence as well.
</content>
</entry>
<entry>
<title>ONIE: Check_package in the host, not the chroot</title>
<updated>2018-04-04T18:56:41+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>bluca@debian.org</email>
</author>
<published>2018-04-04T18:56:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=2aff516e1f9713e1c7407f163bc0abc998951bca'/>
<id>urn:sha1:2aff516e1f9713e1c7407f163bc0abc998951bca</id>
<content type='text'>
The binary_onie script works on the host, not in the chroot (if used),
so don't check that the required packages for the script are installed
in the chroot (if present) as they won't be useful.
Check instead on the host.
</content>
</entry>
<entry>
<title>ONIE: detect initrd compression instead of hard-coding</title>
<updated>2018-03-23T20:01:58+00:00</updated>
<author>
<name>Luca Boccassi</name>
<email>bluca@debian.org</email>
</author>
<published>2018-03-23T18:08:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-live-build.git/commit/?id=c1948b4183099b37dbc4ebf6b5e16cb6fe885cef'/>
<id>urn:sha1:c1948b4183099b37dbc4ebf6b5e16cb6fe885cef</id>
<content type='text'>
Instead of hard-coding the decompression and compression formats,
detect them at runtime.
Install the required dependencies as well - they were mistakenly left
out.

Gbp-Dch: Ignore
</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>
</feed>
