Philippe Seewer
232c082cbc
debian: Add xen and uswsusp modules
2010-03-05 11:57:14 +01:00
Philippe Seewer
58659bf221
xen: try harder to locate xen-detect
...
On debian systems xen-detect does not resite somewhere in $PATH,
but under /usr/lib/xen-default/bin. This patch ensures that this
is searched as well when locating and installing xen-detect.
2010-03-05 11:51:56 +01:00
Philippe Seewer
8a08012764
test: use ldconfig processing for roots as well
2010-03-05 11:42:04 +01:00
Harald Hoyer
fdc421dbac
dracut: move ldconfig after include
2010-03-05 11:14:28 +01:00
Harald Hoyer
70aaa95d52
dracut: do a full ldconfig in the initramfs
2010-03-05 11:07:10 +01:00
Harald Hoyer
80a6943fc4
ifcfg: set mode 0755 for scripts
2010-03-04 18:03:36 +01:00
Harald Hoyer
72011255e0
rpmversion/install: add shebang
2010-03-04 18:02:27 +01:00
Harald Hoyer
de50046cd7
dmsquash-live-root: use blockdev with --getsz
...
Thanks Karel for pointing this out.. again :)
2010-03-04 16:49:51 +01:00
Harald Hoyer
e606012ce6
udev-rules: hotplug.functions is not executable, so use -e instead of -x
2010-03-04 14:21:56 +01:00
Andrey Borzenkov
b63fd4d905
Pass init argument(s) to real init
...
Common wisdom to enter single user on Linux is to edit command
line and add "single". This was not possible because switch_root
was always called with empty init arguments. Collect them from
command line and pass to real init when switching root.
Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
2010-03-04 14:06:48 +01:00
Andrey Borzenkov
01b8cdffca
Fix boot with user suspend and no resume= kernel argument
...
Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924 . Check
if dracut got resume= argument before calling /usr/sbin/resume
2010-03-04 14:06:48 +01:00
Harald Hoyer
aab70adc0b
dmsquash-live: use --getsize64 instead of --getsize
2010-03-04 14:06:48 +01:00
Joey Boggs
7baade2b87
add readonly overlay support for dmsquash
...
Adds the readonly_overlay karg for cases where the dm snapshot should be set to readonly. Use case would be a livecd that is configured to have a readonly root where filling up the dm snapshot would cause a problem.
2010-03-04 14:06:47 +01:00
Harald Hoyer
b686095f99
udev-rules: choose between several firmware upload tools
...
debian: firmware.agent hotplug.functions
old fedora: firmware.sh
new udev upstream: firmware
2010-03-04 14:06:47 +01:00
Harald Hoyer
a56e93c10c
kernel-modules: add keyboard kernel modules
2010-03-04 14:06:46 +01:00
Philippe Seewer
465f223905
fix permissions: should be +x
2010-03-03 17:29:39 +01:00
Philippe Seewer
3121677949
parse-kernel.sh must have a shebang
2010-03-03 17:29:26 +01:00
Philippe Seewer
a65914b4a2
debian: update Standards-Version
2010-03-03 16:49:10 +01:00
Philippe Seewer
cff621603c
debian: dracut package should at least suggest dracut-network
2010-03-03 16:48:43 +01:00
Philippe Seewer
259872feac
debian: complete s/dracut-net/dracut-network/g
...
When changing package names, corresponding files must be renamed
as well.
2010-03-03 16:48:16 +01:00
Peter Jones
43f2533977
Use multipath if it's installed and being used for the root fs.
...
Don't conditionalize on hostonly; use multipath if it's installed and in
use.
2010-02-25 10:24:14 -05:00
Harald Hoyer
454771cd86
dracut: add check, if we can write to the output image file
2010-02-18 18:27:39 +01:00
Harald Hoyer
0ec519f8a4
mount-root: also filter "defaults" from mount options
2010-02-18 18:05:51 +01:00
Harald Hoyer
d793fc2e8b
mount-root: skip comments
2010-02-18 17:46:01 +01:00
Harald Hoyer
26999d6ddb
dracut: removed "local" not inside of function
2010-02-18 17:28:41 +01:00
Harald Hoyer
9232cab470
fix IFS restoring
2010-02-18 09:46:19 +01:00
Harald Hoyer
a15935c143
selinux: fix "selinux=0" handling
2010-02-18 08:46:57 +01:00
Harald Hoyer
11ce36d78e
mount-root: do not pollute init arguments
...
and do not remount if no new rootopts set in /etc/fstab
2010-02-17 20:18:10 +01:00
Harald Hoyer
4819ae98ac
fix lib64 check
...
on ppc we can have libc in /lib64/power6/
2010-02-17 17:02:04 +01:00
Harald Hoyer
8c8cd69d32
s390: *_cio_free needs "seq"
2010-02-15 18:08:11 +01:00
Harald Hoyer
7800cc247e
fix selinux disabled state
...
Execute load-policy when the config file contains SELINUX=disabled.
2010-02-15 12:58:00 +01:00
Harald Hoyer
21a74b32b2
nfs4: rpc.idmapd does not accept parameters anymore
...
modify /etc/idmapd.conf instead
2010-02-15 10:43:51 +01:00
Harald Hoyer
1cf0b1750b
removed cdrom hack for live CDs
...
The hack does not work reliable for CDROMs with the firmware bug.
We have really to fix cdrom_id.
2010-02-15 09:55:20 +01:00
Harald Hoyer
94d2148707
dracut.conf: added add_dracutmodules
2010-02-12 12:19:33 +01:00
Harald Hoyer
2c2c45800c
add /etc/dracut.conf.d
2010-02-12 11:12:37 +01:00
Harald Hoyer
edb511860c
Fixed: Move multipath scan earlier. It must go before any other dm rules.
...
Also changed the filename in the install file.
2010-02-12 11:00:21 +01:00
Harald Hoyer
a39ea24f10
nfs: suppress error message about missing passwd
2010-02-10 18:54:31 +01:00
Harald Hoyer
93bc3d440c
make nfs4 work
2010-02-10 17:21:46 +01:00
Peter Jones
7e22ab0891
Move multipath scan earlier. It must go before any other dm rules.
...
multipath scan needs to go before lvm, or else lvm may grab the device
multipath would activate, and multipath will be unable to claim it.
2010-02-05 14:23:20 -05:00
Harald Hoyer
c98bcec89c
add preliminary IPv6 support
2010-02-04 16:05:19 +01:00
Harald Hoyer
b456ab777d
zfcp: install s390utils script rather than local one
2010-02-04 16:03:35 +01:00
Harald Hoyer
d43036ffeb
rootfs-block: strip "ro|rw" options from fstab options
...
https://bugzilla.redhat.com/show_bug.cgi?id=560424
2010-02-03 17:24:51 +01:00
Harald Hoyer
54aaad9dad
test/iSCSI: fixed test script
2010-02-03 16:42:43 +01:00
Harald Hoyer
c88b219410
dasd_mod: changed prio of cmdline hook to be executed after dasd
2010-02-03 10:17:58 +01:00
Harald Hoyer
bab749e23e
init: dashified $[] -> $(())
2010-02-02 15:21:51 +01:00
Harald Hoyer
d54a0e5ae8
beautified man pages
2010-02-02 15:11:59 +01:00
Harald Hoyer
4dc4cc3fc6
fixed permissions for the check files
2010-01-27 16:11:19 +01:00
Peter Jones
3d45f9bba9
Add a check file for multipath.
...
If multipath isn't installed, don't use it. If we're in hostonly mode,
only install the multipath module if it's used for / . Otherwise, if
the user was dumb enough to install it, they get it during bootup.
2010-01-27 16:10:43 +01:00
Harald Hoyer
97c97ff6d5
base: fix selinux handling if .autorelabel is present
...
rhbz#557744
2010-01-27 16:09:15 +01:00
Harald Hoyer
d8231fa5c2
mdraid: prefer /etc/mdadm.conf over /etc/mdadm/mdadm.conf
...
see https://bugzilla.redhat.com/show_bug.cgi?id=557339
https://bugzilla.redhat.com/show_bug.cgi?id=559073
2010-01-27 15:59:10 +01:00