summaryrefslogtreecommitdiffstats
path: root/main/syslinux/update-extlinux
Commit message (Collapse)AuthorAgeFilesLines
* main/syslinux: update-extlinux: autodetect poweroff.c32Natanael Copa2013-06-301-6/+9
| | | | and trivial fix for comment in conf
* main/syslinux: use cmp -s instead of cmp --quiet due to busyboxNatanael Copa2013-06-301-1/+1
|
* main/syslinux: hooks for bootloader passwordDubiousjim2013-06-301-0/+10
| | | | | | | | | | | | | | | | | | | | | | | We allow a password to be set in /etc/update-extlinux.conf. Instructions for generating this are in /etc/update-extlinux.conf. For reference, here is another (equivalent) way to generate the MD5 password: openssl passwd -1 -salt yy pass If one sets a password, one will presumably want to make /etc/update-extlinux.conf world-unreadable. We don't do that for you; however we do make sure when a password is present to make the /boot/extlinux.conf files we generate be world-unreadable. Of the auto-generated entries, only HDT (if this is generated) is now configured to respect the password; however, you can include "MENU PASSWD" in any entries you put in /etc/update-extlinux.d/. For example, I configure my BIOS to only boot from the internal drive, but I have an entry in /etc/update-extlinux.d that permits chain-booting from a USB key, and I have this entry configured to also require the password. (The BIOS is also passworded, so that these settings can't be changed willy-nilly.) Conflicts: main/syslinux/update-extlinux.conf
* main/syslinux: don't create backup when no changesDubiousjim2013-06-301-6/+10
|
* main/syslinux: add Hardware Detection Tool entryDubiousjim2013-06-301-1/+11
| | | | | | | | | | | | | | | | HDT provides a curses-like interface to display lots of hardware info about your machine at bootloader time. We don't install /boot/hdt.c32, but if it's present (it can be copied from /usr/share/syslinux/hdt.c32), we add a menu entry for it---in preference to, rather than in addition to, memtest, since HDT has a menu entry which invokes memtest. Using HDT to its full capacity requires finding or generating modules.pcimap and pci.ids files for your machine, and installing them in /boot. We might want to document this, which I don't here (but the online docs for HDT do). These aren't required to use other functionality of HDT; and it's pretty useful already without those.
* main/syslinux: add reboot entryDubiousjim2013-06-301-0/+7
| | | | | | | | | | | | | | | | We don't install /boot/reboot.c32, but if it's present (it can be copied from /usr/share/syslinux/reboot.c32), we add a menu entry for it---just like with memtest. Add a comment to /etc/update-extlinux.conf stating this. It'd already be possible to get a reboot entry using the /etc/update-extlinux.d/ folder, but this patch provides a more intelligent framework with nicer layout. The syslinux sourceball also provides a shutdown module, but I couldn't get this to work and looking at the sources reveals it to be for machines with APM enabled. Not sure how many machines that applies to anymore.
* main/syslinux: reorganize menu layoutDubiousjim2013-06-301-5/+9
| | | | | | Add a blank line between any entries added from /etc/update-extlinux.d/*. Move the memtest entry (if any) after a separator line, below these.
* main/syslinux: use more specific LINUX (instead of KERNEL) for kernelsDubiousjim2013-06-301-1/+1
|
* main/syslinux: use more specific COM32 (instead of KERNEL) for mboot.c32Dubiousjim2013-06-301-1/+1
|
* main/syslinux: fix/refactor initramfsDubiousjim2013-06-301-6/+7
| | | | | | | | | | If xen.gz is present, there are multiple kernels, and later ones lack an initramfs, they'll currently be (wrongly) configured to use a initramfs anyway. Fixed. We also refactor the check for /boot/initramfs-$tag, and configure this using a separate INITRD line, instead of adding it to the APPEND line. In passing, this also closes a second might-use-a-stale-initramfs bug.
* main/syslinux: install libcom32.c32 for mboot.c32 and menu.c32William Pitcock2013-04-261-1/+2
|
* main/syslinux: install libutil.c32Natanael Copa2013-02-221-8/+6
|
* main/syslinux: run extlinux --updateNatanael Copa2013-02-221-16/+23
|
* main/syslinux: update-linux: find -name "*" instead of find -name *Daniel Beecham2012-07-251-2/+2
|
* main/syslinux: update-extlinux: create labels for xen dom0 kernelsNatanael Copa2012-06-211-2/+7
|
* main/syslinux: set umask in update-exlinuxNatanael Copa2011-10-261-0/+2
| | | | so extlinux.conf don't end up as world writeable
* main/syslinux: update-extlinux detect kernel labels as 'grsec'Natanael Copa2011-10-221-5/+8
|
* main/syslinux: fix xen stanzasWilliam Pitcock2011-09-031-1/+1
|
* main/syslinux: detect xenWilliam Pitcock2011-09-031-1/+23
|
* main/syslinux: misc update-extlinux fixesNatanael Copa2011-08-031-36/+82
| | | | | | | | | | | | | | | | | - rename /etc/extlinux-conf to /etc/update-extlinux.conf - Do not exit with fail if update-extlinux.conf is missing - Always warn if root= is not defined in update-extlinux.conf - Try harder to detect the root device by parsing /proc/mounts - Exit with error if we cannot detect the Root device - Rename fancy_menu to vesa_menu - Unifiy the code generating vesa/standard menus - Keep a backup of old extlinux.conf - add "overwrite" config option so it is possible to skip overwriting the extlinux.conf. - Added a post-upgrade that imports current extlinux.conf to update-extlinux.conf
* main/syslinux: add $TYPE to $modulesWilliam Pitcock2011-06-301-1/+1
|
* main/syslinux: fix some bugsWilliam Pitcock2011-06-111-7/+11
|
* main/syslinux: dynamically generate /boot/extlinux.conf using a trigger on /bootWilliam Pitcock2011-06-111-0/+85