David Shea
26d8c14796
Create upgrade.img using redhat-upgrade-dracut
...
Use redhat-upgrade-dracut for the RHEL version of the system-upgrade
dracut module. upgrade.img also needs the convertfs module for upgrades
from RHEL6.
Resolves: rhbz#1029999
2013-11-13 13:07:20 -05:00
Vratislav Podzimek
123728393d
Do not remove libdaemon from the runtime environment ( #1028938 )
...
It is needed by the new NetworkManager.
2013-11-11 12:46:37 +01:00
Brian C. Lane
09490877a0
Install subscription-manager ( #1026304 )
...
Only use the product-id plugin.
Resolves: rhbz#1026304
2013-11-04 11:29:52 -08:00
Brian C. Lane
12e03abfa9
Set UEFI defaults to match BIOS (#1021451,#1021446)
...
60 second timeout and default to testing media.
Resolves: rhbz#1021451
Resolves: rhbz#1021446
2013-10-31 16:17:12 -07:00
Brian C. Lane
dccaa0eeb0
Keep virtio_console module ( #750231 )
...
virtio_console is a module in RHEL7, so we need to leave it in place
when cleaning the image. It will be loaded automatically when needed.
2013-10-11 13:34:49 -07:00
Brian C. Lane
e8f114b4cb
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:12 -07:00
Brian C. Lane
7d83abb8d0
livemedia-creator: Fix gcdx64.efi path to work for other distros than Fedora ( #1003078 )
2013-09-18 16:59:32 -07:00
David Shea
186999b5da
Keep liblzo2.* ( #997976 )
...
/usr/lib*/realmd/realmd needs liblzo2.
(cherry picked from commit d001ff409a
)
2013-08-16 12:24:57 -04:00
Harald Hoyer
22a36d3a81
dracut-nohostonly and dracut-norescue got renamed for dracut >= 030 ( #990305 )
2013-08-01 10:05:08 -07:00
David Shea
2ea99b1810
Don't remove xkeyboard-config message files ( #989757 )
...
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 17:14:19 -04:00
Brian C. Lane
96991655b4
remove yum-plugin-fastestmirror ( #876135 )
2013-07-26 16:35:23 -07: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