Commit Graph

18 Commits

Author SHA1 Message Date
Brian C. Lane
c6e52ce532
templates: Set @ISOLABEL@ in the bios-grub.cfg file to the isolabel 2022-06-16 17:31:07 -04:00
Brian C. Lane
2e676d1293
Add grub2 BIOS boot support to live iso template 2022-06-16 17:28:00 -04:00
Brian C. Lane
12c0368018
Add grub2 BIOS boot support
This adds support for BIOS booting using grub2. The bios config file and
grub2 modules are under /boot/grub2/

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-06-16 17:19:19 -04:00
Brian C. Lane
d554033dc9
Remove syslinux support
syslinux is unsupported and is going to be removed from Fedora. This
removes it and all of its configuration files from the templates.

Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2022-06-16 16:40:08 -04:00
Brian C. Lane
35896636df Drop ia32 uefi package installation
32bit uefi installations are not supported.

Resolves: rhbz#2038397
2022-01-11 11:16:48 -08:00
Brian C. Lane
771b7237ab Drop ppc 32 bit support from grub template for live iso
It wasn't working right, and we don't support 32 bit anyway, so update
to match non-live grub template with 64 bit only.

Resolves: rhbz#2017175
2021-11-01 10:18:52 -07:00
Brian C. Lane
0c4e1955ee Switch to using xorrisofs instead of mkisofs
We have already been using it via the mkisofs compatibility mode. Switch
to using it explicitly.

Resolves: rhbz#2017134
2021-10-26 14:18:37 -07:00
Brian C. Lane
10631c540c templates: Drop nomodeset / basic graphics menu from live configs
nomodeset no long does anything helpful, and inst.text doesn't make sense
with a live image so drop the menu from the live image.

Related: rhbz#1961092
2021-10-19 10:40:06 -07:00
Brian C. Lane
ea0196dacc Install unicode.pf2 from new directory
grub2-2.06-3 changes where the unicode.pf2 font file is stored.
This changes the efi.tmpl to install it from the new location, which
means that it depends on grub2-2.06-3, but there is no way to express
this in the runtime-install.tmpl so if you see a failure like:

2021-07-08 16:10:05,586:   OSError: nothing matching /var/tmp/lorax/lorax.t80f74er/installroot/boot/grub2/fonts/unicode.pf2 in /

It means the new version of grub2 wasn't in the repos you used when
running lorax.

Related: rhbz#2003030
2021-09-29 14:06:05 -07:00
Brian C. Lane
e61ef8cfc6 Switch to using upstream mk-s390image for s390 cdboot.img creation
mk-s390-cdboot has stopped working because the kernel outgrew the
hard-coded offset it used when creating cdboot.img. IBM now has a script
in s390utils that can do the same thing so use the upstream script
instead.

This drops mk-s390-cdboot script, switches the s390 templates to use
mk-s390image from s390utils.

It adds @ROOT@ to cdboot.prm, and sets inst.stage2 so that the installer
image will be found when booting the iso.

Resolves: rhbz#1903923
2020-12-03 08:20:15 -08:00
Brian C. Lane
1173a57217 Use mkisofs for the s390 live-iso template
Resolves: rhbz#1746424
2019-12-11 09:12:42 -08:00
Brian C. Lane
04d16cdcc7 Drop unneeded uboot-tools, and remove iso-graft from the aarch64.tmpl
Resolves: rhbz#1763922
2019-10-31 10:30:16 -07:00
Brian C. Lane
f35fe158a7 Add live iso support to s390
With this patch lmc and lorax-composer can be used to create a live iso
when running on s390 systems.

Resolves: rhbz#1746424
2019-10-31 10:01:58 -07:00
Brian C. Lane
d1a822db95 Fix path to generic.prm
Also quote ${extra_boot_args} as in the other templates

Related: rhbz#1712822
Resolves: rhbz#1746424
2019-09-03 10:46:28 -07:00
Brian C. Lane
d2180f3d63 Add extra boot args to the livemedia-creator iso templates
Resolves: rhbz#1694180
2019-05-15 15:46:02 -07:00
Brian C. Lane
23b9e7f3da Add a ppc64le template for live iso creation
Related: rhbz#1694180
2019-05-15 15:45:45 -07:00
Brian C. Lane
45f2382472 Add live-install.tmpl
Needed by lorax-28.14.24-1 and later

Related: rhbz#1694180
2019-05-15 15:45:45 -07:00
Will Woods
2f477626fa Add the rest of the files
...turns out you can't just have a single template file, because lorax
just picks a single directory and expects all the data it needs to be
there. Sigh.

So this adds all the rest of the files, plus some Makefile machinery for
generating a tarball and updating the specfile after you've checked in
changes. See README for details.
2018-06-18 15:32:22 -04:00