Commit Graph

129 Commits

Author SHA1 Message Date
Raphaël Hertzog 2127283494 Standardize on having the GUI installation first in boot menus
debian-cd changed it that way, we already have it that way in EFI
boot, let's be consistent.
2020-01-23 16:47:04 +01:00
Matthijs Kooijman f62a6f9dea Remove ldlinux.c32 for extlinux and syslinux
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.
2019-05-30 16:14:51 +02:00
Raphaël Hertzog 2fe6afe460 Initialize /etc/default/locale with LANG=C.UTF-8
That way we always have a valid UTF-8 locale even when we don't have
the "locales" (or "locales-all") package installed.
2017-08-29 12:26:33 +02:00
Raphaël Hertzog d18d0dfe2a Add keyboard shortcut on the "Advanced options" syslinux menu entry
Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch.

Closes: #864386
2017-06-09 13:41:13 +02:00
Raphaël Hertzog 50b6a29523 Cleanup binary_loopback_cfg and offer more freedom in overriding the default grub-pc configuration. 2016-12-14 12:33:07 +01:00
Raphaël Hertzog f7bb86fd58 Clean up grub configuration code
* 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-02 23:04:13 +01:00
Raphaël Hertzog fb0d4e2a18 Use a grub theme that integrates reasonably well with the current background picture. 2016-12-02 14:50:21 +01:00
Raphaël Hertzog 674794a8f4 Try to reuse /isolinux/splash.png in default grub configuration. 2016-11-28 20:58:18 +01:00
Raphaël Hertzog 1ccb416230 Add symlinks for libgpl.c32 and libmenu.c32
They are required for the "Hardware Detection Tool (HDT)" menu entry that
live-build adds in the advanced menu.

