Harald Hoyer
46a885bf9f
dracut-bash-completion.sh: file filename completion
12 years ago
Harald Hoyer
7dbca9be86
lsinitrd: add bash completion
12 years ago
Harald Hoyer
7d9bb76ac7
lsinitrd: switch to getopt and add "-f" and "-k" parameter
12 years ago
Harald Hoyer
26ab7b07a6
Makefile: fixup tarball Makefile
12 years ago
Harald Hoyer
14499534ba
dmsquash-live: add support for "iso-scan/filename" kernel parameter
...
now you can write grub entries like
set isofile="/Fedora-live.iso"
loopback loop $isofile
linux loop)/isolinux/vmlinuz iso-scan/filename=$isofile root=live:CDLABEL=Fedora-...
initrd (loop)/isolinux/initrd0.img
12 years ago
Harald Hoyer
1540df0e79
url-lib/module-setup.sh: install ca-bundle.crt by libcurl.so
...
https://bugzilla.redhat.com/show_bug.cgi?id=950770
curl seems to look for /etc/pki/tls/certs/ca-bundle.crt
extract the correct path by disecting libcurl.so
12 years ago
Harald Hoyer
5d68c80b16
systemd: include the systemd-random-seed-load.service
...
The systemd cryptsetup-generator wants systemd-random-seed-load.service
in case /dev/urandom is the device.
12 years ago
Harald Hoyer
5f8cd1a4be
Makefile,git2spec.pl: use "git describe"
12 years ago
Harald Hoyer
14201d23e7
AUTHORS: update
12 years ago
Harald Hoyer
a229b17434
plymouth/plymouth-pretrigger.sh: fixup of ca2c6936
12 years ago
Harald Hoyer
ca2c693679
Do not call plymouth with full path
12 years ago
Harald Hoyer
cdcb27a4fe
crypt/module-setup.sh: also handle UUID= while filtering crypttab
...
The crypttab filter for host-only did not handle UUID= entries.
https://bugzilla.redhat.com/show_bug.cgi?id=919752
12 years ago
WANG Chao
0c5ccb35c7
ifup.sh: Add support for bridge over a vlan tagged interface
...
This patch add support for bridge a vlan tagged interface, like
br0 -> bond0.7 -> bond0 -> eth0
Signed-off-by: WANG Chao <chaowang@redhat.com>
12 years ago
Baoquan He
9d787df196
Let user specify the action after fail
...
Currently the default action is emergency_shell when failure happened
during system boot. In kdump, this default may not be expected. E.g,
if dump target is not rootfs, it does not matter if mount root failed.
Adding an action which allow dracut always go ahead though failure
happens is needed by kdump.
So here add a function action_on_fail() and cmdline parameter
action_on_fail=<shell | continue>. Use action_to_fail() to replace
emergency_shell which was called after failure. By $(getarg action_on_fail=),
decide to drop into shell, or to leave away the failure and go ahead.
v3->v4:
add handling of selinux policy loaded failure, and change code format to
be consitent
Signed-off-by: Baoquan He <bhe@redhat.com>
[Edited by harald@redhat.com ]
12 years ago
Baoquan He
0290e98271
Wait for logical interface to be up
...
If bootdev is logical interface like bond, bridge or vlan, we need
wait them up.
Signed-off-by: Baoquan He <bhe@redhat.com>
12 years ago
Harald Hoyer
d136ca4eeb
network: support multiple bonding interfaces
...
Currently dracut only support 1 bond, namyly bond0 by default. However multiple
bonds configuration may be needed. For example in kdump, in 1st kernel, more
than one bonds may be configured, and bondX other than bond0 is used as output
interface to remote host which will store dump core. This patch can solve this
problem, to write real bond information to initramfs, 2nd kdump kernel will
use it to create the relevant bondX interface.
Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Baoquan He <bhe@redhat.com>
12 years ago
WANG Chao
a55f910cf6
ifup.sh: Add support for bridge over team and vlan tagged team
...
Team is the same network stack as bonding. Therefore give ifup the ability to
handle bridge over team and vlan tagged team as bonding too.
Signed-off-by: WANG Chao <chaowang@redhat.com>
12 years ago
Harald Hoyer
96efbc51ac
crypt/module-setup.sh: filter /etc/crypttab in host-only mode
...
only take those /etc/crypttab entries, which we need to boot the system
12 years ago
Harald Hoyer
9d36d4fb1d
dracut-functions.sh: make use of findmnt
12 years ago
Harald Hoyer
41bfa5dad1
nfs/module-setup.sh: combine egreps for /etc/passwd and /etc/group
12 years ago
Harald Hoyer
db9fbaf9b8
TEST-99-RPM: ignore rescue images
12 years ago
Harald Hoyer
56fb5c4dbf
TESTSUITE: s/i6300esbwdt/i6300esb ib700wdt/g
12 years ago
Harald Hoyer
a8986425a4
TEST-50-MULTINIC: fixup test suite
...
qemu of the day doesn't like multicast anymore
12 years ago
Harald Hoyer
ea3c4e8273
Add missing options to manpage and --help output
...
https://bugzilla.redhat.com/show_bug.cgi?id=948510
12 years ago
Harald Hoyer
6db8c5a5fe
base/dracut-lib.sh:wait_for_dev()/cancel_wait_for_dev() set systemd timeouts
...
Set systemd unit timeouts for the devices we wait for. The systemd
default is 90 seconds, which is way too low for complicated setups.
12 years ago
Harald Hoyer
ab9b04f55b
crypt/parse-crypt.sh: create udev rule for systemd
...
Start the systemd-cryptsetup@luks-*.service for the detected crypto_LUKS
device in the initqueue, so we block in the initqueue and wait for the
password entry.
12 years ago
Harald Hoyer
c4b572b5ca
base/dracut-lib.sh: add dev_unit_name()
...
add helper function to convert device path to systemd unit names
12 years ago
Harald Hoyer
cc6f0925df
base/init.sh: fix version output
12 years ago
Harald Hoyer
d50cf62d62
dracut.spec: Require systemd >= 199
12 years ago
Harald Hoyer
75369f8ba0
version 027
12 years ago
Harald Hoyer
8e2bcb4b42
dracut.spec: don't BuildRequire bash-completion for rhel
12 years ago
Harald Hoyer
bfac40665b
systemd: add new timers.target and paths.target
12 years ago
Harald Hoyer
6c6d805765
use systemd*dir variables everywhere
12 years ago
Harald Hoyer
44f870be42
test: change qemu param -nographic to -display none for -daemonize
...
qemu does not like -nographic in combination with -daemonize
12 years ago
Harald Hoyer
b37398dc1c
x-initrd-rootfs.mount -> x-initrd.mount
12 years ago
Harald Hoyer
1b0a362d83
multipath: install native systemd service
12 years ago
Harald Hoyer
bb425d20a1
systemd: add dracut.bootup(7) reference to service man pages
12 years ago
Harald Hoyer
cbd69dc6ff
install dracut-*.service units
12 years ago
Harald Hoyer
cb8def95c4
dracut.sh: export systemdsystemconfdir
12 years ago
Harald Hoyer
78d1d4f86d
dracut.sh: turn off hostonly mode, if udev database is not found
12 years ago
Harald Hoyer
5bfa3b363a
dracut.sh: turn off host-only mode, if essential system filesystems not mounted
12 years ago
Harald Hoyer
1d4b337543
dracut.spec: use configure
12 years ago
Harald Hoyer
8c67d395d4
dracut.spec: use pkg-config for bashcompletiondir
12 years ago
Harald Hoyer
02566acdd7
dracut.sh: remove temporary cpio output in trap
12 years ago
Harald Hoyer
478aa7dac1
51-dracut-rescue-postinst.sh,51-dracut-rescue.install: use systemd-machine-id-setup
...
if /etc/machine-id is empty, use systemd-machine-id-setup
12 years ago
Harald Hoyer
967db70090
51-dracut-rescue-postinst.sh: Rename image and grub entry
...
grub2-mkconfig ordered the rescue entries higher than the normal ones.
https://bugzilla.redhat.com/show_bug.cgi?id=923439
12 years ago
Harald Hoyer
619c1bb334
51-dracut-rescue-postinst.sh: add extra checks
12 years ago
Harald Hoyer
57aa1e9140
TEST-40-NBD/test.sh: kill_server() after test_run()
12 years ago
Harald Hoyer
af2fcbafe8
network/netroot.sh: do not unset root
12 years ago
Harald Hoyer
7b6bdc3f94
nbd/nbdroot.sh: fix root != blockdev case
12 years ago