Mark Fasheh
1f8a7ae799
dracut-emergency: optionally print fs help
...
Allow filesystem modules to install a fs-specific text file with
instructions on what to do when mount fails. This is printed when we go into
an emergency shell.
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
7 years ago
Harald Hoyer
d84f4687c3
dracut-init.sh: check for file $DRACUT_KERNEL_MODALIASES
...
and not for the directory
8 years ago
Harald Hoyer
db17ef6c4f
dracut-init.sh: add the kernel directory to the --modalias generation
8 years ago
Harald Hoyer
3ad12c7be8
Check all modalias files in /sys/devices for modules
...
and add the corresponding kernel modules to the host module list
https://bugzilla.redhat.com/show_bug.cgi?id=1467427
8 years ago
Martin Wilck
d13071d7a6
dracut-init.sh: fix typo
8 years ago
Harald Hoyer
647b521fc7
dracut: check for EUID instead of UID
8 years ago
Harald Hoyer
076fcd1652
dracut: only copy xattr, if root
...
otherwise cp complains a lot about not being able to copy xattrs
8 years ago
Harald Hoyer
7e51a94f5b
Do not "cp" the selinux context
...
replace "cp -a" with $DRACUT_CP, so in case the selinux policy disallows
root to set the selinux context in /var/tmp, dracut does not fail.
8 years ago
Harald Hoyer
8e01095755
dracut-init.sh: set default firmware path, if not specified
9 years ago
Harald Hoyer
1901500187
move ln_r() to dracut-init.sh
9 years ago
Harald Hoyer
3f60444ec1
removed obsolete kernel module functions and host_modules variable
...
module_is_host_only()
find_kernel_modules_by_path()
find_kernel_modules()
9 years ago
Harald Hoyer
fa295f0bcd
dracut_install: honor --silent flag
9 years ago
Harald Hoyer
9bb030c5d8
dracut-init.sh: beautify instmods()
9 years ago
Harald Hoyer
794b2d2c75
Use dracut-install to install kernel modules
...
dracut-install can now install kernel modules and their corresponding
firmware files.
9 years ago
Harald Hoyer
ff8f702689
dracut-init.sh: mark error messages with FAILED
9 years ago
Harald Hoyer
374ef3ed2b
dracut-init.sh: Add file argument to sed's
...
fixup for 06a1d07690
9 years ago
Ville Skyttä
06a1d07690
dracut-init.sh: Simplify udev rule grepping
9 years ago
Ville Skyttä
9430ae301e
Do not use deprecated egrep/fgrep
9 years ago
Harald Hoyer
456f299ab8
dracut-init.sh: libdir paths need dracut-function.sh
9 years ago
Harald Hoyer
07a081f352
dracut.sh: remove the concept of host_modalias
...
We can never gather enough information about compiled in modules, so
don't pretend to know and do smart decisions.
9 years ago
Harald Hoyer
561eb42f39
reduce dracut-functions.sh and add to dracut-init.sh
...
move all dracut specific functions to dracut-init.sh
9 years ago
Harald Hoyer
777f2db037
splitup dracut-init.sh from dracut-functions.sh
...
other tools want to source dracut-functions.sh without any mkdir side
effects.
10 years ago