Commit Graph

403 Commits

Author SHA1 Message Date
Roland Clobus c8fddcd702
Manpage: Added documentation for --firmware-binary and --firmware-chroot 2019-06-16 12:47:29 +02:00
Roland Clobus 554c37fd9e
Manpage: --parent-archive-areas uses the same argument name as 'lb config --help' 2019-06-16 12:47:29 +02:00
Roland Clobus 7c02640b62
Manpage: --mode explicitly supports debian and progress-linux. Special handling for ubuntu was dropped 2015-05-03 2019-06-16 12:47:29 +02:00
Roland Clobus 05ed83a2b6
Manpage: Added documentation for --hdd-label, --hdd-size and --hdd-partition-start 2019-06-16 12:47:28 +02:00
Roland Clobus 6c6151d0c9
Manpage: Added documentation for --image-name 2019-06-16 12:47:28 +02:00
Roland Clobus c54aa22bf6
Manpage: Added documentation for --initsystem 2019-06-16 12:47:28 +02:00
Roland Clobus ab8c09eca1
--initramfs support none and live-boot 2019-06-16 12:47:28 +02:00
Roland Clobus e9af6d559f
Manpage: Removed references to command line options that are no longer
in the code:
--firmware-binary
--firmware-chroot
--hooks
--parent-mirror-chroot-updates
--parent-mirror-chroot-backports
--parent-mirror-binary-updates
--parent-mirror-binary-backports
--mirror-chroot-updates
--mirror-chroot-backports
--mirror-binary-updates
--mirror-binary-backports
--templates
2019-06-16 12:47:28 +02:00
Roland Clobus f8f09c77c7
Manpage: Added documentation for --zsync 2019-06-16 12:47:28 +02:00
Roland Clobus ae5a77aedb
Manpage: --config synchronised to 'lb config --help' 2019-06-16 12:47:28 +02:00
Roland Clobus 9a4c334a55
Manpage: --compression also accepts xz. The default is none 2019-06-16 12:47:27 +02:00
Roland Clobus 75733ac554
Manpage: Added documentation for --breakpoints 2019-06-16 12:47:12 +02:00
Roland Clobus 45e45a8a22
Matched the documentation of --checksums to the implementation in live-boot 2019-06-16 12:44:13 +02:00
Roland Clobus d9961a8a54
Manpage: --binary-filesystem also accepts ntfs 2019-06-04 08:04:42 +02:00
Roland Clobus c166c87497 Removed option none for --apt-indices, which was removed in 3.0.2-1. 2019-06-03 10:48:58 +00:00
Roland Clobus c4abbbcc7e Reenabled the command line option for colored messages for lb_config. The functionality was added 2008-11-01, but was not really active. 2019-06-03 10:48:58 +00:00
Roland Clobus c035b3f106
Updated URL in the LB_ISO_PUBLISHER field. 2019-04-17 21:29:34 +02:00
Roland Clobus f460533ca1
Updated URL in the LB_ISO_PREPARER field. 2019-04-17 21:27:04 +02:00
Roland Clobus 4503eddbed
Updated URL to the manual. 2019-04-17 21:03:23 +02:00
Roland Clobus d8eb2d4d1b
Updated homepage URL. 2019-04-17 21:00:02 +02:00
Matthijs Kooijman 3227d34966 Remove --templates from lb_config manpage
This option was removed in commit 7e633e77f (Moving grub and grub2
templates into shared bootloader config directory.), but the
documentation stayed around.
2019-04-16 17:25:12 +02:00
Adrian Gibanel Lopez 80aa5ab611 Fixed foreign architecture package support to linux kernel flavours
Before Stretch there was an special amd64 kernel in the i386 arch repo.
So if you wanted to install an amd64 kernel alongside an i386 system
you did not need an additional arch repo.

Debian added multiarch support. That way you can install library packages
from multiple architectures on the same machine.

So there is no longer a need for having an amd64 kernel in i386 arch repo.
You can add an amd64 arch repo to an i386 arch system and fetch the amd64
kernel from the am64 arch repo.

live-build can be setup to use several linux kernel flavours in a single
image.

