54 Commits

Author SHA1 Message Date
Natanael Copa
826a14f13e main/syslinux upgrade to 6.02 2013-11-04 15:17:01 +00:00
Dubiousjim
8078a02154 main/syslinux: update instructions for HDT, bump checksums
On Sun, Jun 30, 2013 at 02:13:29PM +0200, Natanael Copa wrote:
> On Sat, 29 Jun 2013 11:49:05 -0400
> Dubiousjim <dubiousjim@gmail.com> wrote:
>
> > While testing that, I discovered also that HDT is no longer working on
> > my machine.
>
> copy libgpl.c32 and libmenu.c32 in addition to hdt.c32 to /boot.
>
> (syslinux now uses elf format so you can use readelf or scanelf -n to
> troubleshoot this kind of issues)

Oh great! I've verified now that this works, and also verified that syslinux properly detects the sha256 and sha512 passwords.

This patch updates the usage message for HDT. Based on current master, ignoring patch I sent a few minutes ago.
2013-06-30 13:03:35 +00:00
Natanael Copa
1b50a0c4fe main/syslinux: update-extlinux: autodetect poweroff.c32
and trivial fix for comment in conf
2013-06-30 12:53:03 +00:00
Natanael Copa
f4f554426b main/syslinux: simplify passwd generation instructions
Don't bother mention salt or other crypto algorithms.

