Harald Hoyer
baa5c11363
dmsquash-live-root: load filesystem modules before mounting loop images
...
might prevent https://bugzilla.redhat.com/show_bug.cgi?id=735199
2011-09-02 20:01:57 +02:00
Harald Hoyer
380b8b516e
dmsquash-live-root: use blkid to determine fstype of images
...
prevents:
dracut: FATAL: cannot mount live image (unknown filesystem type)
https://bugzilla.redhat.com/show_bug.cgi?id=735199
2011-09-02 20:01:50 +02:00
Harald Hoyer
86880b8ff7
99base/init: removed cdrom polling reset code
...
This is done globally now.
2011-09-02 19:19:40 +02:00
Harald Hoyer
59f288ce63
dracut: cp with sparse
2011-09-02 19:19:40 +02:00
Harald Hoyer
dffb93feaf
99base/init: do not fail, when importing the original kernel environment
2011-09-01 16:01:21 +02:00
John Reiser
f9708da223
instmods: factor out egrep of "FATAL: Module .* not found"
2011-09-01 10:30:59 +02:00
John Reiser
0024702fe7
instmods: sanity for _mpargs
2011-09-01 10:30:58 +02:00
John Reiser
881eda695e
instmods: get filenames from stdin if no args; use it
...
Use bash "[[ string =~ pattern ]]" instead of "egrep -q".
Replace control-dominated serial fondling
for var in $(proc1); do proc2 var; done
with data-dominated parallel pipeline
proc1 | while read var; do proc2 var; done
Together this is a large savings.
[harald@redhat.com: fixed network kernel module filter]
2011-09-01 10:30:29 +02:00
John Reiser
e6024e0030
install_kmod_with_fw: make fast case faster
2011-09-01 10:03:57 +02:00
John Reiser
ceebd9ac76
filter_kernel_modules is a specialized filter_kernel_modules_by_path
2011-09-01 10:03:54 +02:00
John Reiser
3f590c7840
inst_simple, inst_dir: make fast case faster
...
This small stuff saves 1.7% per dropped statement during "dracut --profile".
Fixing the comment about /lib -> lib64 is REQUIRED!
2011-09-01 10:03:54 +02:00
Harald Hoyer
f063d0e89f
95udev-rules: add input_id
2011-08-31 16:48:20 +02:00
Harald Hoyer
5f06f0c367
dracut-functions: hmac checksum files can be symlinks, too
...
use inst() instead of inst_simple() to install the hmac files
2011-08-31 15:22:09 +02:00
Harald Hoyer
1e2f60993f
99base/init: move switch_root breakpoint to a later point in the script
2011-08-30 16:23:17 +02:00
Harald Hoyer
ed42e64cfc
99base/init: save and restore environment given from the kernel
2011-08-30 16:22:46 +02:00
Harald Hoyer
2c0b5281f5
90crypt/parse-crypt.sh: also accept the beginning of the LUKS UUID
...
2e0c003435
introduced a too strict test
for LUKS UUIDs
2011-08-30 14:43:57 +02:00
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