John Reiser
f4ca564ba6
build initramfs: unclear _mpargs in instmods()
...
The local variable _mpargs in function instmods() in file dracut-functions
looks peculiar. The documentation is non-existent, but still ...
First, $_mpargs is not passed to modprobe via for_each_kmod_dep.
This is strange because my guess is that "_mpargs" means
"extra arguments for modprobe".
Second, the leading "--" will be lopped when a leading pathname
is stripped via
_mod=${_mod##*/}
It seems to me that a leading "--" should inhibit modification.
Here's the corresponding patch to current HEAD (from dracut-013.)
2011-08-30 13:58:45 +02:00
Harald Hoyer
ab55a117e2
99base/init: only poll cdroms, if the kernel does support autopolling
2011-08-29 19:12:47 +02:00
Harald Hoyer
a3381af1de
50plymouth: add plymouth.enable kernel command line option
2011-08-29 18:32:24 +02:00
Harald Hoyer
82dfee9960
dracut.spec: fixed rhel/fedora version checks
2011-08-29 13:11:49 +02:00
Harald Hoyer
1073b9f93a
90mdraid/65-md-incremental-imsm.rules: incremental run to settled
...
move incremental run to settled queue again
https://bugzilla.redhat.com/show_bug.cgi?id=732967
2011-08-24 17:23:00 +02:00
Harald Hoyer
8cf621ffd9
dracut-functions: fix inst_dir() for non-absolute dirs
2011-08-23 12:50:03 +02:00
Przemysław Rudy
2e0c003435
luks key on ext dev - wait for luks
...
This really waits for the luks mapper device, so luksOpen can do it job
2011-08-22 11:27:00 +02:00
Amadeusz Żołnowski
1f735f82cc
crypt: changed cmdline arg name from rd.luks.tout to rd.luks.key.tout
2011-08-22 11:19:22 +02:00
Przemysław Rudy
c70f6415f8
luks key on ext dev - wait for luks
...
This asks for the luks passphrase if key is not found for defined time (if defined with rd.luks.tout cmd line):
modules.d/90crypt/cryptroot-ask.sh | 21 ++++++++++++++++++---
modules.d/90crypt/parse-crypt.sh | 5 +++--
2 files changed, 21 insertions(+), 5 deletions(-)
2011-08-22 11:19:22 +02:00
Amadeusz Żołnowski
07aeaae356
livenet: take into account other ca-bundle paths; use inst_any for that
2011-08-22 11:19:21 +02:00
Amadeusz Żołnowski
3378a54f15
dracut-functions: new function: inst_any [-d dest] f1 [f2 [f3 ...]]
2011-08-22 11:19:19 +02:00
Leho Kraav
641d84a4ec
99base: whitespace fix
2011-08-22 11:19:19 +02:00
Amadeusz Żołnowski
581dd40e73
90crypt: ask_for_password pings plymouthd
...
If plymouthd is not started, ask_for_password shouldn't try to prompt
for password with GUI and should use text prompt instead.
2011-08-19 15:18:04 +02:00
Harald Hoyer
a76dc27801
dracut-functions: speed up inst_dir()
2011-08-19 10:24:49 +02:00
John Reiser
bc313467bd
build initramfs: prelink --undo /sbin/*
...
Fix a typo (omitting the 's' in "sbin") which caused
"prelink --undo" twice on /bin/*, and
"prelink --undo" omitted for /sbin/*.
2011-08-19 08:10:57 +02:00
Harald Hoyer
d619fb5e1c
dracut: unset LD_LIBRARY_PATH
...
LD_LIBRARY_PATH is not set in the initramfs, so it should not be set
while finding our libraries.
2011-08-19 08:08:18 +02:00
Harald Hoyer
d670e21998
dracut-functions: s/emergency-shutdown/shutdown-emergency/g
2011-08-17 17:40:59 +02:00
Harald Hoyer
ea8e543bb8
add TEST-16-DMSQUASH
...
This is a test for Fedora LiveCDs created via livecd-tools
2011-08-17 13:42:16 +02:00
Harald Hoyer
e7b8fe03e8
profile.py: parse the output of "dracut --profile" for profiling
2011-08-17 10:08:23 +02:00
Will Woods
fb216d1a7c
fix live crash with livenet installed
...
parse-livenet.sh shouldn't mess with $root unless it finds a valid URL.
2011-08-17 09:02:22 +02:00
Harald Hoyer
566dab2ac1
90dmsquash-live/dmsquash-live-root: include fs_lib.sh for det_fs()
...
https://bugzilla.redhat.com/show_bug.cgi?id=730579
2011-08-17 08:24:30 +02:00
Harald Hoyer
4a049ce556
add x-bit to *.sh
2011-08-12 16:29:28 +02:00
Harald Hoyer
e9519a397f
version 013
2011-08-12 16:17:58 +02:00
Harald Hoyer
2ae52e649b
dracut-functions: fixed inst_dir for symbolic links
2011-08-12 15:56:14 +02:00
Harald Hoyer
57258a2c64
dracut: add "--profile" option for profiling
2011-08-12 13:37:40 +02:00
Harald Hoyer
1610a566c6
dracut-functions: use "type -P" for find_binary()
2011-08-12 13:22:17 +02:00
Harald Hoyer
7ef8ff9a2e
90dmraid: don't install non-existent dmraid-cleanup
2011-08-12 13:13:26 +02:00
Harald Hoyer
e59f58f854
use inst_simple to install non-binary files
2011-08-12 13:11:30 +02:00
Harald Hoyer
4073c8159c
add filter_kernel_modules_by_path() to speed up module search
2011-08-12 10:29:00 +02:00
Harald Hoyer
02a0c05bf7
AUTHORS: update
2011-08-12 10:28:31 +02:00
Harald Hoyer
016c3cfed2
90kernel-modules: add unix module
2011-08-12 10:08:09 +02:00
Harald Hoyer
5e802b113a
removed sourceforge references
2011-08-12 09:53:40 +02:00
Will Woods
f116ca115c
add apply-live-updates.sh to pre-pivot hook
...
If we're about to start a Live image (i.e. if /dev/mapper/live-rw
exists) this script will take any files found in /updates (inside the
initramfs!) and and copy them into $NEWROOT.
This allows for hotfixes to be applied to existing Live images without
rebuilding the entire image.
Signed-off-by: Will Woods <wwoods@redhat.com>
2011-08-12 08:03:55 +02:00
Will Woods
a12db35efa
dmsquash-live-root: determine img type by contents, not name
...
Currently dmsquash-live-root requires that squashfs images be named
"squashfs.img" and all others be "ext3fs.img" or "rootfs.img".
If we've got a live image in initramfs, this patch will make dracut use
losetup and det_fs to determine the actual filesystem type of the image.
Signed-off-by: Will Woods <wwoods@redhat.com>
2011-08-12 08:03:55 +02:00
Will Woods
48205bb064
dmsquash-live-root cleanups/mini-fixes
...
- use last ro/rw cmdline arg rather than favoring 'rw' over 'ro'
- don't bother with useless RES variable for holding $?
- only do fs check when $livedev is a block device
Signed-off-by: Will Woods <wwoods@redhat.com>
2011-08-12 08:03:55 +02:00
Harald Hoyer
ac965cd828
Makefile: increment version to 012
2011-08-11 17:52:58 +02:00
Harald Hoyer
e22ad50953
NEWS: update
2011-08-11 17:52:40 +02:00
Harald Hoyer
d128791b84
90btrfs: add btrfs device with multiple components
2011-08-11 17:52:40 +02:00
Harald Hoyer
1afa0cb674
99fs-lib: add btrfsck
2011-08-11 17:52:40 +02:00
Harald Hoyer
d6770cf001
TEST-11-LVM/create-root.sh: sleep before disassembling device
2011-08-11 17:52:39 +02:00
Harald Hoyer
bcf94bba99
TEST-40-NBD/test.sh: source reformat
2011-08-11 15:36:29 +02:00
Harald Hoyer
de0b239907
TEST-40-NBD/create-root.sh: sleep before disassembling root device
2011-08-11 15:36:29 +02:00
Harald Hoyer
459bfe02f9
95rootfs-block/mount-root.sh: also parse rootopts for "_netdev"
2011-08-11 15:36:29 +02:00
Harald Hoyer
cee3b8966c
95nbd/nbdroot: also mount nbd0 for root=dhcp and missing root=
2011-08-11 15:36:05 +02:00
Harald Hoyer
40e27f1bf0
40network/parse-bridge.sh: fixed bridge parameter parsing
2011-08-11 14:27:27 +02:00
Amerigo Wang
31f1c02dda
dracut: add --force-add option
...
This patch adds a new option --force-add, which
can force dracut to load some module when -H
is specified.
Signed-off-by: Amerigo Wang <amwang@redhat.com>
2011-08-11 14:27:27 +02:00
Amerigo Wang
0c7112fcff
lsinitrd: display the size of initrd
...
It is useful to display the size of initrd in human-friendly form.
Signed-off-by: Amerigo Wang <amwang@redhat.com>
2011-08-11 14:27:27 +02:00
Harald Hoyer
588c362362
dracut.spec: add livenet and fs-lib
2011-08-11 14:27:26 +02:00
Harald Hoyer
bdf96a5d25
TEST-12-RAID-DEG/test.sh: uncomment rd.shell
2011-08-11 14:27:26 +02:00
Harald Hoyer
5ce355f6c0
turn off masterkey,ecryptfs,integrity by default
2011-08-11 14:27:26 +02:00