Commit Graph

688 Commits

Author SHA1 Message Date
Brian C. Lane
dc663cd9bf Add a font that supports Urdu characters (#1004717) 2015-09-08 11:19:17 -07:00
Will Woods
52171ecf23 drop fedup-dracut and friends
This package will not exist soon. Don't bother trying to install it.
2015-08-31 16:24:39 -07:00
Will Woods
a3e1a275ff don't build upgrade.img anymore
fedup is deprecated and abandoned. Let's save time and disk by not
building `upgrade.img` when nothing is going to use it anymore.

For the record, performing upgrades using an initramfs from the new
system turns out to be fragile and hard to support:

* dracut initramfs isn't generic enough to handle booting all systems
  (e.g. missing vconsole.conf means you get keymaps wrong, so users
  can't unlock encrypted disks)

* The ABI differences between the two versions of plymouth, systemd,
  etc. requires nasty workarounds at best and causes nightmarish
  systemd crashes at worst

This patch removes all the code that built and installed `upgrade.img`.

For backwards compatibility, the API retains the `doupgrade` keyword
argument, and the `--noupgrade` flag is still accepted.
2015-08-31 16:24:39 -07:00
Chris Lumens
7c0f9cedc1 No longer offer a rescue boot menu option on liveinst (#1256061). 2015-08-27 13:35:26 -04:00
David Shea
88869fff66 Add enough of shadow-utils to create new user accounts.
Yes user accounts, some account management
2015-08-27 10:12:58 -04:00
Radek Vykydal
8ab53eb3b1 Add lldptool (#1085325)
Related: rhbz#1085325
(cherry picked from commit c124d8277d)
2015-08-12 09:36:28 -07:00
Peter Robinson
dc9bae9b68 some of the PowerPC utilities (powerpc-utils and fbset) need perl too
(cherry picked from commit 4794ba6a8e)
2015-08-07 16:52:00 -07:00
Brian C. Lane
57b7516857 Add a default vconsole.conf to the boot.iso (#1250260)
This is needed so that the initial console will use the correct font
(eurlatgr). See
https://fedoraproject.org//wiki/Changes/NewDefaultConsoleFont for more
detail.
2015-08-07 16:47:51 -07:00
David Shea
52b7c4dd06 Revert "Revert "Turn off ldconfig""
We really shouldn't need to run ldconfig on boot from read-only media,
unless someone messed up %post in a package. And the verify step will
catch that.

This reverts commit 3981ff5b79.
2015-07-20 16:18:20 -04:00
David Shea
89441cd675 Add back libraries needed by spice-vdagent
spice-vdagent, half of the thing that lets copy/paste work across a
spice connection, added sound support, I guess, so now we need
alsa-libs.
2015-07-20 16:18:20 -04:00
David Shea
1fa622e77c Remove some junk that didn't work anyway
systemd-nspawn is some kind of container thing, and cairo-sphinx, as far
as I can tell (go ahead, try to google it) is a cairo debugging tool.
Neither of these are particularly useful on installer media and both use
libraries that are removed during cleanup.
2015-07-20 16:18:20 -04:00
Brian C. Lane
d6584e1d77 Create an empty selinux config file (#1243168)
In order for selinux to properly label the system it needs to see that
the config file exists.

Also remove the old code trying to copy in a selinux config file, it
never worked -- the removepkg would remove it.
2015-07-20 11:32:31 -07:00
Radek Vykydal
c0516dd961 network: turn slaves autoconnection on
So we can activate master connection instead of searching for and activating
slave connections.

Makes turning bond/team device on in network spoke work.

Resolves: rhbz#1172751

It also causes a device configured in dracut to be properly reactivated as a slave
if it is configured so by kickstart.

Resolves: rhbz#1134090
2015-07-01 10:42:46 +02:00
Brian C. Lane
4342b8f40b Keep hyperv_fb driver in the image (#834791)
Hyper-V needs this.

Resolves: rhbz#834791
(cherry picked from commit b51ff60875)
2015-06-29 11:04:07 -07:00
Brian C. Lane
4c3595e797 Explicitly add kernel-modules and kernel-modules-extra
When it is left up to dnf to decide how to fulfill the kmod()
requirement from gfs2-utils it will pick kernel-debuginfo-* which adds
about 100M to the size of the iso.

Adding these packages first makes dnf choose them and the iso size is
back down around 450MB
2015-06-22 16:23:29 -07:00
Brian C. Lane
a4d350a177 Disable systemd-tmpfiles-clean (#1202545)
When the time changes dramatically it cleans up the files in /tmp/
causing problems with the installation.

Resolves: rhbz#1202545
2015-06-15 14:48:30 -07:00
David Shea
bbd1592f43 Remove some stale entires from runtime-install
iscsi-initator-utils and gobject-introspection actually are required via
anaconda rpm deps, so they aren't needed in runtime-install.tmpl.

Nothing seems to actually use python-imaging (i.e., python-pillow).

The executables for polkit, gnome-keyring and python-ethtool are removed
in runtime-cleanup, so if anything needs the libraries in these
packages, they can be pulled in through rpm dependencies. Among them,
only polkit is required.

For LUKS escrow stuff, keep the packages that provide the command-line
executables (volume_key, nss-tools), and remove the libraries. The
python2 libraries are no longer needed by blivet, and libblockdev will
install the C libraries it needs.

Install the dnf langpacks plugin instead of the yum one.

python-epdb is less useful now that anaconda is Python 3.
2015-06-10 16:32:29 -04:00
Brian C. Lane
da4456eda9 Stop moving sitecustomize into site-packages
Now that anaconda is python3 this is not needed.
2015-06-10 10:15:02 -07:00
Brian C. Lane
eb22c69f29 Additional python3 changes
Add a 'lower' filter to the templates to replace string.lower which no
longer exists. Fix udev_escape, the strings are already unicode, and
drop --chdir from runcmd. It wasn't ever used, and passing cwd to the
new runcmd isn't supported.
2015-05-15 17:11:20 -07:00
Brian C. Lane
d88cb00943 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 16:49:18 -07:00
Dan Horák
a2c2a4be28 Add product.img support for s390 templates 2015-04-29 11:30:59 -07:00
Brian C. Lane
a810cad542 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 13:38:51 -07:00
Brian C. Lane
f130efdbc2 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.
2015-03-20 17:27:33 -07:00
Brian C. Lane
3981ff5b79 Revert "Turn off ldconfig"
This reverts commit c4c90e0b5e.

Appears to be causing rhbz#1201897
2015-03-20 17:26:32 -07:00
Colin Walters
67217f5642 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.
2015-03-19 16:48:16 -04:00
Brian C. Lane
90dfe0cf81 Keep logitech hid drivers (#1199770)
Some logitech mice need a driver.
2015-03-17 16:45:18 -07:00
Stephen Gallagher
9ed9268cfa Don't erase /usr/lib/os.release.d
This directory now contains the standard and productized
/etc/os-release feeder files.
2015-03-16 13:12:03 -07:00
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
Brian C. Lane
00057c7b44 Revert "Add kexec anaconda addon (#1115914)"
This reverts commit f3f2aa4851.

The addon does not currently work, reverting it until it does and has
been tested so that it doesn't block further Fedora work by breaking the
installer iso.
2014-07-23 08:01:40 -07:00
Brian C. Lane
d828bed65d Disable dnf-makecache.timer (#1120368)
We don't want to update the dnf cache in the installation image. The
metadata will be downloaded when it is needed.
2014-07-18 14:46:23 -07:00
Vratislav Podzimek
668fe3aa4b Keep seq and getconf utilities in the image
They are needed by the zram.service.
2014-07-16 10:55:10 +02:00
Brian C. Lane
54acdd3f4b Allow _ in isolabel (#1118955) 2014-07-14 09:52:53 -07:00
Brian C. Lane
e1741763a9 Don't remove usr/lib/rpm/platform/ (#1116450)
This appears to cause the rpm-plugin-selinux to fail and some of the
selinux lebels aren't applied correctly.
2014-07-11 17:09:51 -07:00
Brian C. Lane
cf2407b618 Add xfsdump and remove extra files from xfsprogs (#1118654)
Resolves: rhbz#1118654
2014-07-11 10:07:00 -07:00
Brian C. Lane
f3f2aa4851 Add kexec anaconda addon (#1115914) 2014-07-11 09:42:19 -07:00
Brian C. Lane
a683940d59 Fix typo in lohit-telugu-fonts 2014-07-10 11:32:42 -07:00
Brian C. Lane
18beed1d27 Drop writing to resolv.conf in postinstall
This isn't needed. NetworkManager handles it.
2014-07-10 11:24:39 -07:00
David Shea
0d83979894 Convert metacity gconf settings into gsettings schema overrides
The settings in /apps/metacity/general are now covered by gsettings in
org.gnome.desktop.wm.preferences. The keybinding settings are already
covered by the overrides for org.gnome.desktop.wm.keybindings.
2014-07-02 11:57:18 -04:00
David Shea
894c4abd0b Add more keybindings to the gschema override
This covers all keys in org.gnome.desktop.wm.keybindings that still had
non-empty values
2014-07-02 11:57:18 -04:00
Peter Jones
c789f20b66 Don't emit media labels with spaces in them.
Spaces cause various bugs like #923374 and #855849 , and it would be
better if we just didn't use them.

Note that there's a corresponding pungi change to go with this.

Signed-off-by: Peter Jones <pjones@redhat.com>
2014-07-01 11:59:19 -04:00
Brian C. Lane
984ebfbef3 Remove biosdevname (#989209)
biosdevname has been replaced by systemd predictable network interface
names. See
https://fedoraproject.org/wiki/Features/SystemdPredictableNetworkInterfaceNames
for more background and bug 965718 for discussion.
2014-06-30 16:51:21 -07:00
Brian C. Lane
766300d82c The theme has been absorbed into gtk3
and is now the default, so just use it instead of writing a settings.ini
2014-06-27 07:58:52 -07:00
Brian C. Lane
f91881e1d6 Stop removing libcanberra-gtk3 libraries (#1111724)
metacity needs the library, leave it in the image.
2014-06-24 16:16:13 -07:00
David Shea
5f9cb25baf Keep virtio_console harder.
Kernel modules in F21 are compressed, so sometimes the file we want to
keep is virtio_console.ko.xz
2014-06-19 17:20:41 -04:00
Colin Walters
3345a97f35 runtime-install: Add rpm-ostree, move dnf here
rpm-ostree is a new payload type available in Anaconda, will be used
by Project Atomic (http://projectatomic.io) builds and the new Fedora
Cloud Docker Host.

dnf has previously existed, but as it's only required at installation
time, let's move it here as well.

Per discussion on the anaconda list, we don't want to pull these in as
a dependency of the "anaconda" package as initial-setup -> anaconda
which means they end up on every system.
2014-05-12 08:28:56 -07:00
Brian C. Lane
08d8f3b2fc Turn on debug output for mkefiboot
mkefiboot uses pylorax.imgutils, in order to capture information about
umount problems it needs to be run with --debug. This triggers the fuser
call to show what is holding the mount open.
2014-04-25 06:55:56 -07:00
Brian C. Lane
63d4e7adf2 Install specific lohit fonts instead of all of them (#1090390)
Tamil-Classical, Marathi, Nepali are variant of other lohit fonts.
Lohit Malayalam is not required as we are installing smc-meera-fonts.
2014-04-24 14:40:51 -07:00
d.marlin
f3ea6e13c6 Update grub2-efi.cfg for aarch64 to more closely match x86 (#1089418).
Resolves: rhbz#1089418.

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2014-04-21 14:03:53 -07:00
Brian C. Lane
edf2bdbf59 Install rdma so that dracut will use it along with libmlx4 (#1089564)
libmlx4 needs rdma, otherwise it is skipped when dracut builds the
initrd.

Resolves: rhbz#1089564
2014-04-21 13:59:37 -07:00
Brian C. Lane
127e6c7df1 Update syslinux 6.02 support for noarch change
syslinux-nonlinux is now noarch, update the template.
Add loading of the other syslinux modules to the live x86.tmpl
2014-04-15 13:17:39 -07:00
Colin Walters
17eee3ab1a runtime-cleanup: Do install GPG
OSTree actually does check gpg keys.  All we'll have to do is install
the package into the boot.iso environment with them.
2014-04-14 17:50:39 -07:00
Brian C. Lane
e38e17259d Update to support syslinux 6.02 2014-04-10 17:26:03 -07:00
Brian C. Lane
1007542aa7 Use BOOTAA64.efi for AARCH64 bootloader filename (#1080113)
Need to stay withing the FAT filename 8.3 limits

Resolves: rhbz#1080113
2014-04-02 16:57:08 -07:00
Brian C. Lane
88e6c49bd5 Stop removing curl after adding it
curl is useful for things like kickstart %pre and %post
2014-04-01 10:45:57 -07:00
Mark Hamzy
cc2f98bfc5 support ppc64le in lorax
Add support for the ppc64le architecture in lorax.

Signed-off-by: Brian C. Lane <bcl@redhat.com>
2014-03-27 10:06:41 -07:00
Brian C. Lane
f3059db6cc Install bzip2 for liveimg tar.bz2 support 2014-03-26 10:00:20 -07:00
Brian C. Lane
5bc2268a4b Remove obsolete firstaidkit packages (#1076237) 2014-03-14 17:11:10 -07:00
Brian C. Lane
e172803d4a createrepo is needed by driver disks (#1016004)
deltarpm is needed by createrepo.

Related: rhbz#1016004
2014-02-26 10:13:20 -08:00
d.marlin
9ec64933db Improve aarch64 UEFI support (#1067671)
Update the templates and config file to better support EFI on aarch64
on 64-bit ARM.

Resolves: rhbz#1067671

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2014-02-24 12:59:21 -08:00
David Shea
0bbd00a807 Don't remove libraries from bind-libs-lite
dhclient links to libirs-export and libisccfg-export now.
2014-02-06 14:55:47 +01:00
Brian C. Lane
9ce0c83d36 Install aajohan-comfortaa-fonts (#1047430)
Comfortaa is needed by the Fedora SVG ransome notes.
2014-01-30 16:49:57 -08:00
Brian C. Lane
96e5925cf8 Include mesa-dri-drivers (#1053940)
Radeon cards need these.

Resolves: rhbz#1053940
2014-01-28 15:09:34 -08:00
Will Woods
dff15426f1 Activate anaconda-shell@.service on switch to empty VT (#980062)
Right now, logind reserves tty6 for a login shell, which is not what we
want - normally anaconda puts Xorg there, and there's no need for a
login prompt anyway.

This configures logind to activate "anaconda-shell@.service" when a user
switches to an unused tty, and reserves tty2 for that purpose (which is
where users expect a shell anyway).

This will avoid us having login prompts that users don't know what to do
with. It also probably saves us a little bit of RAM.
2014-01-21 13:34:31 -05:00
d.marlin
f0d1c76ea4 Add initial 64-bit ARM (aarch64) support (#1034432)
Signed-off-by: Brian C. Lane <bcl@redhat.com>

Resolves: rhbz#1034432
2013-12-17 10:07:32 -08:00
Brian C. Lane
fa376be19b s390 switch to generic condev (#1042766) 2013-12-13 11:21:47 -08:00
Brian C. Lane
e0ff5eb254 sort glob output before using it 2013-12-13 09:33:02 -08:00
Erik Larsson
0b825ab3ab Bless grub2 for PPC (#1020112) 2013-12-11 10:27:12 -08:00
Adam Williamson
9f748f6839 drop 'xdriver=vesa' from basic graphics mode parameters (per ajax) 2013-11-18 14:26:38 -08:00
Brian C. Lane
2184b1c2cb Include partx (#1022899)
Used by lvm on multipath.

Resolves: rhbz#1022899
2013-11-14 13:47:42 -08:00
Vratislav Podzimek
0b741d714b Do not remove libdaemon from the runtime environment (#1028938)
It is needed by the new NetworkManager.
2013-11-11 13:01:10 +01:00
Brian C. Lane
c8aec4f7ff Set UEFI defaults to match BIOS (#1021451,#1021446)
60 second timeout and default to testing media.

Resolves: rhbz#1021451
Resolves: rhbz#1021446
2013-11-01 11:16:50 -07:00
Dennis Gilmore
2195ef60e8 ARM: install the dtb files into the install tree.
needed for netbooting platforms that dont provide their own dtb file.
2013-10-16 18:06:27 -05:00
Dennis Gilmore
8d84e9d25a ARM: Don't install or deal with in templates, no longer existing kernels
remove no longer used kernel variants from templates
dont try to install no longer existing kernel-tegra variant
2013-10-16 18:06:20 -05:00
Brian C. Lane
5efe03f3e8 Keep virtio_console module (#1019564)
If virtio_console is a module we need to leave it in place when cleaning
the image. It will be loaded automatically when needed.
2013-10-16 14:32:58 -07:00
Brian C. Lane
c3367acd68 drop dracut args from config files (#1008054)
It no longer autoassembles things so we don't need to pass rd.md=0, etc.
2013-09-24 17:01:36 -07:00
David W. Aquilina
71d1461e3f Yaboot to grub2 conversion cleanup. 2013-09-09 16:30:31 -07:00
Vratislav Podzimek
c80d48e7aa Firstboot is not an anaconda dependency
Moreover, it doesn't even exist in the F20 tree.
2013-09-05 08:59:51 +02:00
Brian C. Lane
1a47e68c44 remove firewalld from installroot (#1002195) 2013-09-03 10:14:13 -07:00
Brian C. Lane
56c216e7d4 Make sure grubby is installed for initrd creation (#1001896)
Some things need grubby. But they don't want to require them. So we make
sure it is available for other packages to use while building the
images.

Note that it is still removed in the cleanup script, and when installing
a system the grubby used will be the one pulled from the install repo.
2013-09-03 09:24:33 -07:00
Paulo Flabiano Smorigo
44638fbc8d GRUB2 as the ISO boot loader for POWER arch
Currently, yaboot is the ISO boot loader in fedora and the Fedora on
POWER team is making an effort in order to replace it by GRUB2 in the
F20 release cycle. I'm sending a lorax patch so you guys can comment
on it. I'm planning to create a feature page for that too.

This patch only change the lorax template for ppc and should not
affect other archs, like x86.

--
Paulo Flabiano Smorigo
Software Engineer
Linux Technology Center - IBM Systems & Technology Group
2013-08-28 16:06:48 -07:00
Chris Lumens
875cbd0d74 Make sure we have a theme settings file in place.
We need this because there's no settings daemon running, but running one
would be the alternate fix.
2013-08-22 16:17:17 -04:00
David Shea
d001ff409a Keep liblzo2.* (#997643)
/usr/lib*/realmd/realmd needs liblzo2.
2013-08-16 10:40:35 -04:00
David Shea
96ecdd4e6e Run spice-vdagentd without systemd-logind integration (#969405)
The system-wide spice guest agent, spice-vdagentd, normally uses
systemd-logind to determine which of the per-session spice-vdagent
instances it should be communicating with. On the non-live media, the X
session isn't registered with systemd-logind, so instead start
spice-vdagentd with -X to disable the systemd-logind integration and
serve instead to a single spice-vdagent.
2013-08-06 14:35:48 -04:00
Harald Hoyer
2402b6a85f dracut-nohostonly and dracut-norescue got renamed for dracut >= 030 2013-08-01 09:04:29 -07:00
Peter Jones
99b9300602 EFI and related packages are only for x86_64
Conditionalize shim and grub2-efi and whatnot on being x86_64 for now -
at some point they'll turn into "efi architectures" and maybe even split
for SB vs not SB, but for now, this is fine.

Signed-off-by: Peter Jones <pjones@redhat.com>
2013-08-01 10:17:48 -04:00
David Shea
f3cd910c11 Don't remove xkeyboard-config message files (#972236)
The xkeybard-config .mo files are needed to translate the layout
switching options. The xklavier calls in anaconda will automatically
translate the option strings as long as the translations are present.
2013-07-29 16:23:11 -04:00
David Lehman
5c21f3904e Include device-mapper-persistent-data in images for thinp support. 2013-06-27 11:23:47 -05:00
Brian C. Lane
649f752c7b Let sshd decide which keys to create (#971856)
In fips mode creation of the protocol 1 key causes it to hang. This
removes the explicit HostKey entries and lets sshd decide which keys to
create when it starts.
2013-06-13 08:39:17 -07:00
Brian C. Lane
d0779835b4 Don't remove thbrk.tri (#886250) 2013-06-12 13:22:18 -07:00
Brian C. Lane
2b9f7cf7ab Switch from xorg-x11-fonts-ethiopic to sil-abyssinica-fonts (#875664) 2013-06-12 11:03:13 -07:00
Chris Lumens
657228d4fc Make ignoring yum_lock messages in anaconda easier. 2013-06-07 14:11:01 -04:00
Martin Kolman
e1b51a8aac Add command for opening anaconda log file to history
Add a command that opens the anaconda.log file located in /tmp
with less. The command is added as the most recently used.

Signed-off-by: Martin Kolman <mkolman@gmail.com>
2013-05-14 09:08:23 -07:00
Vratislav Podzimek
2b9f0afbac Do not install chrony and rdate explicitly
These are pulled as Anaconda's dependencies and shouldn't be listed here
explicitly.

Signed-off-by: Vratislav Podzimek <vpodzime@redhat.com>
2013-05-09 09:33:29 -07:00
Will Woods
270cb8272e Remove /var/log/journal so journald won't write to overlay
It's pretty pointless to copy data from /run/log/journal to
/var/log/journal, since both of those are in-memory filesystems.

This should somewhat reduce RAM use during installation.
2013-04-29 13:44:42 -04:00
Brian C. Lane
4664095e45 Leave /etc/os-release in the initrd (#956241)
systemd needs /etc/os-release, otherwise switch-root will fail.
2013-04-26 08:56:25 -07:00
Dan Horák
5471e6d806 no standalone modutils package
Resolves this error on s390x:
...
running runtime-install.tmpl
installpkg modutils failed: No package(s) available to install
Looking for extra fedup-dracut packages...
...
2013-04-23 10:33:38 +02:00
Dennis Gilmore
d751ac82db remove no longer supported arm kernel variants add the new lpae one 2013-04-17 16:21:23 -07:00
David Lehman
577d9cc954 Let devices get detected and started automatically.
Also stop masking fedora-storage-* units as they no longer exist.
2013-04-08 09:54:42 -05:00
Jan Stodola
e3432dcde7 Do not remove files required by tools from the s390utils-base package.
This patch will keep following files in installation images:
/usr/bin/dirname
/usr/bin/getopt
/usr/sbin/ethtool
2013-03-26 16:20:41 -07:00
Will Woods
e7a75d281f runtime: install dracut-{nohostonly,norescue}
dracut tries to build hostonly initrd by default without the nohostonly
package/config; this results in a bunch of error messages about missing
files in proc and sys, and then the resulting initrd doesn't work 'cuz
it doesn't have any drivers for anything.
2013-03-19 00:47:58 -04:00
Will Woods
7274f6095a runtime-install: install shim-unsigned
Otherwise you get errors about missing MokManager.efi if shim doesn't
exist in the repos (e.g. before the Alpha build)
2013-03-19 00:47:58 -04:00
Brian C. Lane
035f8648bc Add explicit install of net-tools (#921619) 2013-03-14 10:44:33 -07:00
Brian C. Lane
b7d127946b Don't remove hmac files for ssh and sshd (#882153) 2013-03-13 08:12:36 -07:00
Dennis Gilmore
a4cf3c3c7c remove sparc support
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2013-03-04 14:18:45 +01:00
Brian C. Lane
73717a5288 Make sure tmpfs is enabled (#908253) 2013-02-14 16:55:46 -08:00
Brian C. Lane
93aaf8c81f add syslinux and ssm
The x86 template needs syslinux to be installed.
system-storage-manager is useful in rescue mode.
2013-02-12 10:36:00 -08:00
Dan Horák
d2081f2a21 tigervnc-server-module depends on Xorg, which doesn't exist on s390x 2013-01-31 08:58:51 -08:00
Dan Horák
8b81ae765d tools not existing on s390x 2013-01-31 08:58:51 -08:00
Dan Horák
3b8187752b specspo is dead for a long time 2013-01-31 08:58:51 -08:00
Dan Horák
aebb8654ec no Xorg on s390x 2013-01-31 08:58:51 -08:00
Daniel Mach
d79e250b9b Make boot configs consistent.
Make kernel args the same in every config.
Put 'quiet' at the end of the line - it's usually the first thing a user removes when debugging.
Fill missing product versions in.
Distinguish between 'install' (installation media) and 'start' (live media).
2013-01-30 13:15:02 +01:00
d.marlin
f921a362f9 Dynamically generate the list of installed platforms for .treeinfo
The list of ARM platforms was represented as a static list to be
installed in .treeinfo for Beaker support, but as ARM moves to use
the multiplatform kernel the platform specific kernel images will
no longer be needed.  This process is beginning in F18 (3.7 kernel)
with HighBank being the first to use the baseline kernel.  Due to
this change, there will be no 'highbank' platform images, but Beaker
tries to import all platforms listed in .treeinfo.  To avoid errors,
we should dynamically create the list of ARM plaforms, including
only those that are actually provided.

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
2013-01-25 17:53:09 -08:00
d.marlin
53675e36ef Add a U-Boot wrapped image of 'upgrade.img'.
For ARM systems that require U-Boot wrapped images,
perform mkimage to create one for 'upgrade.img'.

Signed-off-by: David A. Marlin <dmarlin@redhat.com>
2013-01-25 17:53:09 -08:00
Vratislav Podzimek
cfa82ee93f Add trigger for Anaconda's exception handling to bash_history
Sending SIGUSR1 to the Anaconda process raises an exception with
some random data. This can be used to test exception handling and
bug reporting.
2013-01-21 12:40:39 +01:00
Daniel Mach
68f7637cab Fix gcdx64.efi path to work for other distros than Fedora. 2013-01-08 11:59:33 +01:00
Martin Gracik
da238e18fc Do not remove gtk3 share files
Resolves: rhbz#875846
2012-12-20 12:35:37 +01:00
Daniel Mach
356482d75e Several 'doupgrade' fixes in the x86 template. 2012-12-19 10:04:06 +01:00
Martin Gracik
1d6d3fcce1 Missing semicolon 2012-12-19 08:53:08 +01:00
Martin Gracik
f968b046fe Only run installupgradeinitrd if upgrade on s390x 2012-12-18 15:08:15 +01:00
Martin Gracik
a0791d3074 Only run installupgradeinitrd if upgrade 2012-12-18 14:31:45 +01:00
Dan Horák
d0c2e24eab use correct variable for upgrade image on s390 2012-12-11 12:05:31 +01:00
Dan Horák
1eafcc65e9 only ix86/x86_64 and ppc/ppc64 need grub2
AFAIK grub2 is used only ix86/x86_64 and ppc/pcc64 arches. This will silence
the error thrown on arches where the package doesn't exist.
2012-12-11 12:03:04 +01:00
Dan Horák
a5abaf883a no mount (sub-)package since RHEL-2 2012-12-11 11:14:18 +01:00
d.marlin
b039e50294 Correct argument to installupgradeinitrd.
Signed-off-by: David A. Marlin <dmarlin@redhat.com>
2012-12-05 17:22:44 -08:00
Brian C. Lane
5fdf15b4ac remove multipath rules (#880263)
This is a temporary fix until multipath can be updated.
2012-12-05 10:39:24 -08:00
Dennis Gilmore
78e3d0f115 add installupgradeinitrd function and use it to install the upgrade initrds 2012-11-30 13:28:38 -06:00
Dennis Gilmore
138cb06cd5 use installinitrd to install the upgrade.img initramfs so that we get correct permissions 2012-11-30 13:28:38 -06:00
Dennis Gilmore
69c251aa20 ppc and arm need to use kernel.upgrade not kernel.upgrader 2012-11-30 13:28:38 -06:00
Dennis Gilmore
2b1fcaefd0 remove upgrade from the sparc and sysylinux config templates 2012-11-30 13:28:38 -06:00
Will Woods
88f027d506 make templates install upgrade.img 2012-11-30 13:28:38 -06:00
Will Woods
b5eb38ae97 build fedup upgrade.img
Use rebuild_initrds() with prefix='upgrade' to build upgrade.img with
the fedup "system-upgrade" module(s) inside.
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
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
Jesse Keating
f2bcfafa85 Change the install user's shell for tmux 2012-10-11 10:25:56 -07: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
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
Martin Gracik
fb69670ea8 There's no lang-table in anaconda anymore (#857925) 2012-09-17 11:41:39 -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
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
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
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
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
Radek Vykydal
42e3d27ff1 nm-connection-editor was moved to separate package (#849056) 2012-08-20 10:22:47 +02: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
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
d.marlin
0f02b5c920 Add platforms to the treeinfo for Beaker support. 2012-08-13 15:39:53 +02: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
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
Will Woods
5437557846 Don't set a root= argument (#837208)
Using root= overrides the anaconda magic code for finding product.img
and updates.img. Anaconda can find the CDROM itself without needing
root=, though, so we can omit it safely for boot.iso.
2012-07-10 09:58:48 +02:00
Martin Gracik
4715134502 Don't remove the id tool (#836493) 2012-07-10 09:57:57 +02:00
Martin Gracik
b75422d94e Xauth is in bin (#837317) 2012-07-10 09:57:57 +02:00
Chris Lumens
b7fe01db89 newui requires checkisomd5 to run media check. 2012-07-02 11:08:39 -04:00
Martin Gracik
30cb18a9ec Add initial support for ARM based systems (dmarlin) 2012-06-21 09:33:53 +02:00
Will Woods
6d1e637731 Add plymouth to the installer runtime
Now we can have bootsplash if we want. Whee!
2012-06-19 20:00:00 -04:00
Will Woods
3a75b2e07d add 'systemctl' command and use it in postinstall
The 'systemctl' command can be used to enable, disable, or mask systemd
units inside the runtime being modified. Modify runtime-postinstall.tmpl
to use the 'systemctl' command.

We also no longer remove quota*.service or kexec*.service, since
these aren't enabled by default. And systemd-remount-api-vfs.service
should work correctly now, so we can leave it alone as well.
2012-06-19 20:00:00 -04:00
Will Woods
8d49fcdc24 add dracut-shutdown.service (and its dependencies)
We need the initramfs around to reboot properly. If it's packed up in
/boot we need this service to unpack it. If it's not there, the service
does nothing, so this patch won't hurt anything.

Also add pigz, which speeds up compression nicely (for use in
anaconda-cleanup-initramfs.service).
2012-06-19 20:00:00 -04:00
Will Woods
f36f775146 leave pregenerated locale files (save RAM)
Now that the runtime contents remain compressed and aren't always stored
in RAM, it generally takes less RAM to keep these around than to run
'localedef' in anaconda.

This switches us back to the old pre-lorax method for setting up the
locale archive - see e.g. anaconda commit ea71816d
2012-06-19 20:00:00 -04:00
Will Woods
7150cad31b runtime-cleanup: log broken symlinks being removed
Print out a message about each broken symlink being removed. Also, no
need to bother looking in /lib since it's just a symlink to /usr/lib.
2012-06-19 19:59:59 -04:00
Will Woods
00272dec94 remove dmidecode
current anaconda-dracut doesn't need this; drop it from the runtime.
2012-06-19 19:59:59 -04:00
Will Woods
e16e466a77 clean up net-tools properly
The 'removefrom net-tools' lines were trying to delete a bunch of things
that don't exist anymore, or have changed paths. Fix 'em up.
2012-06-19 19:59:59 -04:00
Will Woods
46b405d40a runtime-cleanup: correctly clean up kbd
The 'removefrom kbd' line wasn't deleting anything because it was
looking in the wrong place. It was also kind of wordy.

This version should keep the needed binaries and remove the stuff we
don't need, as intended.
2012-06-19 19:59:59 -04:00
Will Woods
a6d3b9355b runtime-cleanup: correctly clean up iproute
iproute's binaries moved to /usr/sbin, so they were *all* getting
removed by the '/usr/*' glob. iscsi's NetworkManager dispatcher script
uses 'ip' so this might be needed for proper iscsi support; at the very
least it quiets some error messages from NM. It's also pretty likely
people's kickstart scripts use 'ip' utility, so we'd better make sure
it's still available.
2012-06-19 19:59:59 -04:00
Will Woods
886e0c1557 runtime-cleanup: drop a bunch of do-nothing removals
Remove a bunch of useless 'removefrom' lines that did nothing but cause
"no files to remove!" messages in lorax logs.

- ConsoleKit isn't in the anaconda runtime
- update-gtk-immodules isn't in gtk3
- there's nothing in /usr/share/selinux in selinux-policy-targeted
- zenity doesn't have a /usr/share/omf directory
- libpng moved to libpng15.*; actually removing it breaks the GUI
- pcmciautils' binaries are in /sbin, not /usr/sbin. They're only 7kb,
  so let's just keep 'em.

This should have *no effect* on the contents of the runtime images.
2012-06-19 19:59:59 -04:00
Will Woods
68f97a3cfd Create missing /etc/fstab
Some things (e.g. systemd-remount-api-vfs) fail if /etc/fstab is
missing, but work fine if it's empty. So create it.
2012-06-19 19:59:20 -04:00
Will Woods
24a6430098 Fix systemd unit cleanup in runtime-postinstall
A lot of the systemd unit files got moved around due to UsrMove, so
these lines weren't removing the services as expected.

Fix the paths and they all work. This eliminates the "FAILED"
message from systemd-remount-api-vfs.service and plymouth-start.service.

Oh - and the ConsoleKit removal got dropped 'cuz ConsoleKit isn't in the
installer images anymore.
2012-06-17 15:34:20 -04:00
Martin Gracik
ebbd13c93c Disable Alt+Tab in metacity 2012-06-14 14:54:35 +02:00
Brian C. Lane
f73545471b Add grub2 so that rescue is more useful 2012-06-04 14:42:57 -07:00
Martin Gracik
3636fd5814 Do not remove shared-mime-info (#825960) 2012-06-04 16:14:38 +02:00
Brian C. Lane
6e2fdfe23f livemedia-creator: Add appliance creation
This adds support for creating an appliance description file for the
disk image. Mako templates are used to make it easy to support other
appliance targets. The included example works with virt-image.
2012-06-01 11:15:21 -07:00
Martin Gracik
98cbc409d1 Don't remove sha256sum from the install image 2012-05-31 16:38:29 +02:00
Martin Gracik
cd0b4458ba Install rpcbind (#824835)
Dracut nfs module needs it.
2012-05-29 12:59:46 +02:00
Martin Gracik
7ba6af6d29 Copy mapping and magic to BOOTDIR on ppc (#815550) 2012-05-25 13:47:33 +02:00
Will Woods
26f7a706e9 remove 'loadkeys' stub (#804306)
Just use the regular 'loadkeys' binary, for pity's sake.
2012-05-25 08:54:28 +02:00
Dan Horák
5b6bc40e79 include the new cmsfs-fuse interface
dracut now reads the additional config files for anaconda and uses the new cmsfs-fuse
interface to the CMS filesystem instead of the old cmsfs tools
2012-05-25 08:51:00 +02:00
Dan Horák
00ec88dac7 linuxrc.s390 is dead in anaconda 2012-05-25 08:48:39 +02:00
Martin Gracik
d731825363 Add the ppc magic file 2012-05-25 08:48:25 +02:00
Martin Gracik
910c54e394 Install proper branding packages from repo (#813969)
The product string is not the best source for package names.
2012-05-25 08:48:14 +02:00
Martin Gracik
a17746f69c Use --mac for isohybrid only if doing macboot images 2012-05-25 08:48:03 +02:00
Martin Gracik
6f3d8b55f3 Add --nomacboot option
Needed for systems without hfsplus support.
2012-05-25 08:47:52 +02:00
Vratislav Podzimek
d96ae3245c Add packages needed for NTP functionality in the installer
We need chrony package for the daemon and rdate for lightweight
and fast testing of the server availability.
2012-05-21 16:37:19 +02:00
Brian C. Lane
b1ba9cacca stop moving /run (#818918)
This was a hack, /run is on tmpfs so lorax should leave it to the apps
to create their own directories.
2012-05-08 10:45:03 -07:00
Martin Gracik
1b4c61c68e Added BCM4331 firmware (#817151) 2012-05-03 11:00:34 -07:00
Matthew Garrett
3aa1fcadb9 mkefiboot: Add support for disk label files
The Apple boot picker provides drive names by reading small icon files
off the filesystem. Add support for including them.
2012-05-03 10:03:13 -07:00
Will Woods
c03ac93997 Add 'tmux' to runtime image
Having tmux would let us set things up so we can run all our 'terminals'
(shell, log output, etc) inside one terminal. Useful for headless stuff.
2012-04-27 14:26:18 -04:00
Will Woods
9d90760f93 Add /etc/sysctl.d/anaconda.conf, set kernel.printk=1 (#816022)
We use this to set various sysctl settings, like setting kernel.printk=1
so we don't get the screen all crudded up with kernel messages during
text-mode installs.
2012-04-27 14:25:50 -04:00