summaryrefslogtreecommitdiff
path: root/share
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-10hooks: run bin without explicit pathLyndon Brown
this got lost in reworking 7ee59d408ed7681908966a5b2fb28e8f98116d31 Gbp-Dch: Short
2020-03-09fix consistency in binary execution and existance checkingLyndon Brown
- prefer using `which` over hard coded paths - it is redundant to check that the bin pointed to the return of `which` exists and is executable, `which` already gives us assurance of that if it returns true! - the redirection of output (`2>/dev/null`) seems to be unnecessary from my testing. the instances relatnig to fdisk and losetup in functions/defaults.sh have been left as they are since they get executed by `lb config` which can run without sudo elevation unlike `lb build` and in that case `which` would fail to find these binaries resulting in error. this also fixes a bug showing an error for missing debootstrap - this tool requires sudo privileges to run and thus is not found via a none elevated which search. Gbp-Dch: Short Closes: #952927
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-01-23Standardize on having the GUI installation first in boot menusRaphaël Hertzog
debian-cd changed it that way, we already have it that way in EFI boot, let's be consistent.
2019-05-30Remove ldlinux.c32 for extlinux and syslinuxMatthijs Kooijman
Since syslinux 5.00, this file is installed into the disk root by the extlinux and syslinux installer commands. For pxelinux and isolinux, these files still need to be added manually. This is documented at: https://wiki.syslinux.org/wiki/index.php?title=Library_modules#All_Syslinux_variants_need_an_additional_ldlinux_module Keeping these unused files around is probably only confusing, so better to remove them.
2017-08-29Initialize /etc/default/locale with LANG=C.UTF-8Raphaël Hertzog
That way we always have a valid UTF-8 locale even when we don't have the "locales" (or "locales-all") package installed.
2017-06-09Add keyboard shortcut on the "Advanced options" syslinux menu entryRaphaël Hertzog
Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch. Closes: #864386
2016-12-14Cleanup binary_loopback_cfg and offer more freedom in overriding the default ↵Raphaël Hertzog
grub-pc configuration.
2016-12-02Clean up grub configuration codeRaphaël Hertzog
* Use only long kernel names. * Put advanced options in a submenu. * Use distro-agnostic labels. * Don't generate entries with kernel version when we have a single version.
2016-12-02Use a grub theme that integrates reasonably well with the current background ↵Raphaël Hertzog
picture.
2016-11-28Try to reuse /isolinux/splash.png in default grub configuration.Raphaël Hertzog
2016-01-08Add symlinks for libgpl.c32 and libmenu.c32Raphaël Hertzog
They are required for the "Hardware Detection Tool (HDT)" menu entry that live-build adds in the advanced menu. Sponsored-by: Offensive Security
2015-05-20Splitting non-live specific hooks into their own subdirectory within hooks.Daniel Baumann
2015-05-04Renaming grub helper to grub-legacy for consistency.Daniel Baumann
2015-05-04Renaming grub2 helper to grub-pc for later grub-efi addition.Daniel Baumann
2015-05-02Moving hooks to hooks/live, both in live-build sources and live-build configs.Daniel Baumann
Really soon live-build will support building non-live images out-of-the-box. Therefore moving hooks into a live specific subdirectory.
2015-05-02Adding hook to disable tmpfs on /tmp when using sysvinit, previously done by ↵Daniel Baumann
live-config.
2015-04-29Moving grub and grub2 templates into shared bootloader config directory.Daniel Baumann
2015-02-23Adding hook to create locales files.Daniel Baumann
2015-01-25Updating d-i bootparameter separator for jessie.Daniel Baumann
2015-01-04Updating year in copyright notices to 2015.Daniel Baumann
2014-12-10Dropping support for wheezy.Daniel Baumann
2014-11-10Adding hook to enable cryptsetup (Closes: #767195).Daniel Baumann
2014-09-10Dropping syslinux 6 symlinks from bootloader configs for wheezy.Daniel Baumann
In general there's no harm in having them as they are not used on syslinux 4 distributions, however, but it's cosmetically nicer and the path woudn't match anyway. But.. since it turned out that we need the second copy of bootloaders for wheezy anyway as wheezy and jessie are mutually exclusive regarding paths where syslinux files are located, there's no point in having them and confusing users with error messages from cp -aL when stuff can't be dereferenced (which is ok).
2014-08-27Exclude lib and non-main sections as tasksel does (Closes: #758218).Ben Armstrong
2014-08-22Correcting wrong target for /etc/mtab symlink in create-mtab-symlink hook, ↵Daniel Baumann
thanks to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>.
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-06-25If /etc/mtab exists as a file, replace it with a symlink (Closes: #746570).Simon McVittie
2014-05-01Adding hook to create /etc/mtab as a symlink to /proc/mtab if not already ↵Daniel Baumann
existing (Closes: #746570).
2014-04-28Truncate /etc/machine-id instead of deleting it.Simon McVittie
If /etc/machine-id exists but is empty, systemd will do tricks with bind-mounts to ensure that a valid transient UUID is bind-mounted over it, which is exactly what we want for a live system. If /etc/machine-id does not exist, systemd-journald will just fail, which is undesirable.
2014-04-26Adjusting splash.svg filename in embedded syslinux configurations to match ↵Daniel Baumann
code (Closes: #745020).
2014-02-08Updating copyright notices for 2014.Daniel Baumann
2013-11-03Updating configuration path in update-apt-file-cache.hook.chroot.Daniel Baumann
2013-11-03Updating file suffixes of the internal default hooks.Daniel Baumann
2013-09-18Removing unused description variable in syslinux configs.Daniel Baumann
2013-06-25Dropping global archive definitions shipped in ↵Daniel Baumann
/usr/share/live/build/archives (same as with packagelists, hidden archive 'magic' is gone now in favour of explicit config tree configuration).
2013-06-19Adding hook to remove ssl-cert-snakeoil by default.Daniel Baumann
2013-05-27Including memtest86+ in syslinux menu.Daniel Baumann
2013-05-06Renumbering hook scripts.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-06Debranding package for derivatives.Daniel Baumann
2013-05-06Removing all references to my old email address.Daniel Baumann
2013-05-06Removing superfluous menu default directive in installer syslinux menues.Daniel Baumann
2013-05-06Removing default menu marker for install entry in syslinux menu.Daniel Baumann
2013-05-06Adding key-shortcut for advanced options in syslinux menu.Daniel Baumann
2013-05-06Including HDT in advanced options menu within syslinux menu.Daniel Baumann
2013-05-06Correcting wrong debian-installer syslinux menu files.Daniel Baumann