Victor Lowther
16df64ef1f
Abstract out vol_id vs. blkid usage.
...
vol_id seems to be going away, and blkid can be used as a drop-in replacement
for it.
16 years ago
Victor Lowther
f76ef3aa3d
Speed up loading block drivers when running with --hostonly
...
Instead of grovelling through all the modules available for the
kernel looking for block devices, only look at the modules that are
actually loaded. This speeds things up by a rather large amount
when generating the initramfs with --hostonly.
While we are at it, only load the filesystem module that will actually
be used for the root filesystem when running in --hostonly instead
of all the filesystem modules that happen to be loaded at the time.
16 years ago
Victor Lowther
59c88f499f
Abstract out vol_id vs. blkid usage
...
Since different distros may or may not use vol_id in udev, and blkid
is generally replacing vol_id, abstract them out into a function which
tries to use vol_id first and blkid second, on the assumption that
blkid can take over for vol_id if vol_id is no longer there.
16 years ago
Harald Hoyer
afe25d0ccc
{crypt,dmraid,,lvm,mdraid}/check use blkid if no vol_id found
16 years ago
Harald Hoyer
bdccc34e7e
Makefile: add hostimage target for a hostonly image
...
call it with root priviledges
16 years ago
Harald Hoyer
495a964322
nbd/check: moved host-only checks and added ";"
16 years ago
Harald Hoyer
9defc609e8
dracut-functions: check for existance of slave devices before opening it
16 years ago
Harald Hoyer
68b26290f0
udev-rules: install vol_id
16 years ago
Harald Hoyer
d41f7ae750
rsyslogd-start.sh: read correct filters file
16 years ago
Marc Grimme
e15bc1f330
Syslog support for dracut
...
This module provides syslog functionality in the initrd.
This is especially interesting when complex configuration being
used to provide access to the device the rootfs resides on.
When this module is installed into the ramfs it is triggered by
the udev event from the nic being setup (online).
Then if syslog is configured it is started and will forward all
kernel messages to the given syslog server.
The syslog implementation is detected automatically by finding the
apropriate binary with the following order:
rsyslogd
syslogd
syslog-ng
Then if detected the syslog.conf is generated and syslog is started.
Bootparameters:
syslogserver=ip Where to syslog to
sysloglevel=level What level has to be logged
syslogtype=rsyslog|syslog|syslogng
Don't auto detect syslog but set it
16 years ago
Jeremy Katz
a607b7d4b8
Fix syntax error in conditional
...
Fix a typo in the conditionals. Not sure how I didn't notice these
before
16 years ago
Victor Lowther
1a4c4015bc
Modify nbd hostonly checking to use check_block_and_slaves.
...
This allows hostonly nbd checking to work in more exotic situations,
such as mdraid/dmraid/lvm/crypt on top of nbd.
16 years ago
Victor Lowther
d7df77d172
Modified lvm hostonly checking to use dracut-functions
16 years ago
Victor Lowther
7e2b4f8367
Make mdraid checking use common functionality in dracut-functions
16 years ago
Victor Lowther
bc9ae19deb
Make dmraid checking use common functionality in dracut-functions
16 years ago
Victor Lowther
17829e94aa
Move common rootfs finding and backing store tree checking to dracut-functions
16 years ago
Victor Lowther
e0dca0e43c
Minor spacing fixups in dracut-finctions
16 years ago
Victor Lowther
4e207ec862
The network check script sources , so it must use /bin/bash
16 years ago
Victor Lowther
b5ccf21d2b
Make the lvm check script really check to see if root is on an lvm device
...
somehow when run in hostonly mode.
16 years ago
Victor Lowther
62bde8ed7e
make mdraid check script really check to see of the rootfs is on an
...
mdraid block device when run in hostonly mode.
16 years ago
Victor Lowther
dc670134f8
Make hostonly check for dmraid only pass if root is really on
...
a dmraid volume somehow.
16 years ago
Victor Lowther
39d6cb5df4
Make hostonly checking in 90crypt only pass if root is really on an
...
encrypted block device somewhere along the chain.
16 years ago
Victor Lowther
ddfd1d10a0
Split kernel module loading into smaller chunks.
...
This prepares to more tightly integrate dracut-gencmdline with the
rest of the dracut scripts
16 years ago
Victor Lowther
0c1a8ebc37
More quotation fixups in dracut-functions
16 years ago
Victor Lowther
bd4c4bcb76
Simplify dracut_install a bit, an make a minor fixup to check_module_deps
16 years ago
Victor Lowther
161efa1f40
Some quotation cleanups in dracut-functions.
...
Quotes are generally not needed in when assigning one variable to another,
and are also not needed inside [[ ]] comaprisons, as word splitting and
pathname expansion are not performed in these cases.
16 years ago
Victor Lowther
ebdddd29d3
Get rid of redundant NONL stuff in dracut-gencmdline
16 years ago
Victor Lowther
2790d5b2ed
Update dracut-catimages to make it much more robust in the face of
...
image filenames with spaces, carriage returns, and other such nasty
characters in them. Bash arrays are very useful for these sorts of things.
16 years ago
Victor Lowther
98adb06ea3
No need to quote variable expansion in [[ ]]
16 years ago
Victor Lowther
0b90cfaa9f
Bashify drivers_dir check
16 years ago
Harald Hoyer
ded38dbfbd
dracut.spec add NEWS to dracut and dracut-tools
16 years ago
Harald Hoyer
5d12f1a485
version 0.9
16 years ago
Harald Hoyer
7addf9d430
rpmversion: dash does not want as I do
16 years ago
Harald Hoyer
6d0480426d
rpmversion: fixed rpm query
16 years ago
Harald Hoyer
5a8b143888
TEST-10-RAID: new mdadm is picky about partitions
16 years ago
Michael Ploujnikov
5bf0b329c9
update the rdbreak breakpoint list
16 years ago
Harald Hoyer
51123629d7
dracut.spec: add more plymouth themes
16 years ago
Harald Hoyer
0ad78ae8e7
dracut.spec: requieres dash
...
how could we forget to add that?? :-)
16 years ago
Harald Hoyer
1c6e9e5c0a
new module 10rpmversion
...
outputs rpm version of dracut
16 years ago
Harald Hoyer
0b610a002c
removed 90dmsetup
16 years ago
Harald Hoyer
0f1361ee1c
udev-rules: hardcode helper binaries
16 years ago
Harald Hoyer
b806825d2a
nfs: only install libnfsidmap_nsswitch.so of all libnfsidmap_*.so
16 years ago
Harald Hoyer
f905c1d7d6
dmsquash-live: install the "real" eject
...
eject might be a symlink to consolehelper
16 years ago
Harald Hoyer
926b2c3337
dracut: set ownership to root.root for all files
16 years ago
Harald Hoyer
fc900b8be4
dracut-gencmdline: fix LUKS_UUID and MD_UUID output
16 years ago
Harald Hoyer
88838bf238
network: exclude kernel modules, which need iw_handler_get_spy
16 years ago
Harald Hoyer
ed2de829e1
cryptroot-ask.sh: fix rd_LUKS_UUID handling
16 years ago
Harald Hoyer
ff34c9dcd4
10redhat-i18n: remove unnecessary files
16 years ago
Harald Hoyer
3d4641fd98
add rdinfo command line parameter
...
print informational output though "quiet" is set
16 years ago
Harald Hoyer
860ace56f8
inst_simple(): add -p flag to cp
16 years ago