Will Woods
d37ad6aea0
write-ifcfg.sh: cleanups
...
mkdir -p creates intermediate directories and never returns an error, so
we don't need to create the intermediate directories ourself.
13 years ago
Harald Hoyer
a3f00efc99
40network/kill-dhclient.sh: kill dhclient silently
13 years ago
Will Woods
8a0d2fc56f
url-lib: make nfs support optional
...
Only include /lib/nfs-lib.sh if it exists, and then only run
add_url_handler if nfs-lib was imported.
13 years ago
Will Woods
ffcc64bdea
move emergency_shell to dracut-lib.sh
...
This lets things running outside init call an emergency_shell.
(example: scripts called by initqueue)
13 years ago
Jan Stodola
778f767bcc
Fix correct nfs path
13 years ago
Harald Hoyer
e12c1a8da1
dracut-functions.sh:install_kmod_with_fw() delay .kernelmodseen
...
first check for omit, then mark the kernel module as seen
when we temporarily omit_drivers, we don't want to mark them as seen.
example: nfs.ko module in kernel-modules, but the nfs module
should be able to load it later on.
13 years ago
Harald Hoyer
8d021e4b8a
90crypt/parse-crypt.sh: simplify rd.luks.uuid testing
13 years ago
Harald Hoyer
95268ffed3
30convertfs/convertfs.sh: correct check for /usr/bin
13 years ago
Harald Hoyer
9eded206c9
98usrmount/mount-usr.sh: check, if we have $NEWROOT/etc/fstab
13 years ago
Harald Hoyer
b642ce5340
98usrmount/mount-usr.sh: ignore comments in fstab
13 years ago
Harald Hoyer
34769a1445
TODO: update
13 years ago
Harald Hoyer
b7ddf6c1d8
make bzip2 optional
13 years ago
Harald Hoyer
cf38fc7389
10i18n/module-setup.sh: optimize install of all kbd files
13 years ago
Harald Hoyer
ddd01008ff
95terminfo/module-setup.sh: no need to call "find"
13 years ago
Harald Hoyer
7a5f1ee46a
dracut.spec: require "hardlink"
13 years ago
Harald Hoyer
379c34d2cf
dracut.sh/dracut-functions.sh: use a marker-dir for kernel modules
...
use "$initdir/.kernelmodseen" to mark kernel modules, which we already
handled with install_kmod_with_fw()
13 years ago
Harald Hoyer
334cc28327
dracut-functions.sh: instmods() print only filename instead of fullpath
...
do not print the full path, when we use "find" for kernel modules, but
rather only the filename.
13 years ago
Harald Hoyer
edea870c3c
dracut-functions.sh: instmods() removed special case for "=ata"
13 years ago
Harald Hoyer
86191581d1
dracut-functions.sh: instmods(): replace egrep with shell code
13 years ago
Harald Hoyer
07f3e4f168
dracut-functions.sh: get_fs_env() replaced egrep with shell
13 years ago
Harald Hoyer
b6f0dcbda1
30convertfs/convertfs.sh: use hardlinks for inter-/usr cp
13 years ago
Harald Hoyer
5e5f3d5e6c
95nfs/module-setup.sh: removed "egrep" and "ls" calls
13 years ago
Harald Hoyer
25b36ef124
99fs-lib/module-setup.sh: removed "touch"
13 years ago
Harald Hoyer
f5a9e45923
Version 017
13 years ago
Harald Hoyer
1701d7adc8
30convertfs/convertfs.sh: add check for /usr/bin
...
Check if /usr is mounted, by checking for /usr/bin
13 years ago
Harald Hoyer
d18bc9070d
dracut-functions.sh: optimize ldd
13 years ago
Harald Hoyer
86bf239ede
dracut-functions.sh: only call ldd in find_binary() for "*.so*"
13 years ago
Harald Hoyer
d433da4473
dracut.sh: first install /usr dirs, then toplevel
...
This saves some checks in inst_dir.
13 years ago
Harald Hoyer
3249c257a0
dracut-functions.sh: optimized
...
get rid off lots of duplicated checks and code
13 years ago
Harald Hoyer
a6b63f9192
dracut.spec,Makefile: backward compat symlink for dracut-functions.sh
13 years ago
Harald Hoyer
b019d405d9
dracut.spec: changes for RHEL-6
13 years ago
Harald Hoyer
004fd0557d
host-only checks corrected and kernel_only mode
...
In kernel_only mode, we don't want to write /etc/cmdline.d
Correctly return the check functions, so we have a valid return of
for_each_host_dev_fs().
mdraid and dmraid functions had wrong checkings for the filesystem
type.
13 years ago
Harald Hoyer
2efa546f26
dracut-functions.sh:for_each_host_dev_fs() return a value
...
for_each_host_dev_fs() now returns 0 if one func returned with 0
13 years ago
Colin Guthrie
0330b91987
lvm: Only activate a given vg+lv once.
...
Due to the way the main loop runs to detect partions, the same one
might be included twice (albeit via different symlinks.
This code simply prevents the same combo being activated twice.
A better fix might simply be to not include duplicate (after
resolving symlinks) entries in the host_fs_types variable.
13 years ago
Colin Guthrie
e0a38de881
mount-usr: Calculate and pass full fsck options when mounting /usr.
...
Edited-By: Harald Hoyer <harald@redhat.com>
13 years ago
Colin Guthrie
d06580986b
fs-lib: No need to pass in _dev and _fop as they are inherited, not used as arguments.
13 years ago
Harald Hoyer
03a44f0bf0
git2spec.pl: detect renames
13 years ago
Harald Hoyer
8b6e099892
90kernel-modules/module-setup.sh: exclude nfs* lockd from standard
...
do not install nfs* lockd filesystems for the standard kernel modules
13 years ago
Harald Hoyer
34248c926c
change omit_drivers to support regexp expressions
13 years ago
Harald Hoyer
14c47b0ee4
dracut.sh: do not install some files in installkernel
...
/etc/cmdline.d
/etc/fstab
13 years ago
Harald Hoyer
edd3262efd
40network/parse-ip-opts.sh: "local" can only be used in functions
13 years ago
Harald Hoyer
9cb8447c90
dracut-functions.sh:inst_library(): readlink source dir first
...
read link of the source dir, before convert_abs_to_rel()
13 years ago
Harald Hoyer
cc227886c6
dracut-functions.sh:inst_simple(): no inst_dir if dir exists
13 years ago
Harald Hoyer
6d2a7942aa
dracut-functions.sh: set IFS only for variable setting
13 years ago
Harald Hoyer
43dfbeec7b
dracut-functions.sh: turn off regexp for strstr()
13 years ago
Harald Hoyer
3335ed0ef4
dracut.sh: skip symlink dirs for prelink unlink
13 years ago
Harald Hoyer
b6e244f794
90kernel-modules/module-setup.sh: install modules.* in installkernel()
...
modules.* should be in the kernel initramfs
13 years ago
Harald Hoyer
14669e3a86
95nfs/module-setup.sh: whitespace fixup
13 years ago
Harald Hoyer
552ecca6db
Renamed all shell scripts to *.sh
13 years ago
Harald Hoyer
9373aec650
TEST-30-ISCSI/test.sh: factor out client runs
13 years ago