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
Harald Hoyer
30befb85e3
.gitignore: add eclipse directories
13 years ago
Will Woods
ed293f6d0c
url-lib: fix fetch_url return value for dotfiles
...
If you do "fetch_url $url/.somefile", fetch_url would return failure,
because "$outdir/*" wouldn't match the file.
Use ls -A (which busybox ls supports) to actually find possible dotfiles
in the created output dir.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Harald Hoyer
cd9592385d
98usrmount/mount-usr.sh: honor fs_passno in /etc/fstab
...
If the sixth field in /etc/fstab is "0" or not present for /usr, do not
run fsck.
This prevents fsck for nfs /usr also.
13 years ago
Harald Hoyer
7e2bca4820
dracut-functions: documentation and restructuring
13 years ago
Harald Hoyer
c4e48eaea1
dracut-functions: factor out all get_maj_min() variants
13 years ago
Harald Hoyer
3905f6695e
TEST-30-ISCSI: add test case for "root=iscsi:...." and untabify
13 years ago
Harald Hoyer
2a3faa2df9
95iscsi: fix "root=iscsi:...." case
...
install udev rules and wait for /dev/root
13 years ago
Dave Young
86de902e35
ssh-client module install fix
...
commit 38164332e1
try to
disallow ssh-client install for without proper options.
But ssh-client will fail installation with --sshkey for
publickey mode
Fix it by refusing to install only when both --ctty and --sshkey
are not added in options.
Signed-off-by: Dave Young <dyoung@redhat.com>
13 years ago
Will Woods
c1df00d2c6
livenet: avoid spurious error message / wait_for_dev
...
If the user didn't request a livenet boot, don't print an error
and don't do wait_for_dev.
Signed-off-by: Will Woods <wwoods@redhat.com>
13 years ago
Dave Young
75cade1216
add function wait_for_route_ok
...
Manually setuping nic through udev is not always done when
we want network access. Here add a function wait_for_route_ok to
wait and make sure the network is accesible
[v1 -> v2]:
Harald: don't use bash syntax
Add check for [ -n "$li" ] because `ip route show` will show nothing probably
Signed-off-by: Dave Young <dyoung@redhat.com>
13 years ago
Harald Hoyer
a2c631c0a3
Makefile: also link dracut-shutdown.service to shutdown target
13 years ago
Harald Hoyer
6bee336909
Version 16
13 years ago
Harald Hoyer
5c4bb360e3
dracut.spec: add missing modules
13 years ago
Harald Hoyer
969394f503
95nfs/nfs-lib.sh: do not bail out at sourcing in nfsroot_from_dhcp()
...
nfsroot_from_dhcp() returned with failure if one of
/tmp/net.$iface.override /tmp/dhclient.$iface.dhcpopts was missing
13 years ago
Harald Hoyer
4977febf46
s/bash/sh for all new *-lib.sh
13 years ago