Commit Graph

1303 Commits

Author SHA1 Message Date
Brian C. Lane
240f688fb3 Make sure openssh-clients is installed (#1219398)
It used to be pulled in by a dependency, which went away. It should be
explicitly installed.
2015-05-07 08:53:08 -07:00
Brian C. Lane
bf620f9662 Automatic commit of package [lorax] release [22.10-1]. 2015-04-29 16:53:39 -07:00
Dan Horák
0f65bc4a31 Add product.img support for s390 templates
(cherry picked from commit a2c2a4be28)
2015-04-29 11:41:03 -07:00
Brian C. Lane
e76a4ea15c Automatic commit of package [lorax] release [22.9-1]. 2015-04-02 13:31:59 -07:00
Brian C. Lane
92808bcbe6 Include cryptsetup in the image (#1208214)
blivet dropped its requirement on cryptsetup, but fedup needs it in the
upgrade.img and it is useful for rescue mode so add it back.
2015-04-02 11:52:00 -07:00
Brian C. Lane
c45255b666 Automatic commit of package [lorax] release [22.8-1]. 2015-03-27 17:32:16 -07:00
Brian C. Lane
229759f411 livemedia-creator: Clean up resultdir handling
(cherry picked from commit 3148a2b215)
2015-03-24 14:22:44 -07:00
Colin Walters
5155ff65ac Add ability for external templates to graft content into boot.iso
I originally added --add-template to support doing something similar
to pungi, which injects content into the system to be used by default.
However, this causes the content to be part of the squashfs, which
means PXE installations have to download significantly more data that
they may not need (if they actually want to pull the tree data from
the network, which is not an unusual case).

What I actually need is to be able to modify *both* the runtime image
and the arch-specific content.  For the runtime, I need to change
/usr/share/anaconda/interactive-defaults.ks to point to the new
content.  (Although, potentially we could patch Anaconda itself to
auto-detect an ostree repository configured in disk image, similar to
what it does for yum repositories)

For the arch-specfic image, I want to drop my content into the ISO
root.

So this patch adds --add-arch-template and --add-arch-template-var
in order to do the latter, while preserving the --add-template
to affect the runtime image.

Further, the templates will automatically graft in a directory named
"iso-graft/" from the working directory (if it exists).

(I suggest that external templates create a subdirectory named
 "content" to avoid clashes with any future lorax work)

Thus, this will be used by the Atomic Host lorax templates to inject
content/repo, but could be used by e.g. pungi to add content/rpms as
well.

I tried to avoid code deduplication by creating a new template for the
product.img bits and this, but that broke because the parent boot.iso
code needs access to the `${imggraft}` variable.  I think a real fix
here would involve turning the product.img, content/, *and* boot.iso
into a new template.

Conflicts:
	src/sbin/lorax
2015-03-22 08:48:07 -04:00
Brian C. Lane
ebf107a28e Automatic commit of package [lorax] release [22.7-1]. 2015-03-20 18:12:53 -07:00
Brian C. Lane
0f79920957 Include ld.so.conf (#1204031)
ldconfig runs at boot time, and some libraries apparently aren't setup
properly, so the config is needed to point to their directories.

(cherry picked from commit f130efdbc2)
2015-03-20 18:12:07 -07:00
Brian C. Lane
a0e35dbbe0 Keep logitech hid drivers (#1199770)
Some logitech mice need a driver.
2015-03-20 09:16:25 -07:00
Brian C. Lane
68656592e2 Automatic commit of package [lorax] release [22.6-1]. 2015-03-16 17:05:00 -07:00
Stephen Gallagher
c0b1063397 Don't erase /usr/lib/os.release.d
This directory now contains the standard and productized
/etc/os-release feeder files.
2015-03-16 15:34:14 -04:00
Brian C. Lane
a612c1ebd0 Fix Source0 for use with github 2015-02-12 17:06:42 -08:00
Brian C. Lane
281218b258 Automatic commit of package [lorax] release [22.5-1]. 2015-02-12 16:42:03 -08:00
Brian C. Lane
c97f3fb6e8 os-release moved to /usr/lib (#1191713)
Don't remove it or the symlink to it.
2015-02-11 11:46:36 -08:00
Brian C. Lane
3f77b80d6c Use /usr/bin/python2 in scripts
New packaging guidelines:

https://fedoraproject.org/wiki/Packaging:Python#Multiple_Python_Runtimes
https://fedorahosted.org/fpc/ticket/327#comment:9
2015-02-09 08:48:22 -08:00
Brian C. Lane
918c2c0cd1 Add bridge-utils (#1188812)
This allows dracut's bridge commands to be used.
2015-02-09 08:39:55 -08:00
Brian C. Lane
6c9a03bd0b Automatic commit of package [lorax] release [22.4-1]. 2015-02-06 17:57:58 -08:00
Brian C. Lane
30c21a1b97 livemedia-creator: Add --timeout option to cancel install after X minutes
Installations sometimes get stuck. This adds the option to cancel it
after some number of minutes have passed.
2015-02-02 12:44:32 -08:00
Radek Vykydal
c1d38a9c48 network: add support for bridge (#1075195)
Related: rhbz#1075195
2015-01-30 15:09:13 +01:00
Brian C. Lane
7bf916a2ad Move url and source to github in specfile 2015-01-29 11:20:32 -08:00
Brian C. Lane
eb9b778b61 Use %license in lorax.spec
https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#License_Text
2015-01-28 09:29:35 -08:00
Brian C. Lane
f825ef4919 Automatic commit of package [lorax] release [22.3-1]. 2015-01-23 17:38:08 -08:00
Brian C. Lane
3d01cd9129 livemedia-creator: Add documentation on using mock and livemedia-creator
As of anaconda version 22.15 you can run livemedia-creator and anaconda
inside a mock chroot to create iso and filesystem images.
2015-01-20 11:25:40 -08:00
Brian C. Lane
c231c2a63f livemedia-creator: Bump default releasever to 22 2015-01-20 10:59:18 -08:00
Marko Myllynen
eb5b886cea Change console font to eurlatgr
See https://fedoraproject.org/wiki/Changes/NewDefaultConsoleFont

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2015-01-19 10:10:18 -08:00
Brian C. Lane
ff8af1c8f4 Automatic commit of package [lorax] release [22.2-1]. 2015-01-16 16:54:18 -08:00
Radek Vykydal
5aa6bb5f0c Add --live-rootfs-keep-size option 2015-01-16 10:01:41 +01:00
Radek Vykydal
d16bdcaf6d Add --live-rootfs-size option. 2015-01-16 10:01:41 +01:00
Brian C. Lane
a55fe2259a livemedia-creator: Update example kickstarts
We don't need biosboot partitions, and the urls should point to rawhide.
On minimal installs dracut needs to have tar and dracut-network
explicitly included.
2015-01-15 09:39:15 -08:00
Brian C. Lane
879d831ffc livemedia-creator: Turn on debug output for dracut
Some dracut failures are hard to detect without debug enabled, so just
turn it on all the time.
2015-01-15 09:39:15 -08:00
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