Commit Graph

1321 Commits

Author SHA1 Message Date
Brian C. Lane 563f4386e8 livemedia-creator: Copy all the logs from /tmp/
It wasn't copying new logs from dnf, kickstart script logs or
tracebacks.
2015-01-15 09:39:15 -08:00
Brian C. Lane 8641caca9e livemedia-creator: Create parent dirs for logfile path
The directory where the --logfile is located is also used for other log
files and for the anaconda logs when using --no-virt. Create the parent
directories if they don't exist.
2015-01-15 09:39:15 -08:00
David Shea e9c1b5f200 Remove fedora-icon-theme
This package no longer contains anything that we actually use. Removing
it also removes gnome-themes, which we needed for the metacity theme but
which is now handled by anaconda, and gtk2-engines.
2015-01-15 10:36:16 -05:00
David Shea 22017af48a Remove fedora-gnome-theme
fedora-gnome-theme provides gnome-themes-standard, from which we remove
everything except a metacity theme file that metacity doesn't actually
use. Remove fedora-gnome-theme entirely and manually add the font
dependency that it was pulling in.
2015-01-15 10:36:16 -05:00
David Shea d746ea7323 Remove the GSettings overrides for metacity
Let anaconda figure this out on its own.
2015-01-15 10:36:16 -05:00
David Shea ba489f71ff Remove gnome-python2-gconf
There's nothing in here we can use and we already remove everything
that's in it, and having it pulls in gtk2 dependencies that we no longer
need.
2015-01-15 10:35:32 -05:00
Radek Vykydal 14494461a9 --make-pxe-target: change permissions of regenerated initramrfs to 0644 2015-01-15 11:03:15 +01:00
Radek Vykydal c46f3367ca Override services kickstart setting from interactive-defaults.ks 2015-01-15 11:03:05 +01:00
Brian C. Lane d4ead31bbb Use gcdaa64.efi on aarch64 (#1174475) 2015-01-14 07:50:33 -08:00
Brian C. Lane cd7adac241 livemedia-creator: add a timeout to the log monitor startup 2015-01-14 07:47:19 -08:00
Radek Vykydal a19c509430 Add --make-pxe-live and --make-ostree-live (for Atomic) targets.
--make-pxe-live target generate live squashfs and initrd for pxe boot.
Also generates pxe config template.

--make-ostree-live is used for installations of Atomic Host. Additionally to
--make-pxe-live it ensures using deployment root instead of physical root of
installed disk image where needed. Atomic installation needs to be virt
installation with /boot on separate partition (the only way supported by
Anaconda currently). Content of boot partition is added to live root fs so that
ostree can find deployment by boot configuration.
2015-01-13 12:45:06 +01:00
Brian C. Lane 58071fc935 Revert "Install optional product and updates packages (#1155228)"
This reverts commit 232451a4a2.

Use --installpkgs instead.
2015-01-12 15:00:23 -08:00
Brian C. Lane d96ed99621 Add log monitoring to lmc --no-virt installation
Previously if there was an error during a novirt installation that
didn't exit the process there was no way to detect it. This uses the new
--remotelog option for anaconda to monitor the logs for errors using the
same criteria as it does when monitoring a virt install. If there is an
error the anaconda process will be terminated and the logs will be
gathered up into ./anaconda/
2015-01-09 15:05:12 -08:00
Laszlo Ersek bd501cccef runtime-cleanup.tmpl: keep virtio-rng (#1179000)
Virtual machines easily get starved for randomness, and Anaconda insists
on sufficient amounts of entropy when the user requests LUKS disk
encryption. As a result, such installations can hang until Anaconda gives
up (after 10 minutes) and makes do with whatever entropy is available.

The virtualization host can feed randomness to the guest, unblocking the
installation. However, the guest can only consume that randomness through
the virtio-rng module. Let's not remove that module.

Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>

Resolves: rhbz#1179000
2015-01-06 10:52:14 -08:00
Vratislav Podzimek c84dfe1802 Install python-nss
Needed by blivet for escrow together with python-volume_key.
2014-12-17 10:55:15 +01:00
Brian C. Lane c431173c18 Automatic commit of package [lorax] release [22.1-1]. 2014-12-12 14:20:56 -08:00
Peter Jones 8f582846af Actually make boot.iso on aarch64.
Wooooops.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-12-09 12:03:18 -05:00
Colin Walters 52d962d613 Add --includepkg argument
Recently, Fedora has been trying to do a 3 product split.  As part of
that, lorax was changed to do "installpkg lorax-product-*" via
provides.

I think that approach is awkward; a much simpler approach is to simply
specify the product package as input to lorax on the command line, via
external rel-eng scripts.

This patch therefore adds --includepkg (and we should probably add an
option to remove the implicit lorax-product-* glob).
2014-12-05 15:58:58 -08:00
Brian C. Lane 7981f98c41 Automatic commit of package [lorax] release [22.0-1]. 2014-12-05 10:12:13 -08:00
Brian C. Lane 519771a1df aarch64 no longer needs explicit console setting (#1170412)
As of fedora kernel kernel-3.17.4-302.fc21 aarch64 can sort out what to
use for the console on its own, so drop the console= from the aarch64
grub2-efi.cfg template.
2014-12-05 10:11:55 -08:00
Brian C. Lane c58fbca78b Bump version to 22.0 2014-12-05 10:11:37 -08:00
Brian C. Lane 6fb5f8b7a9 Automatic commit of package [lorax] release [21.31-1]. 2014-12-03 11:25:35 -08:00
Brian C. Lane 5909574a44 Drop 32 bit for loop from ppc64 grub2 config (#1169878)
Older versions of petitboot don't understand the for loop and won't
boot.  We also don't shipt 32 bit media anymore so there is no reason
for this to remain.
2014-12-02 12:22:53 -08:00
Colin Walters 5a64d970a9 gschemas: Fix typo button_laytout -> button_layout 2014-11-26 07:47:15 -05:00
Brian C. Lane c925451311 Automatic commit of package [lorax] release [21.30-1]. 2014-11-20 14:57:13 -08:00
Brian C. Lane 232451a4a2 Install optional product and updates packages (#1155228)
To make it easier for users to add product and updates images look for
any packages that provide lorax-product-* or lorax-updates-*

Related: rhbz#1155228
2014-11-20 14:01:29 -08:00
Brian C. Lane e7fd9c0117 Automatic commit of package [lorax] release [21.29-1]. 2014-11-19 06:48:46 -08:00
Brian C. Lane 5a42ab73a5 Remove diagnostic product.img test (#1165425)
Yeah. Pushed my test template on accident. Sorry about that.
2014-11-18 15:19:42 -08:00
Brian C. Lane c3d23a7536 Automatic commit of package [lorax] release [21.28-1]. 2014-11-06 19:01:56 -08:00
Brian C. Lane 142b23b64e Add product.img support for arm templates 2014-11-06 18:56:56 -08:00
Brian C. Lane 86ee799ea1 Revert "add fedora-repos-anaconda to runtime environment"
This reverts commit bc9b40f18f.

anaconda-21.48.14-1 will revert to the below behavior, so remove the virtual
provide that was added for F21 Alpha/Beta.

You must include a repo in your installation environment that has an id
matching the lower case first part of your product name when split at the '-'
character.

If you don't do that closest mirror will not work.

For Fedora products this means including ONE repo with an id of
'fedora'.
2014-11-06 10:38:17 -08:00
Brian C. Lane 22d04c881d Automatic commit of package [lorax] release [21.27-1]. 2014-11-05 16:35:14 -08:00
Brian C. Lane d6f7c83c2e Remove the ppc magic file
magic is no longer needed.
2014-11-05 16:28:15 -08:00
Brian C. Lane ac6e4a29c3 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.
2014-11-05 16:13:40 -08:00
Brian C. Lane b064ae6166 Add installimg command for use in the templates
installimg SRCDIR DESTFILE
  Create a compressed cpio archive of the contents of SRCDIR and place
  it in DESTFILE.

  If SRCDIR doesn't exist or is empty nothing is created.

Examples:
  installimg ${LORAXDIR}/product/ images/product.img
2014-11-05 09:58:51 -08:00
Brian C. Lane a7a3dd276d Setup mdadm to turn off homehost (#1156614) 2014-11-03 17:19:57 -08:00
David Lehman 4a7552d4be Don't include the stock lvm.conf. (#1157864)
We started including it as an unintended side-effect of commit 9ca487f8.

lvm doesn't like it when there are multiple 'global' sections in lvm.conf,
and we add one right at the end of that block. We expect ours to be the
file's only content.
2014-10-28 12:41:24 -05:00
Brian C. Lane c04ff4132b Write list of packages to /root/lorax-packages.log 2014-10-21 10:05:13 -07:00
Brian C. Lane ddfc6060c5 Automatic commit of package [lorax] release [21.26-1]. 2014-10-20 09:55:09 -07:00
Brian C. Lane cdfe06c555 Use all upper case for shim in live/efi.tmpl
mkefiboot now expects all upper case for BOOT*.EFI
2014-10-14 14:13:22 -07:00
Brian C. Lane 30501ff492 livemedia-creator: Add nfs support for no-virt mode (#1121255) 2014-10-09 17:27:39 -07:00
Chris Lumens 850010b5eb Include /usr/bin/bugzilla in the installation environment.
Seems like this would be pretty handy for uploading attachments to bugs.
2014-10-09 15:31:42 -04:00
Brian C. Lane 1768126a21 Automatic commit of package [lorax] release [21.25-1]. 2014-10-07 18:41:24 -07:00
Martin Kolman 952c329a4f Libgailutil is required yelp, don't remove it (#1072033)
Related: rhbz#1072033
2014-10-07 19:26:41 +02:00
Martin Kolman 75f419273f Revert "Don't remove /usr/share/doc/anaconda." (#1072033)
The help content path has been changed to /usr/share/anaconda/help,
so this Lorax change is no longer needed.

This reverts commit 2bd4637336 and commit 05ebf4ffcd.
2014-10-07 18:48:03 +02:00
Peter Jones a05348ee9f Look for "BOOT${efiarch}.EFI" in mkefiboot as well.
The aarch64 change to use shim (6907567) also stopped using mixed-case
names for BOOT${efiarch}.efi (so it's always .EFI and ${efiarch} is X64
IA32 AA64 etc. now), and mkefiboot needs to match that.

Related: rhbz#1043274
Related: rhbz#1100048
2014-10-07 10:53:08 -04:00
Peter Jones 807cc8996e Make sure shim is actually in the package list on aarch64 as well.
Otherwise all the other stuff gets to be just extra error messages and
failures.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-03 16:48:33 -04:00
Brian C. Lane 096497b9d9 Fix 'docs' typo in livemedia-creator manpage (#1149026) 2014-10-03 13:33:50 -07:00
Vratislav Podzimek 9ca487f87a Keep the /etc/lvm/profiles directory in the image
Profile definitions are needed e.g. for creation of thin pools with specific
profile.

Related: rhbz#869456
2014-10-03 11:42:28 +02:00
Peter Jones 6907567664 Use shim on aarch64.
We have shim and grub working together on aarch64 now, so we may as well
use them.

(this also makes the case of boot${arch}.efi not mixed-case, which
should guarantee it's in FAT rather than VFAT...)

Related: rhbz#1100048

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-10-02 15:41:31 -07:00