summaryrefslogtreecommitdiff
path: root/scripts/build/binary_syslinux
AgeCommit message (Collapse)Author
2020-03-11amend copyright & licensing blocksLyndon Brown
Current versions of the project files are built upon versions published and licensed by Daniel Baumann, but are modified copies of those files and thus need to be marked as such per licensing requirements (afaik he did not pass along ownership / licensing rights to anyone when he left the project). We should also be careful to not be misrepresenting such modified copies as being attributed to Daniel. Adding a new copyright line referring to "The Debian Live team" should suffice for this. The authorship block in man pages has also similarly been updated. Notes: - tweaked a copy of daniel copyright lines stating 2014 instead of 2015. both of these cases were in files that i had personally introduced in some of my past merged commits that moved some code around. i don't know why they stated 2014. - binary_onie was introduced in 2018, so that has a 2018 date instead of 2016 unlike the rest. - 'efi-image' is a 3rd-party (Canonical Ltd) work that we bundle, but it has been modified by 674794a8f4d61a729d2dbd6d99385d2826138694 and 36a3ba76347ef72df1c316312ed3a26aa4b0c816 so I similarly added a debian live copyright line. - 'grub-cpmodules' is similar. it was only changed by the indentation fix of 36a3ba76347ef72df1c316312ed3a26aa4b0c816 but modification is modification, and this does help cover any possible future changes that might be made.
2020-03-10help/usage: remove pointless varsLyndon Brown
build scripts never call Help() and so the empty HELP strings are pointless. (when called with --help they call Man()). Closes: #952859 Gbp-Dch: Short
2020-03-10tidy script init (1/4) - arg and config processingjnqnfe
Partial fix for #952919 Gbp-Dch: Short
2020-03-05cache: clarify and simplify package cache save/restorejnqnfe
These functions are specific to handling packages stored in the cache, not other files. They are also always used with the same `cache/packages.` prefix to the path. Gbp-Dch: Short Closes: #952916
2020-03-05help/usage: fix overly complex script description handlingjnqnfe
Closes: #952887
2020-03-05bootloaders: fix ignoring LB_DEBIAN_INSTALLER_GUI in menu creationLyndon Brown
LB_DEBIAN_INSTALLER_GUI defines whether or not to provide the graphical installer. the installer_debian-installer script pays attention to it and does not download it if not wanted. the actual bootloaders however (both grub2/loopback and syslinux) ignore it, which leaves broken and unwanted menu entries. this fixes that. Gbp-Dch: Short Closes: #952890
2020-03-05fix indentationLyndon Brown
including: - spaces replaced with tabs for consistency - alignment of `;;` in some case statements changed for consistency Gbp-Dch: Short Closes: #952857
2020-02-17binary_syslinux: Acommodate LB_INITRAMFS not live-bootDavid Hewitt
2019-12-19Support --distribution-binary and --distribution-chrootRaphaël Hertzog
This makes it possible to build an image against a first distribution (--distribution-chroot) and have the resulting image point to another distribution (--distribution-binary). We can use this to build against a snapshot and have the result use the original distribution that was snapshotted. Closes: #888507
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