Also wrap the lines with comments.
2013-06-30 12:15:42 +00:00
Natanael Copa
5341d09e65 main/syslinux: use cmp -s instead of cmp --quiet due to busybox 2013-06-30 11:33:25 +00:00
Dubiousjim
8db76d29d7 main/syslinux: update checksums and bump pkgrel 2013-06-30 11:21:22 +00:00
Dubiousjim
083a16ab99 main/syslinux: hooks for bootloader password
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
2013-06-30 11:20:34 +00:00
Dubiousjim
7558f26d28 main/syslinux: don't create backup when no changes 2013-06-30 11:20:13 +00:00
Dubiousjim
5eebfc3d65 main/syslinux: add Hardware Detection Tool entry
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.
2013-06-30 11:19:59 +00:00
Dubiousjim
faf4eed006 main/syslinux: add reboot entry
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.
2013-06-30 11:19:51 +00:00
Dubiousjim
589d7d3981 main/syslinux: reorganize menu layout
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.
2013-06-30 11:19:33 +00:00
Dubiousjim
64e8c06cb5 main/syslinux: use more specific LINUX (instead of KERNEL) for kernels 2013-06-30 11:18:05 +00:00
Dubiousjim
ed12e5de37 main/syslinux: use more specific COM32 (instead of KERNEL) for mboot.c32 2013-06-30 11:17:50 +00:00
Dubiousjim
e81e10dcbe main/syslinux: fix/refactor initramfs
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.
2013-06-30 11:17:13 +00:00
Natanael Copa
fbdf208c06 main/syslinux: upgrade to 5.10 2013-06-11 12:59:40 +00:00
William Pitcock
5d5bdd8971 main/syslinux: install libcom32.c32 for mboot.c32 and menu.c32 2013-04-26 12:07:38 -05:00
Natanael Copa
3db17d753e main/syslinux: upgrade to 5.02_pre3 2013-03-11 09:59:02 +00:00
Natanael Copa
c8e8c756c1 main/syslinux: add fix for adding back BOOT_IMAGE 2013-02-27 15:02:25 +00:00
Natanael Copa
89d3e577e9 main/syslinux: install libutil.c32 2013-02-22 15:30:31 +00:00
Natanael Copa
e69409a284 main/syslinux: run extlinux --update 2013-02-22 12:48:10 +00:00
Natanael Copa
bcfeb8c510 main/syslinux: upgrade to 5.01 2013-02-22 09:28:47 +00:00
Natanael Copa
220728e2bd main/syslinux: upgrade to 4.06 2012-10-30 15:30:35 +00:00
Daniel Beecham
694f922569 main/syslinux: update-linux: find -name "*" instead of find -name * 2012-07-25 09:13:34 +00:00
Natanael Copa
7b87ff6f9c main/syslinux: update-extlinux: create labels for xen dom0 kernels 2012-06-21 15:07:44 +00:00
Natanael Copa
50dbb7c3ef main/syslinux: build fix
needs util-linux-dev
2011-12-18 15:18:30 +00:00
Natanael Copa
8bd0d6dc77 main/syslinux: upgrade to 4.05 2011-12-18 15:31:03 +01:00
Natanael Copa
8ded1f134b main/syslinux: set umask in update-exlinux
so extlinux.conf don't end up as world writeable
2011-10-26 14:42:28 +00:00
Natanael Copa
934550384d main/syslinux: update-extlinux detect kernel labels as 'grsec' 2011-10-22 12:58:15 +00:00
William Pitcock
223fae88ef main/syslinux: fix xen stanzas 2011-09-03 00:42:37 -05:00
William Pitcock
2879013b96 main/syslinux: detect xen 2011-09-03 00:27:50 -05:00
Natanael Copa
d7cd11cbe5 main/syslinux: the update-extlinux trigger depends on mkinitfs 2011-08-26 06:42:08 +00:00
Natanael Copa
b074064773 main/syslinux: misc update-extlinux fixes
- 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
2011-08-03 19:28:23 +00:00
Natanael Copa
c504465e61 main/syslinux: disable trigger
It has now destroyed my extlinux.conf and caused my box unbootable
atleast twice.
2011-08-03 13:27:26 +00:00
Natanael Copa
6217d4883d main/[various]: new triggers api 2011-07-06 06:48:37 +00:00
William Pitcock
479bcc87e9 main/syslinux: add $TYPE to $modules 2011-06-30 01:29:37 -05:00
William Pitcock
0ef6140b0d main/syslinux: fix some bugs 2011-06-11 00:21:10 -05:00
William Pitcock
cddf77d678 main/syslinux: dynamically generate /boot/extlinux.conf using a trigger on /boot 2011-06-11 00:02:11 -05:00
Natanael Copa
bd4c4347ab main/syslinux: upgrade to 4.04 2011-04-23 09:56:51 +00:00
Natanael Copa
4ff65ef299 main: mass-rebuild of packages missing arch in .PKGINFO
this is needed for apk-tools-2.1 migration
2011-03-31 13:43:08 +00:00
William Pitcock
22feca3023 main/syslinux: x86 and x86_64 archs only 2011-02-14 07:58:29 -06:00
William Pitcock
ba2600dc6e Set all packages with arch="x86 x86_64" to arch="all". 2011-01-13 06:06:02 -06:00
Natanael Copa
da49ad32c4 main/*: add arch 2010-12-13 16:00:16 +00:00
Natanael Copa
a9f666162a main/syslinux: upgrade to 4.03 2010-11-01 15:06:02 +00:00
Natanael Copa
bcf54359e3 main/syslinux: upgrade to 4.02 2010-07-23 07:28:18 +00:00
Natanael Copa
b6f567c059 main/syslinux: upgrade to 4.01 2010-07-05 13:15:47 +00:00
Natanael Copa
1c6ac649bc main/syslinux: upgrade to 4.00 2010-06-29 09:56:08 +00:00
Natanael Copa
2adc661156 main/syslinux: fix download url 2010-06-01 13:19:58 +00:00
Natanael Copa
b4eecaf058 main/[various]: bump pkgrel to force rebuild against nptl 2010-05-04 08:26:51 +00:00
Natanael Copa
7fdc5f7dad main/syslinux: upgrade to 3.86 2010-04-29 12:12:25 +00:00
Natanael Copa
c5d988dd78 main/syslinux: upgrade to 3.85 2010-03-11 21:17:27 +00:00