Commit Graph

1351 Commits

Author SHA1 Message Date
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
d.marlin
0f02b5c920 Add platforms to the treeinfo for Beaker support. 2012-08-13 15:39:53 +02:00
Brian C. Lane
700d5007a3 add logging to lorax 2012-07-30 09:22:10 -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
Brian C. Lane
134eec24d5 clean up command execution
Switch to using execWith* so that the command and its output can be
logged. To capture the output setup a logger named "program"

livemedia-creator captures all of this into program.log
2012-07-30 09:22:10 -07:00
Brian C. Lane
994ff776c7 livemedia-creator: cleanup logging a bit 2012-07-30 09:22:10 -07:00
Martin Gracik
07bf4e3c08 Automatic commit of package [lorax] release [18.12-1]. 2012-07-25 12:44:14 +02:00
d.marlin
f170b6dc49 Add 'mvebu' to list of recognized ARM kernels.
Signed-off-by: David A. Marlin <dmarlin@redhat.com>
2012-07-25 12:43:23 +02:00
Martin Gracik
1000e98555 Cleanup boot menus (#809663) 2012-07-23 09:52:44 +02:00
Martin Gracik
84a4002870 Don't remove chvt from the install image (#838554) 2012-07-23 09:52:44 +02:00
Martin Gracik
8c8a186309 Add llvm-libs (#826351)
vmware driver needs this when installing in virtual machines.
2012-07-23 09:52:44 +02:00
Brian C. Lane
38a5df0ee8 Automatic commit of package [lorax] release [18.11-1]. 2012-07-20 17:52:53 -07:00
Brian C. Lane
de3d3e17b7 livemedia-creator: add some error checking
- Add a check to livemedia-creator for /usr/bin/virt-install (#841566)
- Suggest the correct package for livemedia-creator's libvirt (#841552)
- Add to list of packages needed to build a livemedia-creator iso (#841594)
2012-07-20 17:50:00 -07:00
Martin Gracik
08efe1217b Automatic commit of package [lorax] release [18.10-1]. 2012-07-10 13:03:12 +02:00