Harald Hoyer
979c4a9304
dracut: revert prelink, if fips module was used
14 years ago
Harald Hoyer
4257798f8a
fips: forward port RHEL-6 fips changes
...
- also support FIPS on separate LVM partition
- use small settle loop to get /boot
- "set -e" has no effect, if we use "||"
- make fips work with encrypted root and seperate boot
- moved to pre-pivot to support /boot in /
14 years ago
Harald Hoyer
12b9736228
dm: add 11-dm.rules for udev-168 and cleanup-db
...
add OPTIONS+="db_persist" to dm devices, to persist through a
udevadm info --cleanup-db
14 years ago
Amadeusz Żołnowski
64fcb3cce7
kernel-modules: inst modules.builtin if there's no modules.builtin.bin
...
Also report failure if none of them exist.
14 years ago
Michal Soltys
336eb5b04c
modules.d/99base/init: missing slash in ismounted check
...
ismounted sys -> ismounted /sys
Signed-off-by: Michal Soltys <soltys@ziu.info>
14 years ago
Harald Hoyer
f024bf0dcd
base, crypt: install umount, because it is used
14 years ago
Harald Hoyer
fd786adcf5
dracut: make prefix configurable
14 years ago
Harald Hoyer
0743486127
test/TEST-11-LVM, test/TEST-14-IMSM: update test cases
...
- more diskspace
- add /run
- drop to shell in test-init
14 years ago
Harald Hoyer
bf512ee2e0
base/init: export RD_TIMESTAMP
14 years ago
Harald Hoyer
b99dc517d6
inc version
14 years ago
Harald Hoyer
6a168568a5
base/init: use "udevadm control --exit" and "udevadm info --cleanup-db"
...
For udev >= 168 use the advanced udevadm features for shutting down udev.
Thanks Kay!!!
14 years ago
Harald Hoyer
dbad9f4661
Move all files to /run/initramfs
...
Given that we boot into a modern Linux distribution with the "/run" toplevel
directory, we can easily mount move the whole /run directory to the real
root in the end and have the complete initramfs later on in
/run/initramfs. All log files and /run states are still accessible and
to save space /run/initramfs can be removed later on.
Because the kernel does not mount a tmpfs on /run prior to unpacking the
initramfs cpio image, we have to copy ourselves very early to a tmpfs
and mount it on /run.
Due to lazy umount the old initramfs binaries should
be removed in the end by switch_root.
This feature can be turned on with "--prefix".
14 years ago
Harald Hoyer
7eb40c488c
base: s#initlog#loginit#g for consistency
14 years ago
Harald Hoyer
2a9b703903
set udev property hookdir
...
Revert "mdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/"
This reverts commit e1f68dc6a0
.
14 years ago
Harald Hoyer
65e0dd452c
base/init: removed rd.copystate
...
all files are available in /run/initramfs
14 years ago
Harald Hoyer
5d7cdc38d0
base/init: removed rd.timestamp and automatically export RD_*
14 years ago
Harald Hoyer
e1f68dc6a0
mdraid/65-md-incremental-imsm.rules: s#$hookdir#/lib/dracut/hooks/
14 years ago
Harald Hoyer
06ae51be51
TEST-50-MULTINIC/client-init: drop to shell, if "rd.shell"
14 years ago
Harald Hoyer
8a6ecb19b9
TEST-50-MULTINIC/test.sh: add /run dir and "ls" to client image
14 years ago
Harald Hoyer
1254925f1e
dracut: do not install ld.so.conf* for kernel-only
14 years ago
Harald Hoyer
a6c34848eb
base/init: set DRACUT_QUIET based on "loglevel" and "quiet"
14 years ago
Harald Hoyer
182660d864
base/init: set PATH like new kernels do
14 years ago
Harald Hoyer
3fc621ee45
iscsi/mount-lun.sh: use NEWROOT
14 years ago
Harald Hoyer
8234b92d85
crypt/cryptroot-ask.sh: check and use NEWROOT
14 years ago
Harald Hoyer
6822764f25
base/dracut-lib.sh: add ismounted()
14 years ago
Harald Hoyer
0d837ebf2a
base/dracut-lib.sh: turn on PS4 for bash debugging
14 years ago
Harald Hoyer
8f5d36896d
loginit: create pid and kill loginit by pid
14 years ago
Harald Hoyer
e365864bbc
removed switch_root.c
14 years ago
Harald Hoyer
df60555037
precreate /run/udev/rules.d
14 years ago
Harald Hoyer
6730280c5b
crypt/parse-crypt.sh: fixed rule creation
...
"\n" was missing
create rules file on tmp file and rename it later
14 years ago
Harald Hoyer
fb59f4c967
get rid of absolute PATHs
14 years ago
Harald Hoyer
77e2cadd88
base/init: fixed "unset" of vars
14 years ago
Harald Hoyer
a2cb4dbc82
base/dracut-lib.sh:incol2() return 1 on error
14 years ago
Harald Hoyer
36e30eb096
init: s/RDDEBUG/RD_DEBUG/g
14 years ago
Harald Hoyer
03f405bc04
init: move /.die to /run/initramfs/.die
14 years ago
Harald Hoyer
4abb498d79
initqueue: add "--finished"
14 years ago
Harald Hoyer
ef85627e93
test/TEST-01-BASIC/test.sh: uncomment debug options
14 years ago
Harald Hoyer
486ec65745
TEST-01-BASIC: softlink fstab to proc/mounts in test-init
14 years ago
Harald Hoyer
dd26a551c2
test/TEST-01-BASIC: add basic ext3 test
14 years ago
Alan Pevec
93724aa28f
dmsquash-live: hide plymouth while checking ISO
...
Fixes long-standing FIXME
Latest isomd5sum added an option to abort media check with ESC key,
but that key is taken by plymouth for switching to the detailed log
messages, making it impossible to abort checkisomd5.
Tested in text mode.
14 years ago
Harald Hoyer
4c2a28c64b
dracut-functions: ln -s with '-fn'
14 years ago
Harald Hoyer
2a72df9cf0
busybox/module-setup.sh: do not create absolute symlinks
14 years ago
Harald Hoyer
6600691ff1
README.modules: update documentation
14 years ago
Harald Hoyer
d125a47061
mkdir always with -m 0755
14 years ago
Harald Hoyer
8daaa46478
loginit: fix loglevel
14 years ago
Harald Hoyer
0a9d5422c6
dracut.kernel.7.xml: add FIPS parameter doc
14 years ago
Harald Hoyer
02c1bd6bb6
fips: add "rd.fips.skipkernel" boot option
14 years ago
Harald Hoyer
1cd1da13da
iscsi: add additional hardcoded modules
...
https://bugzilla.redhat.com/show_bug.cgi?id=692781
https://bugzilla.redhat.com/show_bug.cgi?id=689694
14 years ago
Harald Hoyer
ea8ca78af0
crypt/parse-crypt.sh: fix udev rule creation
14 years ago
Harald Hoyer
dc4fc03e4b
fcoe/parse-fcoe.sh: s#source#.#g
...
dash does not understand "source"
14 years ago