Alan Pevec
f7c05c5514
dmsquash-live/dmsquash-live-root: add missing changes for /run
...
Change to /run/initramfs/squashfs/ was not complete.
14 years ago
Harald Hoyer
29b10e65b1
dracut-functions: make local vars local and prefix with "_"
14 years ago
Harald Hoyer
beb015706b
dracut-lib.sh: warn, even if "quiet" is set
14 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
da5f8554a4
ifcfg/write-ifcfg.sh: do not source net.*.override, if it doesn't exist
14 years ago
Amadeusz Żołnowski
ba902275d5
new module - 91crypt-gpg
...
It's an extension to 90crypt module. Adds support for GPG-encrypted
keys (symmetrically, of course). Module is optional.
14 years ago
Amadeusz Żołnowski
3909d7edfc
crypt: functions for ask-for-password and reading key
...
Asking for password and reading key parts are moved to separate
functions in crypt-lib.sh: ask_for_password and readkey.
14 years ago
Amadeusz Żołnowski
2f95d699dc
crypt-lib.sh: 'command -v' preferred over 'type'
14 years ago
Harald Hoyer
3cf14ae1ae
parse-kernel.sh: wrong index was used in for loop
...
Thanks Mike Snitzer <msnitzer@redhat.com>
14 years ago
Harald Hoyer
7c18802966
iscsi: find iscsi kernel modules by symbol names
14 years ago
Harald Hoyer
424ecce632
plymouth/gensplash: reset tty after plymouth messed with it
14 years ago
Harald Hoyer
6019e1053c
10i18n: do not use console_init shell script, if systemd-vconsole-setup
...
do not use console_init shell script, if systemd-vconsole-setup is
available
14 years ago
Harald Hoyer
aad6898fe4
10i18n: s/systemd-vconsole/systemd-vconsole-setup/g
14 years ago
Harald Hoyer
44110df25a
base/init: remove double nosuid from devtmpfs mount line
14 years ago
Harald Hoyer
c99014d5ef
console_init/plymouth: use systemd-vconsole, if available
...
also init the console before starting the plymouth daemon
14 years ago
Harald Hoyer
ba7457ee00
network/parse-ip-opts.sh: fix ifname for ibft with all args
14 years ago
Harald Hoyer
7b069d5ea7
network/net-genrules.sh: also honor rename events
14 years ago
Marian Ganisin
c34130f705
don't overwrite ifname=
...
[Harald Hoyer <harald@redhat.com>: replaced grep with strstr]
[Harald Hoyer <harald@redhat.com>: handle multiple ifname= arguments]
14 years ago
Marian Ganisin
cc8f077e9f
skip condition fixed
14 years ago
Marian Ganisin
ccacb45c52
correct module name
14 years ago
Harald Hoyer
1325cddee9
let rpc user own /var/lib/rpcbind
...
https://bugzilla.redhat.com/show_bug.cgi?id=698160
14 years ago
Harald Hoyer
80df37f475
fcoe: moved edd detection to settled initqueue
...
At the time of modprobing edd, all pci devices must exist and have to be
initialized for the symlinks to work.
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
bf512ee2e0
base/init: export RD_TIMESTAMP
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
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