Commit Graph

1414 Commits

Author SHA1 Message Date
Will Woods
1c91eab12b treebuilder: improve findkernels() initrd search
This makes findkernels() look for any image named something like:

  $PREFIX-$KERNELVER.img

and adds a corresponding entry to its returned data like:

  kernel.$PREFIX.path = [path]

As a special backwards-compatibility case we use 'initrd' for the
attribute name if $PREFIX is 'initramfs'.

This gives us any extra initramfs images that may have been built using
the 'prefix' argument to rebuild_initrds().
2012-11-30 13:28:38 -06:00
Will Woods
5b48574d5e treebuilder: add 'prefix' to rebuild_initrds()
If 'prefix' is passed to rebuild_initrds(), it will build a *new*
initramfs with a name like $PREFIX-$KERNELVER.img, rather than
overwriting the existing initramfs.
2012-11-30 13:28:38 -06:00
Martin Gracik
e4c03a98b9 Add thai-scalable-waree-fonts (#872468) 2012-11-30 12:42:03 +01:00
Martin Gracik
8d8b4fbb50 Do not remove the fipscheck package (#882153) 2012-11-30 12:41:57 +01:00
Martin Gracik
d69432719b Add MokManager.efi to EFI/BOOT (#882101)
MokManager.efi is a new component of shim, added in 0.2. Shim needs it
in installation.
2012-11-30 10:22:27 +01:00
Brian C. Lane
556e5ec1f4 Automatic commit of package [lorax] release [18.22-1]. 2012-11-06 17:51:02 -08:00
Jesse Keating
75db366402 Install the yum-langpacks plugin (#868869) 2012-11-06 11:10:53 -08:00
Dan Horák
0dcc91177a perl is required by some low-level tools on s390x (#868824)
Don't remove perl on s390x as it is required by some low-level tools.
2012-10-22 18:20:32 +02:00
Brian C. Lane
061e8df7e5 Automatic commit of package [lorax] release [18.21-1]. 2012-10-11 11:08:11 -07:00
Jesse Keating
f2bcfafa85 Change the install user's shell for tmux 2012-10-11 10:25:56 -07:00
Martin Gracik
91afe5883f Set permissions on the initrd (#863018)
Dracut now makes the initrd with 600 permissions
for security reasons. These reasons do not apply
to install images, and we want the other tools
that use lorax to be able to read the initrd file.
2012-10-11 10:24:11 +02:00
Martin Gracik
b3cc5a7a45 Remove the default word from boot menu (#848676) 2012-10-11 10:24:11 +02:00
Chris Lumens
52e47bfebe Disable a whole bunch more keyboard shortcuts (#863823). 2012-10-08 13:24:27 -04:00
Brian C. Lane
2b8075af3a use /var/tmp instead of /tmp
Also add a --tmp option so users can specify a top level tmp dir.
2012-10-02 11:35:16 -07:00
Brian C. Lane
a83c8c1df0 remove rv from unmount error log
You obviously cannot reference it when it hasn't been set.
2012-09-21 09:19:09 -07:00
Brian C. Lane
b6a20c49e6 Automatic commit of package [lorax] release [18.20-1]. 2012-09-19 07:44:51 -07: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
40d544c24b Automatic commit of package [lorax] release [18.19-1]. 2012-09-17 11:55:32 -07:00
Martin Gracik
fb69670ea8 There's no lang-table in anaconda anymore (#857925) 2012-09-17 11:41:39 -07:00
Brian C. Lane
43bd549480 add convienience functions for running commands
Adds runcmd() and runcmd_output() which set raise_err=True
2012-09-17 11:26:53 -07:00
Brian C. Lane
12ad7d0d99 restore CalledProcessError handling
When I switched execution over to execWith* functions I failed to
account for the use of CalledProcessError in various places. This
patch restores that behavior. All places that used check_call or
check_output now pass raise_err=True to the execWith* call.
2012-09-17 11:26:50 -07:00
Brian C. Lane
381c4276ba add CalledProcessError to execWith* functions
This adds a raise_err argument that when set to True will raise a
CalledProcessError if the process's returncode is not 0
2012-09-17 11:26:41 -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
2559dc64d8 Revert "X needs the DRI drivers" (#855289)
This reverts commit 74e58adfd2.

Ends up that the dri errors in the Xorg logs are a red herring.
2012-09-12 13:06:27 -07:00
Brian C. Lane
9df7c50341 Automatic commit of package [lorax] release [18.18-1]. 2012-09-07 16:58:29 -07:00
Jesse Keating
5a22857d26 Keep the dracut-lib.sh around for runtime (#851362)
This will be used by the anaconda-generator systemd script.
2012-09-06 15:29:45 -07:00
Brian C. Lane
74e58adfd2 X needs the DRI drivers 2012-09-05 17:36:54 -07:00
Brian C. Lane
9a855e0ef1 Automatic commit of package [lorax] release [18.17-1]. 2012-08-31 20:12:33 -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
Chris Lumens
da306b6313 Disable the maximize/unmaximize key bindings (#853410). 2012-08-31 17:11:49 -04:00
Brian C. Lane
80b2e53fd1 Automatic commit of package [lorax] release [18.16-1]. 2012-08-30 15:20:01 -07:00
Jesse Keating
07d8f3f723 Revert "Mask the tmp.mount service to avoid tmpfs"
This reverts commit ca15f6d2ba.

Anaconda now handles /tmp being tmpfs with regard to updates and product
images.
2012-08-29 14:04:56 -07:00
Brian C. Lane
229b562b25 Automatic commit of package [lorax] release [18.15-1]. 2012-08-23 15:00:25 -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
44afcf5123 Add yum-plugin-fastestmirror (#849797) 2012-08-23 14:59:04 -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
340349b763 imgutils: fix umount retry handling
When umount fails it doesn't throw an error, so retry when the rv is
non-zero instead.
2012-08-21 07:12:23 -07:00
Brian C. Lane
97cfc71664 livemedia-creator: use stage2 instead of root 2012-08-21 07:12:23 -07:00
Brian C. Lane
91ff02eae3 livemedia-creator: add location option
--location specifies an iso directory tree to be used by virt-install
instead of the iso. This allows you to update the initrd in the tree for
debugging.

virt-install uses the images/pxeboot/ directory for initrd.img and
vmlinux.

An iso is still required for the LiveOS/squashfs.img stage2 file.
2012-08-21 07:12:23 -07:00
Radek Vykydal
42e3d27ff1 nm-connection-editor was moved to separate package (#849056) 2012-08-20 10:22:47 +02:00
Brian C. Lane
cfdc84fcf1 Automatic commit of package [lorax] release [18.14-1]. 2012-08-16 08:26:13 -07:00
Brian C. Lane
049d7de933 remove cleanup of some essential libraries
Gtk uses a number of the xcb-* libraries, and libXxf86vm.
libpcre is needed by grep
ldd is useful in figuring out what libraries are missing.
2012-08-15 17:02:17 -07:00
Jesse Keating
ca15f6d2ba Mask the tmp.mount service to avoid tmpfs
Anaconda runtime is already in memory, no need to use tmpfs here.  In
fact use of tmpfs here will overwrite any updates content that was put
in place by dracut.
2012-08-15 15:11:39 -07:00
Brian C. Lane
5cd87b9fe3 Automatic commit of package [lorax] release [18.13-1]. 2012-08-15 11:24:38 -07:00
d.marlin
5e677160cd Add a command line option to override the ARM platform.
Passed on to anaconda to make ARM images where the compose hardware
does not match the target hardware.

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2012-08-15 11:09:50 -07:00
Martin Gracik
d84dfcc561 Don't remove krb5-libs (#848227)
Anaconda needs it.
2012-08-15 09:52:40 +02:00
Peter Jones
72c1aa9cd3 Add grub2-efi support and Secure Boot shim support.
This adds grub2-efi support in general as well as using the Secure Boot
shim loader on uefi media.
2012-08-13 11:03:40 -04:00
Peter Jones
0f2c6ed007 Fix GPT code to allocate space for /2/ tables.
17408 is the size of the table being made, but there's one at the
beginning and one at the end.
2012-08-13 11:03:40 -04:00