Commit Graph

457 Commits

Author SHA1 Message Date
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