summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
AgeCommit message (Collapse)Author
2017-02-13Drop the versatile kernel flavour on armel. It's no longer built since Linux ↵Raphaël Hertzog
4.9.
2016-12-02Drop check on configuration versionRaphaël Hertzog
The date based versioning scheme no longer allows such a check. And we don't intend to break backwards compatibility for now.
2016-12-02Default for LB_UNION_FILESYSTEM is now "overlay" just like in live-boot.Raphaël Hertzog
2016-07-31Make: syslinux,grub-efi the default bootloaders becauseAdrian Gibanel Lopez
UEFI is getting widely adopted but BIOS support is still needed.
2016-07-31defaults.sh LB_BOOTLOADER updated to be: LB_BOOTLOADERS in incompatible warningAdrian Gibanel Lopez
2016-07-31Added new multi bootloader helper functionsAdrian Gibanel Lopez
* 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-31functions/default.sh : Define LB_PRIMARY_BOOTLOADER at the Set_defaults ↵Adrian Gibanel Lopez
function which it's the right place where to do it
2016-01-05Drop ixp4xx from available armel flavorsRaphaël Hertzog
It's gone from Debian unstable/testing since Linux 3.17. Sponsored-By: Offensive Security
2015-12-15Remove 586 flavour for i386 architecture. (Closes: #807972)Ben Armstrong
2015-08-29Multi bootloader supportAdrian Gibanel Lopez
Note: OLDIFS use makes IFS to be reset to "" instead to it being unset. Either we need to detect if old IFS was unset to unset it or we need a proper way of setting it as a local variable. Even more IFS it's not currently used in Check_package (which it's called from: binary_hdd). we should have a clean way of resetting/unsetting IFS when calling Check_package. The other approach it's to explicitly define IFS with its default value in the places inside live-build code where we implicitly suppose that it's going to have its default value.
2015-05-10Switching from http.debian.net to httpredir.debian.org as default binary mirror.Daniel Baumann
2015-05-03Dropping automagics for ubuntu.Daniel Baumann
Future live-build versions will still allow to use casper, but its configuration will be done differently by a custom config tree, rather than embedded and maintenance intensive code in live-build itself.
2015-05-03Dropping automagics for casper.Daniel Baumann
Future live-build versions will still allow to use casper, but its configuration will be done differently by hooks in the config tree, rather than embedded and maintenance intensive code in live-build itself.
2015-04-29Moving grub and grub2 templates into shared bootloader config directory.Daniel Baumann
2015-04-28Setting progress-linux default distribution to cairon.Daniel Baumann
2015-04-28Setting debian default distribution to stretch.Daniel Baumann
2015-02-04Adding linux flavours for arm64/armhf architectures.Fathi Boudra
Signed-off-by: Fathi Boudra <fabo@debian.org>
2015-01-26Switching to default to linux-image-586 on i386.Daniel Baumann
2015-01-25Enabling security and release updates for jessie.Daniel Baumann
2015-01-04Updating year in copyright notices to 2015.Daniel Baumann
2015-01-04Dropping some sparc leftovers (Closes: #774196).Daniel Baumann
2014-12-23Dropping cdebootstrap support (Closes: #773657).Daniel Baumann
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-10Cleaning up from python removal (LIVE_IMAGE_PARENT_ARCHIVE_AREAS).Daniel Baumann
2014-12-10Updating misc settings for progress-linux.Daniel Baumann
2014-12-10Address "should check that we're building on debian through e.g. a ↵jnqnfe
'derivative-is-based-on' variable or somesuch" fixme.
2014-12-10Dropping support for wheezy.Daniel Baumann
2014-12-10Somewhat fixing sysvinit and casper legacy support, slightly improved patch ↵Daniel Baumann
from Rui Miguel P. Bernardo <rui.bernardo.pt@gmail.com> (Closes: #772522, #772651). This however will still not work properly building upstart based images but they have been broken/unsupported anyway since a long time.
2014-12-10Cleaning up from python removal (LIVE_IMAGE_ARCHIVE_AREAS).Daniel Baumann
2014-12-10Cleaning up from python removal (LIVE_IMAGE_ARCHITECTURE).Daniel Baumann
2014-12-10Update linux flavours for armhf/armel.Raphaël Hertzog
With linux 3.16 in Debian Jessie, armmp and armmp-lpae are the only armhf flavours availale. On armel, we lost the support of the iop32x flavour.
2014-04-30Updating default boot parameters for live-config 4.x.Daniel Baumann
2014-04-27Add support for making ext[234] or btrfs hdd images bootable with extlinux ↵Simon McVittie
(Closes: #745816) extlinux configuration for the bootable image is installed to /boot/extlinux, matching the extlinux-install script in Debian. From the configuration point of view it's still called "syslinux", the same as the rest of the syslinux family (pxelinux, isolinux etc.)
2014-04-27Switching default debian release to jessie.Daniel Baumann
2014-02-08Updating copyright notices for 2014.Daniel Baumann
2013-11-03Automatically symlink hooks upon creation of the configuration tree.Daniel Baumann
2013-10-23Dropping incomplete and not really supported exposed root mode.Daniel Baumann
This might come back in future if there's demand for it and the base is sufficiently cleaned up first.
2013-10-15Replacing s390 with s390x in architecture specific defaults.Daniel Baumann
2013-09-06Updating initsystem default for progress-linux releases.Daniel Baumann
2013-06-19Adding hook to remove ssl-cert-snakeoil by default.Daniel Baumann
2013-05-06Adding hook to disable 70-persistent-cd.rules udev rule to prevent udev ↵Daniel Baumann
remember the cd device name both the one of the build system and the one of the live system (Closes: #706926).
2013-05-06Renaming remove-udev-persistent-rules.chroot hook to ↵Daniel Baumann
remove-udev-persistent-net-rules.chroot for future additional udev hooks.
2013-05-06Enabling release updates (formerly known as volatile) for wheezy.Daniel Baumann
2013-05-06Updating bootstrap mirror for progress-linux.Daniel Baumann
2013-05-06Dropping now unused intermediate config/image.Daniel Baumann
2013-05-06Using LB_HDD_SIZE to determine the size of the image.Michael Stummvoll
If LB_HDD_SIZE is "auto" the size will be determined automatically as before else it will be the given size in MB. Also setting the default for this to "auto"
2013-05-06Fixing missing quotes for tr commands to avoid unwanted expansions.Michael Stummvoll
[A-Z] and [a-z] expands if there is a file or directory with one letter in the directory.
2013-05-06Removing dedicated emdebian mode, this can entirely be handled with ↵Daniel Baumann
different defaults.
2013-05-06Renaming config/control to config/image.Daniel Baumann
2013-05-06Dropping dedicated updates (formerly volatile) mirror handling, not needed ↵Daniel Baumann
anymore.
2013-05-06Dropping dedicated backports mirror handling, not needed anymore with the ↵Daniel Baumann
move of backports.d.o into ftp.d.o.