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
Will Woods
42737f0abf
keep all filesystem tools
...
This adds ~700kb to the installer runtime, but it also adds a lot of
useful filesystem tools and reduces complexity a bit. A fair trade!
2012-04-24 14:47:42 -04:00
Martin Gracik
ef214183ec
Leave some of the grub2 utilities in the install image ( #749323 )
2012-04-24 14:47:41 -04:00
Brian C. Lane
5ca1aa089e
add media check menu option
...
Add an option to check the media
2012-04-23 08:24:34 -07:00
Brian C. Lane
371e59d27f
remove unneeded dracut bootargs
...
anaconda-dracut now adds these itself.
2012-04-23 08:24:34 -07:00
Brian C. Lane
60f8c9fabe
add gdisk to install image ( #811083 )
...
Add gdisk and related tools to the install image.
2012-04-12 08:29:39 -07:00
Martin Gracik
5d026fed46
Don't use --allbut for xfsprogs cleanup ( #804779 )
2012-04-12 08:29:17 -07:00
Martin Gracik
d45e583c7b
Add spice-vdagent to initrd ( #804739 )
2012-04-12 08:28:47 -07:00
Martin Gracik
fd984f77f9
Add ntfs-3g to initrd ( #804302 )
2012-04-12 08:28:36 -07:00
Brian C. Lane
159f9eac3d
ntfs-3g now uses /usr/lib ( #810039 )
2012-04-05 07:47:42 -07:00
Matthew Garrett
bb18614c3b
mkefiboot: Make Apple boot images appear in the startup preferences
...
There's a small amount of additional metadata required for the Mac boot
images to appear as bootable devices in the startup preferencs, so add
support for generating that.
Signed-off-by: Brian C. Lane <bcl@redhat.com>
2012-03-30 13:23:02 -07:00
Will Woods
b856297986
add symlink from /mnt/install -> /run/install
...
Since noloader mounts stuff under /run/install, but anaconda (and
people's scripts etc.) look under /mnt/install, make a symlink so
everything works as expected.
2012-03-30 13:22:54 -07:00
Will Woods
1fe6e6ce54
Don't trash all the initscripts 'fedora*' services
...
We need some of them (fedora-import-state.service), so let's just
disable the ones that cause us problems (mostly fedora-storage*).
2012-03-30 13:22:48 -07:00
Will Woods
562be7eaec
remove anaconda-copy-ks.sh
...
anaconda-copy-ks.sh is included in the 'anaconda' dracut module, so we
don't need to install it here anymore.
2012-03-30 13:22:48 -07:00
Will Woods
2d9a56a9ec
add anaconda dracut module
...
Install the anaconda dracut module during 'install', use it when
rebuilding initramfs, and clean it up afterward.
Also install '.buildstamp' into the initramfs (the anconda module wants
it).
2012-03-30 13:22:48 -07:00
Will Woods
34f5397768
runtime-postinstall: remove references to loader
...
No more loader. Bye-bye, loader.
2012-03-30 13:22:48 -07:00
Will Woods
d61f330462
runtime-postinstall: remove keymap stuff
...
anaconda no longer contains the keymap overrides and systemd should be
handling keymap stuff for us, so this isn't necessary.
2012-03-30 13:22:48 -07:00
Martin Gracik
4e3c11c5eb
Add the icfg package ( #771733 )
2012-03-30 13:22:48 -07:00
Martin Gracik
4762c45b22
Fix product name replacing in templates ( #799919 )
...
The product name may contain spaces, so it needs
to be in quotes, otherwise the other words get stripped.
2012-03-30 13:22:45 -07:00
Brian C. Lane
6c93dcde9a
add iscsi-initiator-utils ( #804522 )
2012-03-28 08:38:41 -07:00