Builder for live images based on Debian
Go to file
Adrian Gibanel Lopez 9d1a983cc8 Added new multi bootloader helper functions
* Added: functions/bootloaders.sh . This file adds bootloader functions that are heavily used in efi scenarios where a bootloader can act as a first or an extra bootloader.

Since the introduction of the new switch:

--bootloaders

you can setup it like this:

--bootloaders=syslinux,grub-efi

.

This means that syslinux is the first bootloader and grub-efi is the extra bootloader.

* Added new bootloader functions: Check_Non_First_Bootloader and Check_Non_Extra_Bootloader.

These functions let each one of the bootloaders abort the build because
they cannot perform a role either as a first bootloader or as an extra bootloader.

* Added bootloader functions: Check_First_Bootloader_Role, Check_Extra_Bootloader_Role and Check_Any_Bootloader_Role

These functions let bootloaders to force their default role in a single line.

At the same time many binary bootloaders were rewritten to make use of the new bootloader role functions explained above.

These roles were enforced:

binary_grub-legacy : First bootloader
binary_grub-pc : Either first or extra bootloader
binary_syslinux : Either first or extra bootloader

If a bootloader is tried to be used in a role that it's not meant to be used then the build fails because that might lead to a non-bootable system.
2016-07-31 15:08:11 +02:00
data/debian-cd Adding data symlink for stretch. 2015-05-03 16:03:40 +02:00
debian Add symlinks for libgpl.c32 and libmenu.c32 2016-01-08 09:18:35 +01: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 Added new multi bootloader helper functions 2016-07-31 15:08:11 +02:00
manpages Remove 586 flavour for i386 architecture. (Closes: #807972) 2015-12-15 14:01:29 +00:00
scripts Added new multi bootloader helper functions 2016-07-31 15:08:11 +02:00
share Add symlinks for libgpl.c32 and libmenu.c32 2016-01-08 09:18:35 +01:00
COPYING Switching to GPL3+. 2011-03-09 18:22:29 +01:00
Makefile Simplify hooks pattern in Makefile. 2015-08-10 19:20:23 +02:00
VERSION Releasing debian version 5.0~a11-1. 2015-08-23 10:58:02 +02:00