Sponsored-by: Offensive Security
2016-01-08 09:18:35 +01:00
Daniel Baumann 50794b1de1 Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
Daniel Baumann cf68abf417 Renaming grub helper to grub-legacy for consistency. 2015-05-04 20:36:20 +02:00
Daniel Baumann f93fa286d5 Renaming grub2 helper to grub-pc for later grub-efi addition. 2015-05-04 20:33:00 +02:00
Daniel Baumann d18cb12cc1 Moving hooks to hooks/live, both in live-build sources and live-build configs.
Really soon live-build will support building non-live images out-of-the-box.
Therefore moving hooks into a live specific subdirectory.
2015-05-02 15:42:00 +02:00
Daniel Baumann 1a5fda595f Adding hook to disable tmpfs on /tmp when using sysvinit, previously done by live-config. 2015-05-02 13:58:47 +02:00
Daniel Baumann 7e633e77f2 Moving grub and grub2 templates into shared bootloader config directory. 2015-04-29 07:52:56 +02:00
Daniel Baumann ca758f9cb4 Adding hook to create locales files. 2015-02-23 22:41:52 +01:00
Daniel Baumann ba6b9adeff Updating d-i bootparameter separator for jessie. 2015-01-25 10:02:34 +01:00
Daniel Baumann 242aef5d83 Updating year in copyright notices to 2015. 2015-01-04 20:05:44 +01:00
Daniel Baumann b5e99b5b14 Dropping support for wheezy. 2014-12-10 08:38:42 +01:00
Daniel Baumann ef03f67f81 Adding hook to enable cryptsetup (Closes: #767195). 2014-11-10 19:57:33 +01:00
Daniel Baumann a284af94db Dropping syslinux 6 symlinks from bootloader configs for wheezy.
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-09-10 20:44:15 +02:00
Ben Armstrong 5fc57865a4 Exclude lib and non-main sections as tasksel does (Closes: #758218). 2014-08-27 23:03:39 +02:00
Daniel Baumann 7312ca2d2d Correcting wrong target for /etc/mtab symlink in create-mtab-symlink hook, thanks to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>. 2014-08-22 17:11:30 +02:00
Daniel Baumann 2a829562c9 Adding second set of bootloader templates for wheezy. 2014-07-24 05:02:11 +02:00
Daniel Baumann dd47358700 Unconditionally replacing bootloader symlinks with syslinux 6 from jessie, this will break building wheezy images (so we have to come up with something better than that prior upload). 2014-07-22 20:26:06 +02:00
Simon McVittie 114a778b7a If /etc/mtab exists as a file, replace it with a symlink (Closes: #746570). 2014-06-25 20:52:08 +02:00
Daniel Baumann e84476a7e5 Adding hook to create /etc/mtab as a symlink to /proc/mtab if not already existing (Closes: #746570). 2014-05-01 17:40:11 +02:00
Simon McVittie eeb4680557 Truncate /etc/machine-id instead of deleting it.
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-28 19:45:52 +02:00
Daniel Baumann f78b2a7d25 Adjusting splash.svg filename in embedded syslinux configurations to match code (Closes: #745020). 2014-04-26 08:05:32 +02:00
Daniel Baumann eb336bb782 Updating copyright notices for 2014. 2014-02-08 17:47:24 +01:00
Daniel Baumann e9701039f7 Updating configuration path in update-apt-file-cache.hook.chroot. 2013-11-03 21:20:33 +01:00
Daniel Baumann 037066598a Updating file suffixes of the internal default hooks. 2013-11-03 21:17:13 +01:00
Daniel Baumann aa7939e085 Removing unused description variable in syslinux configs. 2013-09-18 11:43:49 +02:00
Daniel Baumann 613f8cfd6d Dropping global archive definitions shipped in /usr/share/live/build/archives (same as with packagelists, hidden archive 'magic' is gone now in favour of explicit config tree configuration). 2013-06-25 09:12:03 +02:00
Daniel Baumann 24cfdfc6a3 Adding hook to remove ssl-cert-snakeoil by default. 2013-06-19 08:01:03 +02:00
Daniel Baumann f35f4c6b1d Including memtest86+ in syslinux menu. 2013-05-27 17:07:05 +02:00
Daniel Baumann b82c1349f2 Renumbering hook scripts. 2013-05-06 20:08:10 +02:00
Daniel Baumann 01e91f9c21 Adding hook to disable 70-persistent-cd.rules udev rule to prevent udev remember the cd device name both the one of the build system and the one of the live system (Closes: #706926). 2013-05-06 20:07:09 +02:00
Daniel Baumann 45f1f9f0a0 Renaming remove-udev-persistent-rules.chroot hook to remove-udev-persistent-net-rules.chroot for future additional udev hooks. 2013-05-06 19:40:42 +02:00
Daniel Baumann c287072126 Debranding package for derivatives. 2013-05-06 14:50:07 +02:00
Daniel Baumann 59ce459f40 Removing all references to my old email address. 2013-05-06 14:50:06 +02:00
Daniel Baumann ba7535c73e Removing superfluous menu default directive in installer syslinux menues. 2013-05-06 14:50:05 +02:00
Daniel Baumann ea68bab304 Removing default menu marker for install entry in syslinux menu. 2013-05-06 14:50:05 +02:00
Daniel Baumann e3455ee2c9 Adding key-shortcut for advanced options in syslinux menu. 2013-05-06 14:50:05 +02:00
Daniel Baumann fdcebc3365 Including HDT in advanced options menu within syslinux menu. 2013-05-06 14:50:05 +02:00
Daniel Baumann 51e6e3b324 Correcting wrong debian-installer syslinux menu files. 2013-05-06 14:50:05 +02:00
Daniel Baumann e5e62f66a1 Renumbering hooks. 2013-05-06 14:50:05 +02:00
Daniel Baumann 772af17699 Adding hook to remove systemd machine-id. 2013-05-06 14:50:05 +02:00
Daniel Baumann 2fb4009a8c Updating syslinux configurations and handling for syslinux 5. 2013-05-06 14:50:05 +02:00
Daniel Baumann 3b7335e86b Correcting vshift in syslinux themes to correct display bug with overlong lines, thanks to Thanatermesis <thanatermesis@gmail.com>. 2013-05-06 14:50:05 +02:00