Zhiguo Deng
7527b90c88
Check rd.zfcp= format in dracut hook:cmdline process stage
...
When using rd.zfcp= parameter in generic.prm file, wrong format
parameters will prevent the zfcp driver to add the correct SCSI
disk. dracut should die when a wrong rd.zfcp= parameter supplied.
Signed-off-by: Zhiguo Deng <bjzgdeng@linux.vnet.ibm.com>
9 years ago
Harald Hoyer
967cc19ab1
remove all vim and emacs code format comments
11 years ago
Harald Hoyer
5a57582050
Add rd.hostonly kernel command line parameters
...
rd.hostonly=0 will remove all configuration compiled in the initramfs
from the host on which it was build
11 years ago
Harald Hoyer
30e6e809ed
Factor out all the "type -V" commands
...
Add new functions require_binaries() and require_any_binary() to be used
in the check() section of module-setup.sh.
These functions print a warning line telling the user, which binary is
missing for the specific dracut module.
This unifies the way of checking for binaries and makes the life of an
initramfs creator easier, if he wants to find out why a specific dracut
module is not included in the initramfs.
11 years ago
Hannes Reinecke
61c0665dad
95zfcp: Make installation optional
...
zfcp_cio_free is a RedHat-specific tool, so do not install this
module if the program isn't present.
Signed-off-by: Hannes Reinecke <hare@suse.de>
11 years ago
Harald Hoyer
8bcfd683bd
*/module-setup.sh: add comments for dracut called functions
12 years ago
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Dan Horák
bc97e005fa
use system provides udev rule and initialization script
12 years ago
Harald Hoyer
9584c6ae90
zfcp: match udev rule against KERNEL=="zfcp"
...
zfcp_cfdc will go away in the future
tt
12 years ago
Harald Hoyer
68e7661ca7
deprecate old command line options
13 years ago
Harald Hoyer
99c7b70d1d
modules.d: get rid of "tr"
...
replace it with sed or str_replace or bash ${var/a/b}
13 years ago
Harald Hoyer
53fe81e752
modules.d/*/module-setup.sh: combine and specify type for installs
...
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
13 years ago
Harald Hoyer
3b403b32fc
removed trailing whitespaces
14 years ago
Harald Hoyer
fb59f4c967
get rid of absolute PATHs
14 years ago
Harald Hoyer
71df3c4329
renamed module-info.sh to module-setup.sh
14 years ago
Harald Hoyer
95d2dabc25
replaced check,install,installkernel with module-info.sh
14 years ago
Harald Hoyer
fa7ada31d0
new parameter option names with "rd.*" namespace
...
Renamed Options
Here is a list of options, which were used in dracut prior to
version 008, and their new replacement.
rdbreak
rd.break
rd_CCW
rd.ccw
rdcopystate
rd.copystate
rd_DASD_MOD
rd.dasd_mod.dasd
rd_DASD
rd.dasd
rdinitdebug rdnetdebug
rd.debug
rd_NO_DM
rd.dm=0
rd_DM_UUID
rd.dm.uuid
rdblacklist
rd.driver.blacklist
rdinsmodpost
rd.driver.post
rdloaddriver
rd.driver.pre
rd_NO_FSTAB
rd.fstab=0
rdinfo
rd.info
check
rd.live.check
rdlivedebug
rd.live.debug
live_dir
rd.live.dir
liveimg
rd.live.image
overlay
rd.live.overlay
readonly_overlay
rd.live.overlay.readonly
reset_overlay
rd.live.overlay.reset
live_ram
rd.live.ram
rd_NO_CRYPTTAB
rd.luks.crypttab=0
rd_LUKS_KEYDEV_UUID
rd.luks.keydev.uuid
rd_LUKS_KEYPATH
rd.luks.keypath
rd_NO_LUKS
rd.luks=0
rd_LUKS_UUID
rd.luks.uuid
rd_LUKS_UUID
rd.luks.uuid
rd_NO_LVMCONF
rd.lvm.conf
rd_LVM_LV
rd.lvm.lv
rd_NO_LVM
rd.lvm=0
rd_LVM_SNAPSHOT
rd.lvm.snapshot
rd_LVM_SNAPSIZE
rd.lvm.snapsize
rd_LVM_VG
rd.lvm.vg
rd_NO_MDADMCONF
rd.md.conf=0
rd_NO_MDIMSM
rd.md.imsm=0
rd_NO_MD
rd.md=0
rd_MD_UUID
rd.md.uuid
rd_NFS_DOMAIN
rd.nfs.domain
rd_NO_PLYMOUTH
rd.plymouth=0
rd_retry
rd.retry
rdshell
rd.shell
rd_NO_SPLASH
rd.splash
rdudevdebug
rd.udev.debug
rdudevinfo
rd.udev.info
rd_NO_ZFCPCONF
rd.zfcp.conf=0
rd_ZFCP
rd.zfcp
15 years ago
Harald Hoyer
cc02093d69
reformat source code
...
removed tabs and set indention to 4 spaces
added emacs and vi format headers
15 years ago
Harald Hoyer
8c8cd69d32
s390: *_cio_free needs "seq"
15 years ago
Harald Hoyer
b456ab777d
zfcp: install s390utils script rather than local one
15 years ago
Harald Hoyer
e1603bf7e4
s390: add call to *_cio_free and use current s390utils udev rules
15 years ago
Philippe Seewer
2e6b98c7f6
All module scripts should have a shebang
15 years ago
Harald Hoyer
f791957ae3
zfcp: only install /etc/zfcp.conf in hostonly mode
16 years ago
Harald Hoyer
1ccc0fad27
add zfcp support for s390
16 years ago