Builder for live images based on Debian
Go to file
Luca Boccassi 46c9596926 Add options to build ONIE images
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 <eziegenb@Brocade.com>
Signed-off-by: Luca Boccassi <bluca@debian.org>
2018-03-22 16:14:01 +00:00
data/debian-cd Adding data symlink for stretch. 2015-05-03 16:03:40 +02:00
debian Add NEWS file to warn users about change of live-boot mount paths 2018-03-22 14:46:40 +00:00
examples Updating example gitignore file. 2015-04-29 08:11:39 +02:00
frontend Flattening frontend directory within the source tree. 2015-04-29 08:12:46 +02:00
functions Add options to build ONIE images 2018-03-22 16:14:01 +00:00
manpages Add options to build ONIE images 2018-03-22 16:14:01 +00:00
scripts Add options to build ONIE images 2018-03-22 16:14:01 +00:00
share Initialize /etc/default/locale with LANG=C.UTF-8 2017-08-29 12:26:33 +02:00
COPYING Switching to GPL3+. 2011-03-09 18:22:29 +01:00
Makefile Fix version of live-build that is displayed by lb --version 2016-12-02 15:23:20 +01:00