summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
AgeCommit message (Collapse)Author
2017-09-01Check all dependencies independent of LB_BUILD_WITH_CHROOTMatthijs Kooijman
Since commit fdc9250bc (Changing package dependency checks within chroot to work outside as well), Check_package automatically checks for LB_BUILD_WITH_CHROOT and works inside as well as outside of the chroot, so no need to check LB_BUILD_WITH_CHROOT before calling them. Install_package and Remove_package are just a no-op when building without chroot, so they can also be called unconditionally. Restore_cache and Save_cache do not check LB_BUILD_WITH_CHROOT but it it should not hurt to call them when not needed (which already happened in some cases). This commit makes all Check_package calls unconditional on LB_BUILD_WITH_CHROOT. For binary_syslinux, this fixes the check (which used outdated paths outside the chroot since 7b6dfd9d1), for binary_grub-efi, binary_package-lists and chroot_package-lists this simplifies the code (but also causes the check to become package-based instead of file-based on apt-based systems), and for binary_loadlin and binary_win32-loader this adds the check outside the chroot which was previously missing.
2016-12-02Instead of renaming kernel for syslinux, create hardlinksRaphaël Hertzog
2016-12-02Use a grub theme that integrates reasonably well with the current background ↵Raphaël Hertzog
picture.
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-05-26Fix typo in binary_syslinuxKristian Klausen
Closes: #818916
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-08-10Getting rid of hard-coded release numbers and using /etc/os-release instead ↵Daniel Baumann
(Closes: #790860). Unfortunately VERSION_ID on testing/unstable is currently not included in /etc/os-release, see #795124.
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-01-04Updating year in copyright notices to 2015.Daniel Baumann
2015-01-04Changing package dependency checks within chroot to work outside as well.Daniel Baumann
2014-12-10Dropping support for wheezy.Daniel Baumann
2014-12-10Cleaning up from python removal (LIVE_IMAGE_ARCHITECTURE).Daniel Baumann
2014-12-10binary_syslinux: correct the path used to check if the bootloader is available.Raphaël Hertzog
The {iso,pxe,ext,sys}linux packages use /usr/lib/{ISO,PXE,EXT,SYS}LINUX/ directories and not /share/{ISO,PXE,EXT,SYS}LINUX/.
2014-07-24Adding second set of bootloader templates for wheezy.Daniel Baumann
2014-07-22Unconditionally replacing bootloader symlinks with syslinux 6 from jessie, ↵Daniel Baumann
this will break building wheezy images (so we have to come up with something better than that prior upload).
2014-07-22Enabling syslinux 6 support for jessie as well.Daniel Baumann
2014-06-13Enabling syslinux 6 support for sid.Daniel Baumann
2014-05-07Adding wheezy legacy handling for syslinux.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-25Only automatically do replacements within syslinux configs when they are not ↵Daniel Baumann
directories (as they can be in the pxelinux.cfg case), thanks to Antony Messerli <amesserl@rackspace.com> (Closes: #745760).
2014-02-21Only grab the latest version of kernel+initrd pair.Kiel Christofferson
2014-02-21Use LB_INITRAMFS case instead of assuming "live".Kiel Christofferson
2014-02-08Updating copyright notices for 2014.Daniel Baumann
2013-11-26Silencing copying of syslinux themes since users get always distracted about ↵Daniel Baumann
syslinux 6 files not being dereferenced (which can be totally ignored if you're using syslinux 4).
2013-10-28Updating rsvg calls in binary_syslinux for newer versions of librsvg2-bin, ↵Daniel Baumann
thanks to Roberto Carlos Morano <rcmorano@emergya.com> (Closes: #728030).
2013-09-18Removing unused description variable in syslinux configs.Daniel Baumann
2013-09-06Updating hardcoded defaults for syslinux splash descriptions for progress-linux.Daniel Baumann
2013-08-19Updating syslinux flavour detection for progress-linux.Daniel Baumann
2013-07-12Expanding all variables in all syslinux configuration files, rathern than on ↵Daniel Baumann
some selected ones only.
2013-05-13Sorting kernel versions in reverse order (newest first) in syslinux ↵Daniel Baumann
configurations in consistency with normal bootloader behaviours.
2013-05-06Changing how syslinux files are copied to make netboot images work properly.chals
2013-05-06Unifying append options in binary_syslinux when processing configuration files.Daniel Baumann
2013-05-06Replacing strings in all syslinux config files, not just certain hardcoded ones.Daniel Baumann
2013-05-06Correcting typo directory when dereferencing syslinux symlinks when building ↵Daniel Baumann
chrooted, thanks to Luigi Capriotti <l.capriotti@xbmc.org>.
2013-05-06Removing all references to my old email address.Daniel Baumann
2013-05-06Converting splash.svg not just splash.svg.in files as syslinux bootsplashes.Daniel Baumann
2013-05-06Dropping theme package support, themes are either in the config tree or the ↵Daniel Baumann
embedded one from live-build is used.
2013-05-06Updating binary_debian-installer for newer append replacement variables used ↵Daniel Baumann
in syslinux configs.
2013-05-06Updating syslinux configurations and handling for syslinux 5.Daniel Baumann
2013-05-06Updating year in all copyright notices.Daniel Baumann
2013-05-06Moving off binary image architecture into new config tree format.Daniel Baumann
2013-05-06Moving off binary image type into new config tree format.Daniel Baumann
2013-05-06Adding debian version 4.0~a1-1.debian/4.0_a1-1Daniel Baumann
2013-04-09Correcting typo directory when dereferencing syslinux symlinks when building ↵Daniel Baumann
chrooted, thanks to Luigi Capriotti <l.capriotti@xbmc.org>.
2013-02-09Converting splash.svg not just splash.svg.in files as syslinux bootsplashes.Daniel Baumann
2013-02-08Dropping theme package support, themes are either in the config tree or the ↵Daniel Baumann
embedded one from live-build is used.
2013-02-08Updating binary_debian-installer for newer append replacement variables used ↵Daniel Baumann
in syslinux configs.
2013-02-08Updating syslinux configurations and handling for syslinux 5.Daniel Baumann
2013-01-01Updating year in all copyright notices.Daniel Baumann
2012-11-30Using hash rather than pipe as sed separator for writing boot parameters ↵Daniel Baumann
into bootloader configurations (Closes: #694723).