So in the days previous to this patch you could issue:
lb config --linux-flavours "486 amd64"
to use both 486 and amd64 kernel flavours.

Adding additional arch support to linux flavours poses two problems:

* Packages need to have its arch suffix (e.g. amd64:amd64).
If the suffix is not there apt-get insists on search amd64 kernel
package on i386 arch repo and, of course, fails to find it.

* The rest of the code which handles labels (bootloader config files)
or installed filenames (kernel images themselves) do not use the arch suffix.

This patch adds foreign architecture package support to
linux kernel flavours having taken those problems into account.

Practical example usage: i386 system and extra amd64 kernel.

First add amd64 foreign architecture in your i386 system
thanks to:

dpkg --add-architecture amd64
apt-get update

.

Finally enable amd64 kernel from amd64 arch alongside the
i386 system's 686 kernel thanks to:

lb config --architectures i386 --linux-flavours "686 amd64:amd64"
2019-03-14 23:06:31 +01:00
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
Luca Boccassi 035518ff69 UEFI: add support for Secure Boot on amd64 and arm64
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
2018-03-09 20:57:54 +00:00
Raphaël Hertzog 37840d9cb2 Fix version strings in manual pages 2017-08-29 15:07:32 +02:00
Raphaël Hertzog c5a334deb8 Update PREPARER data for consistency 2017-08-29 15:06:35 +02:00
Raphaël Hertzog 3f909bf486 Drop all references to live-systems.org and update copyright file
Also fix the version string in the manual pages.

Closes: #859290
2017-08-29 14:12:33 +02:00
Raphaël Hertzog 10a5580c3a Fix english mistakes in lb_config(1) 2016-12-16 10:03:45 +01:00
Raphaël Hertzog 75aa6dec5b Minor updates to lb_config and its manual page
* Update the manual page with the missiong --bootappend-live-failsafe
  option.
* Keep supporting the former --bootloader (without s).
2016-12-16 10:00:36 +01:00
Raphaël Hertzog 53eab12a24 Fix lintian warning about bad whatis entry 2016-11-28 23:23:24 +01:00
Raphaël Hertzog d8ca2041ad Get rid of useless bootstrap_archive-keys script
Closes: #773775
2016-11-28 21:36:57 +01:00
Raphaël Hertzog 6c6f34d92d Manual pages updates
Thanks to jnqnfe for the patch.

Closes: #774730
2016-11-28 20:58:19 +01:00
Raphaël Hertzog 164f23368e Support “lb config --debootstrap-script <script>”
This option lets you use an alternate bootstrap script when running
debootstrap. Thanks to Sjoerd Simons <sjoerd@debian.org> for the initial
patch.

Closes: #790033
2016-11-28 20:58:19 +01:00
Adrian Gibanel Lopez 7becd08e4d Added EFI support by the means of grub-efi
This work is based on debian-cd team work and uses,
as much as possible, the same mkisofs options
than the Debian Installation CD disk does.

It assumes that /boot/grub/grub.cfg (and other design items)
is generated by: binary_loopback_cfg .

