Commit Graph

461 Commits

Author SHA1 Message Date
Brian C. Lane
c4c90e0b5e Turn off ldconfig
We don't need to update ldconfig when running the boot.iso, disable it
to speed up the boot.
2015-03-06 11:26:50 -08:00
Brian C. Lane
11c9e0e8ee Add removekmod template command
removekmod GLOB [GLOB...] --allbut KEEPGLOB [KEEPGLOB...]

This can be used to remove kernel modules from under
/lib/modules/*/kernel/ while keeping specific items. This should be
easier than constructing find arguments to select the right things to
save.
2015-03-06 11:26:14 -08:00
Brian C. Lane
c548084ccf Move stage2 to images/install.img (#815275)
Use the same stage2 location for all arches, put it in images with all
the other images. This only effects boot.iso, live images still use
LiveOS/squashfs.img because that's where dracut's 90dmsquashfs-live
module expects to find it.

For boot.iso anaconda-dracut handles finding stage2, looking at
images/install.img and LiveOS/squashfs.img
2015-03-03 09:01:21 -08:00
David Shea
df411094ac Explicitly install notification-daemon
This prevents dnf from making some unfortunate choices when depsolving
libnotify.
2015-02-18 17:07:29 -05: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
918c2c0cd1 Add bridge-utils (#1188812)
This allows dracut's bridge commands to be used.
2015-02-09 08:39:55 -08:00
Radek Vykydal
c1d38a9c48 network: add support for bridge (#1075195)
Related: rhbz#1075195
2015-01-30 15:09:13 +01: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
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
Brian C. Lane
d4ead31bbb Use gcdaa64.efi on aarch64 (#1174475) 2015-01-14 07:50:33 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Chris Lumens
05ebf4ffcd Rework how including /usr/share/doc/anaconda works.
A string passed to runcmd cannot contain a pipe character.  So instead
of further find magic, I'm just going to move the directory out of the
way, take care of the deletion, and then move it back.
2014-09-24 12:51:08 -04:00
Chris Lumens
2bd4637336 Don't remove /usr/share/doc/anaconda.
That's where the help is stored.
2014-09-23 16:39:17 -04:00
Chris Lumens
953611646c Stop removing libXt from the installation media.
It's needed by yelp, which is how anaconda displays help.
2014-09-23 16:39:17 -04:00
David Shea
7e66ceb9b6 Remove at-spi
at-spi is the old accessibility library, deprecated in these gtk3 times
by at-spi2-atk. at-spi-corba has been replaced with atk-bridge.
at-spi2-atk is a dependency of gtk3, so there's no need to explicitly
add it.
2014-09-22 17:16:49 -04:00
Adam Williamson
bc9b40f18f add fedora-repos-anaconda to runtime environment
This is a virtual provides that should install the product specific yum
repo files in /etc/yum.repos.d/ with the one matching the product name
enabled. Eg. fedora-server.repo with an id of fedora-server and
enabled=1

Anaconda will then use this repository when 'Closest Mirror' is selected
as the installation source.

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2014-09-15 13:05:41 -07:00
Brian C. Lane
8a804d10e5 Add more tools for rescue mode (#1109785)
This adds od, hexdump, hexedit, gdisk, and binaries from sg3_utils

Resolves: rhbz#1109785
2014-09-09 11:25:55 -07:00
Brian C. Lane
364ce363f7 Add ppc64le arch (#1136490)
basearch is ppc64le so we needs to check for that in addition to ppc64.

Resolves:rhbz#1136490
2014-09-03 10:41:42 -07:00
Dan Horák
e92ea26206 allow setting additional dracut parameters for DVD s390x installs
The installation from DVD on s390x needs setting the target disks and
network information that are usually set by editing the generic.prm file.
By including the "rd.cmdline=ask" parameter dracut will open a simple
dialog so the user can enter the required information.
2014-08-29 15:28:46 -07:00
Brian C. Lane
ca058678d4 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
(cherry picked from commit da8326fd58)
2014-08-27 16:41:54 -07:00
Brian C. Lane
c8afae35b4 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
(cherry picked from commit 59f256e989)
2014-08-27 16:40:50 -07:00
David Lehman
f035057ef0 Include /sbin/ldconfig from glibc.
python-pyudev needs it.
2014-08-19 11:24:10 -05:00
Brian C. Lane
0126945e92 Add ipmitool and drivers (#1126009)
Add the ipmi tools and keep the impi drivers in the image.

Resolves: rhbz#1126009
2014-08-12 14:29:23 -07:00
Brian C. Lane
41a289fc0e Add kexec anaconda addon (#1115914)
Tested against current boot.iso
2014-07-25 14:43:25 -07:00