Commit Graph

9 Commits

Author SHA1 Message Date
Anton Midyukov
00283166b7 syslinux: fixed for using BOOTLOADER not equal syslinux
Do not create syslinux.cfg if EFI_BOOTLOADER is set to not equal grub-efi.
2020-04-03 22:56:58 +07:00
Anton Midyukov
216da2366c syslinux: do not use syslinux to generate config on unsupported arches
These are partial commits reverts:
01ee407543
e42bcdcb30
5cfc7ede81
2020-04-03 22:56:58 +07:00
Anton Midyukov
df1d1f8a6c grub, syslynux: rename scripts
The scripts were named the same for syslinux and grub. Because of this,
scripts for syslinux were overwritten by grub scripts.
2020-04-03 22:16:55 +07:00
Anton Midyukov
01ee407543 syslinux: copy config for grub2 on aarch64 2019-08-30 19:23:27 +03:00
Gleb Fotengauer-Malinovskiy
5cfc7ede81 ppc64le: use syslinux feature only to generate config 2019-08-19 23:32:07 +03:00
Michael Shigorin
a2fcc601c9 syslinux: process @rescue_hash@ (forensic mode)
This value is used to authenticate rescue rootfs image
by verifying the squashfs file's sha256sum before use
(propagator-20140419+).

Looks like this check might be useful for other stage2
images as well but let's get started with this one.

Thanks Maxim Suhanov <suhanov/group-ib.ru> for both
http://www.forensicswiki.org/wiki/Forensic_Live_CD_issues
and propagator patches.
2014-04-19 13:48:11 +04:00
Michael Shigorin
8419175c02 syslinux: help git grep *_size
It's not exactly obvious how install2_size, live_size or rescue_size
get defined since the variable names themselves get constructed;
help git grep these down.
2014-03-31 23:45:43 +04:00
Michael Shigorin
1b885b3d24 cleanup scripts rehashed
There's much reason for reuse instead of duplication
among the different stage2-based subprofiles.

In particular, the rather monolithic driver cleanup script
of the ancient is better done in several clear pieces with
the final depmod run.

Scripts dropping apt/rpm databases will dump pkglist first.

A script purging /boot/* will honour live-install if present.

Minor inno^Wfixups all over the map too.
2012-03-31 21:08:09 +03:00
Michael Shigorin
3d10c59d2b test-based ramdisk size for live squashfs images
Implementation based on m-p-d::profiles/scripts.d/03-syslinux
(but heavily modified for m-p of course)
2011-11-04 16:15:30 +02:00