It relies on efi-image and grub-cpmodules being setup
as build scripts on live-build package.
In the future event of these two files being moved
to a binary package (they are originally from:
src: live-installer) the binary_grub-efi script would have
to be rewritten to take the new paths into account.
2016-07-31 15:09:13 +02:00
Ben Armstrong 1f8975cc60 Remove 586 flavour for i386 architecture. (Closes: #807972) 2015-12-15 14:01:29 +00:00
trebmuh 89040368a8 [l10n] Update French translation for manpages. 2015-12-15 14:00:26 +00:00
Daniel Baumann 4789428101
Releasing debian version 5.0~a11-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-08-23 10:58:02 +02:00
Daniel Baumann 44ab759038
Releasing debian version 5.0~a10-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-08-10 19:36:25 +02:00
Daniel Baumann 06fb96a10c
Releasing debian version 5.0~a9-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-06-06 06:40:39 +02:00
Daniel Baumann 3c303e7f53
Releasing debian version 5.0~a8-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-05-19 06:27:05 +02:00
Daniel Baumann 66d8b61303
Releasing debian version 5.0~a7-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-05-14 13:16:48 +02:00
Daniel Baumann 9280926b11 Switching from http.debian.net to httpredir.debian.org as default binary mirror. 2015-05-10 19:10:28 +02:00
Daniel Baumann ffb463f775
Releasing debian version 5.0~a6-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-05-04 20:04:23 +02:00
Daniel Baumann 7f6b1d71f8
Releasing debian version 5.0~a5-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-04-28 07:58:18 +02:00
Daniel Baumann 9c51918b3b
Releasing debian version 5.0~a4-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-04-26 20:21:09 +02:00
Daniel Baumann ba53a1f948
Releasing debian version 5.0~a3-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2015-02-07 06:57:48 +01:00
Daniel Baumann e51315ae1e Switching to default to linux-image-586 on i386. 2015-01-26 06:30:49 +01:00
Daniel Baumann 242aef5d83 Updating year in copyright notices to 2015. 2015-01-04 20:05:44 +01:00
Daniel Baumann b814f4e07e Dropping cdebootstrap support (Closes: #773657).
debootstrap is the official tool to bootstrap debian,
cdebootstrap has had the one or other bug making it
broken for times during the release cycles.

The extra effort of supporting both debootstrap
and cdebootstrap is hardly worth it since the bootstrap
stage is cached anyway.
2014-12-23 22:54:41 +01:00
Daniel Baumann 2841d696c0
Releasing debian version 5.0~a1-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2014-12-10 08:39:45 +01:00
Daniel Baumann a767601f25
Releasing debian version 4.0.4-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2014-12-10 08:24:49 +01:00
jnqnfe ef9b1e8487 Fix missing grub2 option in bootloader selection (Closes: #772671). 2014-12-10 07:51:50 +01:00
Daniel Baumann a157fbb361
Releasing debian version 4.0.3-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2014-10-25 14:39:17 +02:00
Daniel Baumann afef2c271e
Releasing debian version 4.0.2-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2014-09-12 13:42:57 +02:00
victory c736a9743d Fix typos in lb_config.1. 2014-09-09 21:00:49 +02:00
Daniel Baumann b1ce772ab7
Releasing debian version 4.0.1-1.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
2014-08-28 23:26:04 +02:00
Daniel Baumann c1d85328f8 Restoring old manpages since we're back to the non-python implementation (Closes: #745134). 2014-08-28 01:01:31 +02:00
Daniel Baumann 5c16b340e5 Releasing debian version 4.0~alpha39-1. 2014-07-24 05:06:08 +02:00
Daniel Baumann 802741f84a Releasing debian version 4.0~alpha38-1. 2014-06-25 21:08:54 +02:00
Daniel Baumann 9cbb6865c1 Releasing debian version 4.0~alpha37-1. 2014-05-07 07:01:54 +02:00
Daniel Baumann 4b5d831313 Releasing debian version 4.0~alpha36-1. 2014-04-28 19:51:41 +02:00
Daniel Baumann eca7aca936 Releasing debian version 4.0~alpha34-1. 2014-04-26 08:05:32 +02:00
Daniel Baumann 145418141e Releasing debian version 4.0~alpha33-1. 2014-03-31 21:48:33 +02:00
Daniel Baumann a816109ad7 Releasing debian version 4.0~alpha32-1. 2014-03-02 06:24:45 +01:00
Daniel Baumann eb336bb782 Updating copyright notices for 2014. 2014-02-08 17:47:24 +01:00
Daniel Baumann fde942d3bd Releasing debian version 4.0~alpha31-1. 2014-01-07 21:16:23 +01:00
Daniel Baumann 30d2c54194 Pre-emptively removing occurances of the short name of the Debian derivative from Canonical that cannot be named. 2013-11-10 09:33:47 +01:00
chals 5b87f05ab9 Updating dates in manpages. 2013-11-06 09:10:53 +01:00
chals 7a6a9cd732 Fixing typo in lb-binary-hooks.1 manpage. 2013-11-05 19:24:09 +01:00
Daniel Baumann 8245c7d0fc Adding --distribution to lb-init. 2013-11-05 12:20:17 +01:00
Daniel Baumann 3a3a4bbfc9 Adding lb-init manpage. 2013-11-05 12:20:16 +01:00
Daniel Baumann 2e77f83d83 Releasing debian version 4.0~alpha30-1. 2013-11-04 19:10:13 +01:00
Daniel Baumann 6254718202 Adding lb-bootstrap-includes manpage. 2013-11-04 19:04:49 +01:00
Daniel Baumann 3dbe0430d9 Adding lb-source-includes manpage. 2013-11-04 18:55:15 +01:00
Daniel Baumann 3ad37ba9f8 Adding lb-binary-includes manpage. 2013-11-04 18:41:36 +01:00
Daniel Baumann 6115270556 Adding lb-chroot-includes manpage. 2013-11-04 18:25:13 +01:00
Daniel Baumann 9e3863aa8f Switching to later submodule naming scheme for python stubs. 2013-11-04 17:10:22 +01:00
Daniel Baumann f3fe376f61 Removing wrong reference to config/build in lb_*_hooks manpages. 2013-11-04 16:42:40 +01:00
Daniel Baumann 600e715703 Correcting spelling typo in manpages (s/hoooks/hooks/). 2013-11-04 12:45:10 +01:00
Daniel Baumann ef20722290 Harmonizing options markup in manpages. 2013-11-04 12:42:28 +01:00
Daniel Baumann 35dbb107d0 Adding program specification to lb_bootstrap_hooks manpage. 2013-11-04 12:37:33 +01:00
Daniel Baumann e5c72654ec Adding program specification to lb_chroot_hooks manpage. 2013-11-04 12:33:12 +01:00
Daniel Baumann f5b825ee3c Adding program specification to lb_source_hooks manpage. 2013-11-04 12:26:39 +01:00
Daniel Baumann e00df1684b Adding program specification to lb_binary_hooks manpage. 2013-11-04 12:21:32 +01:00
Daniel Baumann 55e32d6c06 Releasing debian version 4.0~alpha29-1. 2013-11-04 07:40:05 +01:00
Daniel Baumann afafe4628c Adding see also entries in hooks manpages. 2013-11-04 06:57:57 +01:00
Daniel Baumann 3077d77a56 Adding lb_source_hooks manpage. 2013-11-04 06:47:04 +01:00
Daniel Baumann d042538e28 Adding lb_binary_hooks manpage. 2013-11-04 06:42:19 +01:00
Daniel Baumann 12a20871ed Adding lb_chroot_hooks manpage. 2013-11-03 21:01:43 +01:00
Daniel Baumann 8295826a6b Adding lb_bootstrap_hooks manpage. 2013-11-03 20:51:13 +01:00
Daniel Baumann c9cd3af6ec Making various things in bootstrap manpages more consistent. 2013-11-03 19:48:37 +01:00
Daniel Baumann 9ef33d083b Releasing debian version 4.0~alpha28-1. 2013-10-28 08:36:09 +01:00
Daniel Baumann be1dfb1b0b Releasing debian version 4.0~alpha27-1. 2013-10-18 09:49:35 +02:00
Daniel Baumann d07cb888ee Updating German manpage translations. 2013-10-17 11:18:55 +02:00
Daniel Baumann 1a6303611b Releasing debian version 4.0~alpha26-1. 2013-09-19 09:10:20 +02:00
Daniel Baumann 3b332c3788 Releasing debian version 4.0~alpha25-1. 2013-09-18 10:27:15 +02:00
Daniel Baumann f880117b97 Releasing debian version 4.0~a24-1. 2013-09-06 20:05:53 +02:00
Daniel Baumann 0293f5d14c Releasing debian version 4.0~a23-1. 2013-09-06 18:30:20 +02:00
Daniel Baumann 7ca77d248b Releasing debian version 4.0~a22-1. 2013-09-05 17:31:39 +02:00
Daniel Baumann 89cf1cf609 Releasing debian version 4.0~a21-1. 2013-08-07 20:06:47 +02:00