Commit Graph

32 Commits

Author SHA1 Message Date
Jan Stodola 15772acfd1 Fix path to generic.prm
Also quote ${extra_boot_args} as in the other templates

Resolves: rhbz#1712491
2019-05-23 11:06:19 +03:00
Brian C. Lane f5b781a9e6 Update PPC isolabel to allow escaping spaces
Escaped spaces is supported, so remove the extra filtering of the
isolabel on PPC so that it uses the same form as the other arches.

eg. inst.stage2=hd:LABEL=RHEL-7.7\x20Server.ppc64le for an iso with a
label of 'RHEL-7.7 Server.ppc64le'

Resolves: rhbz#1402328
2019-04-29 08:57:25 -07:00
Brian C. Lane c15a976832 Add extra boot args to the livemedia-creator iso templates
This adds a new livemedia-creator argument, --extra-boot-args, which can
be used to add arguments to the kernel command-line in the templates.

Resolves: rhbz#1689314
2019-03-26 11:29:30 -07:00
Brian C. Lane 1566f3d10f Add redhat.exec to s390 .treeinfo
Resolves: rhbz#1593657
2018-06-21 08:24:31 -07:00
Brian C. Lane 1d2639cd92 Remove the iso-graft check from the aarch64.tmpl
RHEL7 doesn't support the workdir+/iso-graft feature.

Resolves: rhbz#1369014
2017-06-19 14:58:40 -07:00
Brian C. Lane 5970d38a1a Fix aarch64 efi.tmpl invocation for live images
We didn't add "efiarch32" on aarch64 because it made no sense, but we
need to because it's not an optional argument in the other template.
Just make it efiarch32=None.

Also fixes a typo in share/live/uefi.tmpl

Related: rhbz#1310775
2017-06-05 14:27:47 -07:00
Brian C. Lane 6d5dc9cfa3 Add support for aarch64 live images
This adds the aarch64 template, and the grub2-efi config file to the
live template directory.

Resolves: rhbz#1369014
(cherry picked from commit 89c7a93508b7328fc9c180164b23fae29bcd022b)
2017-05-22 10:14:34 -07:00
Peter Jones 5d204bd21e Make 64-bit kernel on 32-bit firmware work for x86 efi machines
This enables Baytrail and similar atom CPUs that typically ship with a
32-bit firmware, but have a 64-bit capable CPU.

Resolves: rhbz#1310775

