Harald Hoyer
078acb598b
fips: fixed aes_generic module typo
13 years ago
Harald Hoyer
030b8a160f
90lvm/module-setup.sh: ignore DM_UDEV_DISABLE_DISK_RULES_FLAG=1
...
Ignore logical volumes, which have DM_UDEV_DISABLE_DISK_RULES_FLAG=1
set for the generation of hostonly cmdline parameter.
13 years ago
Harald Hoyer
0e979d4829
dracut-functions.sh:get_fs_env() bail out early
...
if udevadm found information about a device (DEVPATH set), then bail out
early, if ID_FS_TYPE was not set.
13 years ago
Harald Hoyer
66b750a08e
dracut-functions.sh: fix get_fs_env()
13 years ago
Harald Hoyer
31b6f4a3ae
dracut.sh:_get_fs_type() readlink devices to avoid dups
13 years ago
Harald Hoyer
a5cde2dd18
dracut-functions.sh: removed get_fs_uuid() and get_fs_type()
...
get_fs_uuid() and get_fs_type() are not used anymore
13 years ago
Harald Hoyer
2f6fe2ec79
dracut-functions.sh: no '' for shell regex
13 years ago
Harald Hoyer
e03c77cb5b
dracut-functions.sh: proper return get_fs_env() and get_fs_type()
13 years ago
Harald Hoyer
b5c2fc1141
lsinitrd.sh: no "" for shell regex
13 years ago
Harald Hoyer
513d26f7b7
TEST-12-RAID-DEG/create-root.sh: settle after deconstruct
13 years ago
Harald Hoyer
f1354b8af9
fstab-sys: also include the module, if --add-fstab was specified
...
also fixup the logic what and when to mount.
first initramfs/etc/fstab is mounted
$NEWROOT/etc/fstab.sys takes precendence over initramfs/etc/fstab.sys
13 years ago
Harald Hoyer
b2de89c5dc
90dmsquash-live/dmsquash-live-root.sh: add symlink
...
/run/initramfs/livedev
13 years ago
Harald Hoyer
8d51acbbe9
iscsi: add rd.iscsi_param
...
rd.iscsi_param is directly handed over to iscsistart as a --param option
13 years ago
Harald Hoyer
ac3f1c6e87
add iscsi interface binding
...
iscsi connections can now be bound to <iscsi_iface_name> and <netdev_name>
13 years ago
Harald Hoyer
61c4c83235
90livenet/parse-livenet.sh: unset CMDLINE, after adding parameters
13 years ago
Harald Hoyer
85f8bb16b2
dracut-functions.sh: skip comment lines in fstab
13 years ago
Harald Hoyer
6dd4370eaa
95fstab-sys/mount-sys.sh: removed check for existing /dev
...
there are a lot of filesystems, which do not need an actual device node
13 years ago
Harald Hoyer
0441230c51
95fstab-sys/mount-sys.sh: removed bashism
13 years ago
Harald Hoyer
26433e9c1f
95nbd/nbdroot.sh: removed bashism
13 years ago
Amadeusz Żołnowski
4dd68ca415
document --tmpdir option
13 years ago
Amadeusz Żołnowski
882c4c5a48
add --tmpdir option to cmd line args and tmpdir to config file
...
Default temporary directory used by Dracut is /var/tmp, but users might
want to change it to /tmp.
13 years ago
Harald Hoyer
2b59885976
dracut.conf: add comment about /etc/dracut.conf.d
13 years ago
Harald Hoyer
cb74b38247
dracut.sh: add "--no-hostonly" option
13 years ago
Amadeusz Żołnowski
e7da9734d8
inst_symlink: create parent dir if doesn't exist
...
If symlink is yet alone in target directory, inst_symlink will fail to
create it. This is how to reproduce the bug:
# mkdir /tmp/test
# ln -s /bin/cp /tmp/test/cp
# ./dracut -l -f -H /tmp/test.img -I /tmp/test/cp
Result:
[...]
I: *** Including modules done ***
ln: failed to create symbolic link
`/var/tmp/initramfs.Z5isVu//tmp/test/cp': No such file or directory
ln: failed to create symbolic link
`/var/tmp/initramfs.Z5isVu//tmp/test/cp': No such file or directory
I: Wrote /tmp/test.img:
[...]
Following patch creates directory for the symlink if it doesn't exist.
13 years ago
Harald Hoyer
0cec230406
dracut.8.asc: format for 80 chars page width
13 years ago
Harald Hoyer
f06905139f
dracut.8.asc: correct c&p error and add desciption of "--mount"
13 years ago
Harald Hoyer
56bf6156d6
99base/init.sh: revert the "cp" "mv" change for /run/initramfs
13 years ago
Will Woods
317191848a
shutdown: fix PATH
...
Some systems might not use /bin:/sbin in their paths anymore, but we're
still using it in initramfs, so make sure our PATH is correct.
13 years ago
Harald Hoyer
3d3f32aea3
dracut.asc: set level down for the manpage includes
13 years ago
Wim Muskee
b7b062ba79
provide name based nbd connects
...
Because nbd-server also provides name-based exports instead of
port-based ones, make it possible to connect to those.
13 years ago
Daniel Drake
4e25cf6edf
Avoid use of "export -n"
...
"export -n" is a bash extension, not part of POSIX, and is hence
incompatible with the busybox shell.
This was breaking boot when the busybox module was used.
Reimplement the scope change in a few lines of standard shell code.
13 years ago
Will Woods
5055abb615
98selinux/selinux-loadpolicy.sh: use mount --rbind for /dev
...
This preserves /dev/shm and /dev/pts for the selinux relabel.
13 years ago
Harald Hoyer
abbb76fe93
Do not mount --bind /run anymore
...
switch_root in util-linux 2.21 does mount --move /run also
13 years ago
Will Woods
478314a90e
Make sure 'set -x' gets turned back on in wait_for_loginit
...
wait_for_loginit does set +x (to turn off debugging temporarily), but
sometimes it would return before turning it back on. Move the set +x
line to fix that, then use 'setdebug' to make sure we don't turn it back
on unless it was needed.
13 years ago
Will Woods
8cd592dfcb
fix "execvp: No such file or directory" in emergency_shell
...
Older versions of setsid emit this message on stderr if you try to run
"setsid --help". Redirect it to /dev/null.
13 years ago
Harald Hoyer
d8eb522e80
TEST-01-BASIC: add setsid
13 years ago
Harald Hoyer
c3d81de59b
remove openvt and use "setsid -c", if possible
13 years ago
Harald Hoyer
02aa795514
remove --ctty
13 years ago
Harald Hoyer
0884261283
NEWS: update
13 years ago
Harald Hoyer
f94ceb13b8
TEST-10-RAID: wait for udev settle before deconstructing
13 years ago
Harald Hoyer
4ce3a1b1bb
precompile doc
13 years ago
Harald Hoyer
888d53f270
replace xml documentation with asciidoc
13 years ago
Harald Hoyer
dc824f1994
remove dracut-gencmdline
13 years ago
Harald Hoyer
3a00cf9ecc
AUTHORS: update
13 years ago
Harald Hoyer
803be5aa50
README: added github and sourceforge git links
13 years ago
Will Woods
52c4c9484d
Add 'live.updates' to livenet module
...
live.updates allows you to specify the URL for an "updates image" that
should be applied to the live runtime before switch_root.
The URL can be anything supported by url-lib (http, https, ftp, possibly
nfs) and the image can be anything supported by img-lib (xz/gzip
compressed cpio/tar, uncompressed cpio/tar, filesystem image, etc.)
13 years ago
Will Woods
7e60091c6b
url-lib: clean up output
...
For curl_fetch_url (http/https/ftp):
- use --progress-bar (the output is less messy)
- print the URL we're fetching so the user know's what's happening
For curl and nfs:
- don't echo the filename if it was provided by the user
13 years ago
Will Woods
04febed782
img-lib: fix unpack_img()
...
- det_img should have been det_archive
- for ft=xz|gzip|bzip2, decompr should be "$ft -dc"
13 years ago
Dan Horák
2ff3fc73c8
install ctcm network module on s390
...
The ctcm module is not loaded automagically because it doesn't pass the
"ether_type_trans" test in 40net/module-setup.sh, so load it explicitly.
13 years ago
Harald Hoyer
d33d60774f
dracut.spec: add 98pollcdrom
13 years ago