Commit Graph

1331 Commits

Author SHA1 Message Date
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
c143d5b72d Add pollcdrom module to dracut
From Harald Hoyer <harald@redhat.com>:

pollcdrom is used to poll for the install medium. A lot of CDROM drives
are not polled by the kernel correctly, so we have to actively poll for
the medium.
2012-06-11 10:31:57 -07:00
Martin Gracik
a7698e3540 Automatic commit of package [lorax] release [18.8-1]. 2012-06-06 16:01:53 +02:00
Martin Gracik
0123377d9b Check if selinux is enabled before getting the mode 2012-06-06 10:48:29 +02:00
Brian C. Lane
f73545471b Add grub2 so that rescue is more useful 2012-06-04 14:42:57 -07:00
Martin Gracik
d5e334fec4 Automatic commit of package [lorax] release [18.7-1]. 2012-06-04 16:15:59 +02:00
Martin Gracik
2e907c072c Comment on why selinux needs to be in permissive or disabled 2012-06-04 16:14:38 +02:00
Martin Gracik
cbe001638e Verify the yum transaction
Check if all packages that were supposed to be installed,
ended up installed.
2012-06-04 16:14:38 +02:00
Martin Gracik
3636fd5814 Do not remove shared-mime-info (#825960) 2012-06-04 16:14:38 +02:00
Martin Gracik
7446d0d1e2 Add a --required switch to installpkg
Some packages are critical to the compose. If --required
is specified in the template's installpkg command, lorax
will exit if the package is not available.
2012-06-04 16:14:38 +02:00
Brian C. Lane
cc384f6e7a livemedia-creator: Hook up arch option
Pass arch to virt-install and make_appliance.
2012-06-01 11:15:31 -07: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
Brian C. Lane
7a23c600c6 livemedia-creator: handle failed mount for ami 2012-06-01 11:15:17 -07:00
Martin Gracik
ee6be6ac67 Automatic commit of package [lorax] release [18.6-1]. 2012-06-01 12:14:04 +02:00
Martin Gracik
3ed82f3eb0 Fix the rpm call 2012-06-01 08:58:34 +02:00
Martin Gracik
bad0b469a5 Use selinux python module to get enforcing mode
No need to call getenforce via subprocess.
2012-06-01 08:42:13 +02:00
Martin Gracik
dd7536a711 Automatic commit of package [lorax] release [18.5-1]. 2012-05-31 16:40:51 +02:00
Martin Gracik
98cbc409d1 Don't remove sha256sum from the install image 2012-05-31 16:38:29 +02:00
Martin Gracik
141a25801c Check if selinux is not in Enforcing mode (#824835)
Selinux causes problems for rpm scriptlets in the installroot.
2012-05-29 12:59:46 +02:00
Martin Gracik
cd0b4458ba Install rpcbind (#824835)
Dracut nfs module needs it.
2012-05-29 12:59:46 +02:00
Martin Gracik
a9e5630322 Remove hfsplus-tools dependency (#818913)
Mac boot images are optional. Don't require hfsplus-tools
by default, but warn the user that he needs to install them
if he wants to create mac boot images.
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
Martin Gracik
64ac47d7b6 Automatic commit of package [lorax] release [18.4-1]. 2012-05-25 09:00:59 +02:00
Martin Gracik
bf1bf23c12 Initialized to use tito. 2012-05-25 08:58:55 +02:00
Martin Gracik
108ec0a449 Use gz not bz2 for source 2012-05-25 08:58:09 +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
Dennis Gilmore
066b0d3780 add name field to .treeinfo its a concatination of family and version 2012-05-25 08:53:57 +02:00
Martin Gracik
7e133c7e86 Fix typo in help (#819476) 2012-05-25 08:51:29 +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
c336f4ed06 livemedia-creator: check kickstart for display modes (#819660)
lmc uses script mode. Putting one of these into the kickstart will
confuse it, especially when running in no-virt mode.
2012-05-15 13:38:56 -07:00
Brian C. Lane
9b8c2f9d19 livemedia-creator: Removed unused ImageMount class 2012-05-14 15:09:10 -07:00
Brian C. Lane
eb82d0dccf livemedia-creator: cleanup after a crash
Make sure we don't leave any device-mapper or loop devices laying around
after a crash.
2012-05-14 15:08:59 -07:00
Brian C. Lane
84fdff0e50 livemedia-creator: start using /var/tmp instead of /tmp 2012-05-14 15:08:54 -07:00
Brian C. Lane
878e4c3e85 livemedia-creator: make libvirt module optional
When running with no-virt mode libvirt and virt-install are not needed
so make the import optional and update the usage info reflect that the
virt options are disabled.
2012-05-14 15:08:45 -07: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
Brian C. Lane
115788ed09 New version 18.3 2012-05-03 11:23:00 -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