Signed-off-by: Peter Jones <pjones@redhat.com>
2017-03-21 16:54:07 -04:00
Brian C. Lane 6268aaff6e livemedia-creator: Install genericdvd.prm (#1269213)
share/live/s390.tmpl needs to install the file.

Related: rhbz#1269213
2016-08-01 14:24:44 -07:00
Brian C. Lane 391f1a7b57 Copying same file shouldn't crash (#1269213)
When using the template install command copying the same file to itself
shouldn't crash. Just log the error and continue.

Also copy the s390 configuration files for use with livemedia-creator

Resolves: rhbz#1269213
(cherry picked from commit 701ab02619)
2016-04-06 17:02:41 -07:00
Dan Horák 7949b7dc52 Add product.img support for s390 templates (#1272359)
(cherry picked from commit a2c2a4be28)

Resolves: rhbz#1272359
2016-02-19 13:53:18 -08:00
Brian C. Lane b3dabdd2e0 Update templates to use installimg for product and updates
With these templates if a package has installed files in
/usr/share/lorax/product or /usr/share/lorax/updates/ they will be used
to create product.img and/or updates.img which will be included in the
images/ directory of the iso and of the final output tree.

These can be used to customize the installation environment or provide
updates. See README.product for current documentation.

Related: rhbz#1202278
2015-06-25 09:18:24 +02:00
Brian C. Lane f259ff0e29 Use all upper case for shim in live/efi.tmpl
mkefiboot now expects all upper case for BOOT*.EFI

Related: rhbz#1100048

Conflicts:
	share/live/efi.tmpl
2014-10-15 11:44:09 -04:00
Brian C. Lane 84af4b08f5 Add ppc64le arch (#1136490)
basearch is ppc64le so we needs to check for that in addition to ppc64.

Resolves:rhbz#1136490
(cherry picked from commit 72357bf96b6b016c3a39b2af51eaf5cf724a0928)
2014-09-03 10:43:00 -07:00
Brian C. Lane da8326fd58 livemedia-creator: Update ppc64 live to use grub2
Update the templates and configuration files to support grub2 live
image creation.

Related: rhbz#1102318
Related: rhbz#1131199
2014-08-27 16:27:52 -07:00
Brian C. Lane 59f256e989 livemedia-creator: Add ppc64 live creation support (#1102318)
The ppc config files were missing from the live config_files directory
and ppc needs the correct lib directory so lmc has been switched to use
ArchData driven from the installed kernel arch.

Resolves: rhbz#1102318
2014-07-30 16:58:40 -07:00
Peter Jones d2de389cba Make lorax's installation of lockdown.efi conditional on its existence.
lockdown.efi only exists in the beta, but it'll probably also exist in
the 7.1 beta.  So don't toss this stuff out completely, but don't use it
if shim doesn't provide lockdown.efi either.

Resolves: rhbz#1071380

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-02-28 11:36:20 -05:00
Brian C. Lane ca3d374a64 Add SB lockdown to EFI grub menu (#1030495)
Resolves: rhbz#1030495
2013-11-15 14:03:17 -08:00
Brian C. Lane 12e03abfa9 Set UEFI defaults to match BIOS (#1021451,#1021446)
60 second timeout and default to testing media.

Resolves: rhbz#1021451
Resolves: rhbz#1021446
2013-10-31 16:17:12 -07:00
Brian C. Lane e8f114b4cb drop dracut args from config files (#1008054)
It no longer autoassembles things so we don't need to pass rd.md=0, etc.
2013-09-24 17:01:12 -07:00
Brian C. Lane 7d83abb8d0 livemedia-creator: Fix gcdx64.efi path to work for other distros than Fedora (#1003078) 2013-09-18 16:59:32 -07:00
Dennis Gilmore a4cf3c3c7c remove sparc support
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2013-03-04 14:18:45 +01:00
Daniel Mach d79e250b9b Make boot configs consistent.
Make kernel args the same in every config.
Put 'quiet' at the end of the line - it's usually the first thing a user removes when debugging.
Fill missing product versions in.
Distinguish between 'install' (installation media) and 'start' (live media).
2013-01-30 13:15:02 +01:00
Martin Gracik b3cc5a7a45 Remove the default word from boot menu (#848676) 2012-10-11 10:24:11 +02:00
Brian C. Lane 34811e0c50 Remove grub 0.97 splash 2012-09-19 07:43:46 -07:00
Brian C. Lane 24c18233aa livemedia-creator: use rd.live.image instead of liveimg 2012-09-19 07:42:37 -07:00
Brian C. Lane 26ea847e8f live uses root not inst.stage2
I changed too many templates when changing to inst.stage2, live still
obviously needs root= in order to boot.
2012-09-13 16:09:40 -07:00
Brian C. Lane de50815e5e use inst.stage2=hd:LABEL (#848641)
The iso is able to autodetect the device and find stage2, but when they
are written to USB via dd it needs to know where to find the install
media.
2012-08-31 20:12:03 -07:00
Brian C. Lane 7ba88931ac change grub-cd.efi to gcdx64.efi (#851326)
grub2-2.00-5 has changed.
2012-08-23 14:59:46 -07:00
Brian C. Lane d9bf818408 use wildcard for product path to efi binaries (#851196)
Depending on the product the path to these may be /fedora/ or /redhat/
so just use whatever they were installed under.
2012-08-23 14:59:42 -07:00
Brian C. Lane 9323836c38 livemedia-creator: update templates for grub2-efi support 2012-08-23 14:58:53 -07:00
Brian C. Lane 505d5bf164 move live templates into their own subdir of share
live media isn't exactly the same as the Anaconda install media. Right
now this amounts to needing a root= cmdline argument but in the future
there may be other differences.

This also reverts 5437557846 on the new copies of the templates.
2012-07-30 09:22:10 -07:00