summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2011-02-02 16:35:18 +0100
committerHarald Hoyer <harald@redhat.com>2011-02-02 16:35:18 +0100
commit71df3c432983010d9d024f83a07e1d417c952e8e (patch)
tree86b570224d19e5da18424aaedc0a0f91f039fe1f
parent6ae5caf00899e89684e250bbe25c7de201ecc45b (diff)
downloaddracut-71df3c432983010d9d024f83a07e1d417c952e8e.tar.gz
dracut-71df3c432983010d9d024f83a07e1d417c952e8e.tar.bz2
dracut-71df3c432983010d9d024f83a07e1d417c952e8e.zip
renamed module-info.sh to module-setup.sh
-rw-r--r--NEWS2
-rwxr-xr-xdracut-functions16
-rw-r--r--dracut.xml2
-rwxr-xr-xmodules.d/00bootchart/module-setup.sh (renamed from modules.d/00bootchart/module-info.sh)0
-rwxr-xr-xmodules.d/00dash/module-setup.sh (renamed from modules.d/00dash/module-info.sh)0
-rwxr-xr-xmodules.d/01fips/module-setup.sh (renamed from modules.d/01fips/module-info.sh)0
-rwxr-xr-xmodules.d/05busybox/module-setup.sh (renamed from modules.d/05busybox/module-info.sh)0
-rwxr-xr-xmodules.d/10i18n/module-setup.sh (renamed from modules.d/10i18n/module-info.sh)0
-rwxr-xr-xmodules.d/10rpmversion/module-setup.sh (renamed from modules.d/10rpmversion/module-info.sh)0
-rwxr-xr-xmodules.d/40network/module-setup.sh (renamed from modules.d/40network/module-info.sh)0
-rwxr-xr-xmodules.d/45ifcfg/module-setup.sh (renamed from modules.d/45ifcfg/module-info.sh)0
-rwxr-xr-xmodules.d/50gensplash/module-setup.sh (renamed from modules.d/50gensplash/module-info.sh)0
-rwxr-xr-xmodules.d/50plymouth/module-setup.sh (renamed from modules.d/50plymouth/module-info.sh)0
-rwxr-xr-xmodules.d/60xen/module-setup.sh (renamed from modules.d/60xen/module-info.sh)0
-rwxr-xr-xmodules.d/90btrfs/module-setup.sh (renamed from modules.d/90btrfs/module-info.sh)0
-rwxr-xr-xmodules.d/90crypt/module-setup.sh (renamed from modules.d/90crypt/module-info.sh)0
-rwxr-xr-xmodules.d/90dm/module-setup.sh (renamed from modules.d/90dm/module-info.sh)0
-rwxr-xr-xmodules.d/90dmraid/module-setup.sh (renamed from modules.d/90dmraid/module-info.sh)0
-rwxr-xr-xmodules.d/90dmsquash-live/module-setup.sh (renamed from modules.d/90dmsquash-live/module-info.sh)0
-rwxr-xr-xmodules.d/90kernel-modules/module-setup.sh (renamed from modules.d/90kernel-modules/module-info.sh)0
-rwxr-xr-xmodules.d/90lvm/module-setup.sh (renamed from modules.d/90lvm/module-info.sh)0
-rwxr-xr-xmodules.d/90mdraid/module-setup.sh (renamed from modules.d/90mdraid/module-info.sh)0
-rwxr-xr-xmodules.d/90multipath/module-setup.sh (renamed from modules.d/90multipath/module-info.sh)0
-rwxr-xr-xmodules.d/95dasd/module-setup.sh (renamed from modules.d/95dasd/module-info.sh)0
-rwxr-xr-xmodules.d/95dasd_mod/module-setup.sh (renamed from modules.d/95dasd_mod/module-info.sh)0
-rwxr-xr-xmodules.d/95debug/module-setup.sh (renamed from modules.d/95debug/module-info.sh)0
-rwxr-xr-xmodules.d/95fcoe/module-setup.sh (renamed from modules.d/95fcoe/module-info.sh)0
-rwxr-xr-xmodules.d/95fstab-sys/module-setup.sh (renamed from modules.d/95fstab-sys/module-info.sh)0
-rwxr-xr-xmodules.d/95iscsi/module-setup.sh (renamed from modules.d/95iscsi/module-info.sh)0
-rwxr-xr-xmodules.d/95nbd/module-setup.sh (renamed from modules.d/95nbd/module-info.sh)0
-rwxr-xr-xmodules.d/95nfs/module-setup.sh (renamed from modules.d/95nfs/module-info.sh)0
-rwxr-xr-xmodules.d/95resume/module-setup.sh (renamed from modules.d/95resume/module-info.sh)0
-rwxr-xr-xmodules.d/95rootfs-block/module-setup.sh (renamed from modules.d/95rootfs-block/module-info.sh)0
-rwxr-xr-xmodules.d/95terminfo/module-setup.sh (renamed from modules.d/95terminfo/module-info.sh)0
-rwxr-xr-xmodules.d/95udev-rules/module-setup.sh (renamed from modules.d/95udev-rules/module-info.sh)0
-rwxr-xr-xmodules.d/95zfcp/module-setup.sh (renamed from modules.d/95zfcp/module-info.sh)0
-rwxr-xr-xmodules.d/95znet/module-setup.sh (renamed from modules.d/95znet/module-info.sh)0
-rwxr-xr-xmodules.d/96insmodpost/module-setup.sh (renamed from modules.d/96insmodpost/module-info.sh)0
-rwxr-xr-xmodules.d/97biosdevname/module-setup.sh (renamed from modules.d/97biosdevname/module-info.sh)0
-rwxr-xr-xmodules.d/98selinux/module-setup.sh (renamed from modules.d/98selinux/module-info.sh)0
-rwxr-xr-xmodules.d/98syslog/module-setup.sh (renamed from modules.d/98syslog/module-info.sh)0
-rwxr-xr-xmodules.d/99base/module-setup.sh (renamed from modules.d/99base/module-info.sh)0
42 files changed, 10 insertions, 10 deletions
diff --git a/NEWS b/NEWS
index 18c483d0..ef00e9a5 100644
--- a/NEWS
+++ b/NEWS
@@ -2,7 +2,7 @@ dracut-008
==========
- removed --ignore-kernel-modules option (no longer necessary)
- renamed kernel command line arguments to follow the rd. naming scheme
-- merged check, install, installkernel to module-info.sh
+- merged check, install, installkernel to module-setup.sh
- support for bzip2 and xz compressed initramfs images.
- source code beautification
- lots of documentation
diff --git a/dracut-functions b/dracut-functions
index a183a43d..e80a6387 100755
--- a/dracut-functions
+++ b/dracut-functions
@@ -518,14 +518,14 @@ inst_opt_decompress() {
module_check() {
local moddir=$(echo ${dracutbasedir}/modules.d/??${1})
[[ -d $moddir ]] || return 1
- if [[ ! -f $moddir/module-info.sh ]]; then
+ if [[ ! -f $moddir/module-setup.sh ]]; then
# if we do not have a check script, we are unconditionally included
[[ -x $moddir/check ]] || return 0
$moddir/check $hostonly
return $?
else
unset check depends install installkernel
- . $moddir/module-info.sh
+ . $moddir/module-setup.sh
is_func check || return 0
check
ret=$?
@@ -537,14 +537,14 @@ module_check() {
module_depends() {
local moddir=$(echo ${dracutbasedir}/modules.d/??${1})
[[ -d $moddir ]] || return 1
- if [[ ! -f $moddir/module-info.sh ]]; then
+ if [[ ! -f $moddir/module-setup.sh ]]; then
# if we do not have a check script, we have no deps
[[ -x $moddir/check ]] || return 0
$moddir/check -d
return $?
else
unset check depends install installkernel
- . $moddir/module-info.sh
+ . $moddir/module-setup.sh
is_func depends || return 0
depends
ret=$?
@@ -556,12 +556,12 @@ module_depends() {
module_install() {
local moddir=$(echo ${dracutbasedir}/modules.d/??${1})
[[ -d $moddir ]] || return 1
- if [[ ! -f $moddir/module-info.sh ]]; then
+ if [[ ! -f $moddir/module-setup.sh ]]; then
[[ -x $moddir/install ]] && . "$moddir/install"
return $?
else
unset check depends install installkernel
- . $moddir/module-info.sh
+ . $moddir/module-setup.sh
is_func install || return 0
install
ret=$?
@@ -573,12 +573,12 @@ module_install() {
module_installkernel() {
local moddir=$(echo ${dracutbasedir}/modules.d/??${1})
[[ -d $moddir ]] || return 1
- if [[ ! -f $moddir/module-info.sh ]]; then
+ if [[ ! -f $moddir/module-setup.sh ]]; then
[[ -x $moddir/installkernel ]] && . "$moddir/installkernel"
return $?
else
unset check depends install installkernel
- . $moddir/module-info.sh
+ . $moddir/module-setup.sh
is_func installkernel || return 0
installkernel
ret=$?
diff --git a/dracut.xml b/dracut.xml
index 089f8eeb..9b70f0c3 100644
--- a/dracut.xml
+++ b/dracut.xml
@@ -613,7 +613,7 @@ Common used functions are in <filename>dracut-lib.sh</filename>, which can be so
<section>
<title>Writing a Module</title>
<para>A simple example module is <filename>96insmodpost</filename>, which modprobes a kernel module after udev has settled and the basic device drivers have been loaded.</para>
- <para>All module installation information is in the file module-info.sh.</para>
+ <para>All module installation information is in the file module-setup.sh.</para>
<para>First we create a <function>check()</function> function, which just exits with <errorcode>0</errorcode> indicating that this module should be included by default.</para>
<para><function>check()</function>:</para>
<programlisting>return 0</programlisting>
diff --git a/modules.d/00bootchart/module-info.sh b/modules.d/00bootchart/module-setup.sh
index b58ce355..b58ce355 100755
--- a/modules.d/00bootchart/module-info.sh
+++ b/modules.d/00bootchart/module-setup.sh
diff --git a/modules.d/00dash/module-info.sh b/modules.d/00dash/module-setup.sh
index dfd4d7bf..dfd4d7bf 100755
--- a/modules.d/00dash/module-info.sh
+++ b/modules.d/00dash/module-setup.sh
diff --git a/modules.d/01fips/module-info.sh b/modules.d/01fips/module-setup.sh
index cdcded6a..cdcded6a 100755
--- a/modules.d/01fips/module-info.sh
+++ b/modules.d/01fips/module-setup.sh
diff --git a/modules.d/05busybox/module-info.sh b/modules.d/05busybox/module-setup.sh
index 031b3357..031b3357 100755
--- a/modules.d/05busybox/module-info.sh
+++ b/modules.d/05busybox/module-setup.sh
diff --git a/modules.d/10i18n/module-info.sh b/modules.d/10i18n/module-setup.sh
index a524d2d0..a524d2d0 100755
--- a/modules.d/10i18n/module-info.sh
+++ b/modules.d/10i18n/module-setup.sh
diff --git a/modules.d/10rpmversion/module-info.sh b/modules.d/10rpmversion/module-setup.sh
index e26d7852..e26d7852 100755
--- a/modules.d/10rpmversion/module-info.sh
+++ b/modules.d/10rpmversion/module-setup.sh
diff --git a/modules.d/40network/module-info.sh b/modules.d/40network/module-setup.sh
index cb8c5df8..cb8c5df8 100755
--- a/modules.d/40network/module-info.sh
+++ b/modules.d/40network/module-setup.sh
diff --git a/modules.d/45ifcfg/module-info.sh b/modules.d/45ifcfg/module-setup.sh
index 3cd0c485..3cd0c485 100755
--- a/modules.d/45ifcfg/module-info.sh
+++ b/modules.d/45ifcfg/module-setup.sh
diff --git a/modules.d/50gensplash/module-info.sh b/modules.d/50gensplash/module-setup.sh
index cdcdabd2..cdcdabd2 100755
--- a/modules.d/50gensplash/module-info.sh
+++ b/modules.d/50gensplash/module-setup.sh
diff --git a/modules.d/50plymouth/module-info.sh b/modules.d/50plymouth/module-setup.sh
index 9a62617f..9a62617f 100755
--- a/modules.d/50plymouth/module-info.sh
+++ b/modules.d/50plymouth/module-setup.sh
diff --git a/modules.d/60xen/module-info.sh b/modules.d/60xen/module-setup.sh
index 52b20508..52b20508 100755
--- a/modules.d/60xen/module-info.sh
+++ b/modules.d/60xen/module-setup.sh
diff --git a/modules.d/90btrfs/module-info.sh b/modules.d/90btrfs/module-setup.sh
index 0503e1d5..0503e1d5 100755
--- a/modules.d/90btrfs/module-info.sh
+++ b/modules.d/90btrfs/module-setup.sh
diff --git a/modules.d/90crypt/module-info.sh b/modules.d/90crypt/module-setup.sh
index 5b435e5c..5b435e5c 100755
--- a/modules.d/90crypt/module-info.sh
+++ b/modules.d/90crypt/module-setup.sh
diff --git a/modules.d/90dm/module-info.sh b/modules.d/90dm/module-setup.sh
index 11985fd2..11985fd2 100755
--- a/modules.d/90dm/module-info.sh
+++ b/modules.d/90dm/module-setup.sh
diff --git a/modules.d/90dmraid/module-info.sh b/modules.d/90dmraid/module-setup.sh
index f4377122..f4377122 100755
--- a/modules.d/90dmraid/module-info.sh
+++ b/modules.d/90dmraid/module-setup.sh
diff --git a/modules.d/90dmsquash-live/module-info.sh b/modules.d/90dmsquash-live/module-setup.sh
index 2f46f67a..2f46f67a 100755
--- a/modules.d/90dmsquash-live/module-info.sh
+++ b/modules.d/90dmsquash-live/module-setup.sh
diff --git a/modules.d/90kernel-modules/module-info.sh b/modules.d/90kernel-modules/module-setup.sh
index 342e6507..342e6507 100755
--- a/modules.d/90kernel-modules/module-info.sh
+++ b/modules.d/90kernel-modules/module-setup.sh
diff --git a/modules.d/90lvm/module-info.sh b/modules.d/90lvm/module-setup.sh
index 25557280..25557280 100755
--- a/modules.d/90lvm/module-info.sh
+++ b/modules.d/90lvm/module-setup.sh
diff --git a/modules.d/90mdraid/module-info.sh b/modules.d/90mdraid/module-setup.sh
index 8f698220..8f698220 100755
--- a/modules.d/90mdraid/module-info.sh
+++ b/modules.d/90mdraid/module-setup.sh
diff --git a/modules.d/90multipath/module-info.sh b/modules.d/90multipath/module-setup.sh
index f78517ca..f78517ca 100755
--- a/modules.d/90multipath/module-info.sh
+++ b/modules.d/90multipath/module-setup.sh
diff --git a/modules.d/95dasd/module-info.sh b/modules.d/95dasd/module-setup.sh
index 0cfb7b94..0cfb7b94 100755
--- a/modules.d/95dasd/module-info.sh
+++ b/modules.d/95dasd/module-setup.sh
diff --git a/modules.d/95dasd_mod/module-info.sh b/modules.d/95dasd_mod/module-setup.sh
index 0f8700c0..0f8700c0 100755
--- a/modules.d/95dasd_mod/module-info.sh
+++ b/modules.d/95dasd_mod/module-setup.sh
diff --git a/modules.d/95debug/module-info.sh b/modules.d/95debug/module-setup.sh
index 0c172512..0c172512 100755
--- a/modules.d/95debug/module-info.sh
+++ b/modules.d/95debug/module-setup.sh
diff --git a/modules.d/95fcoe/module-info.sh b/modules.d/95fcoe/module-setup.sh
index d5500bbf..d5500bbf 100755
--- a/modules.d/95fcoe/module-info.sh
+++ b/modules.d/95fcoe/module-setup.sh
diff --git a/modules.d/95fstab-sys/module-info.sh b/modules.d/95fstab-sys/module-setup.sh
index f46c0372..f46c0372 100755
--- a/modules.d/95fstab-sys/module-info.sh
+++ b/modules.d/95fstab-sys/module-setup.sh
diff --git a/modules.d/95iscsi/module-info.sh b/modules.d/95iscsi/module-setup.sh
index 23c612a9..23c612a9 100755
--- a/modules.d/95iscsi/module-info.sh
+++ b/modules.d/95iscsi/module-setup.sh
diff --git a/modules.d/95nbd/module-info.sh b/modules.d/95nbd/module-setup.sh
index 3cf14ef0..3cf14ef0 100755
--- a/modules.d/95nbd/module-info.sh
+++ b/modules.d/95nbd/module-setup.sh
diff --git a/modules.d/95nfs/module-info.sh b/modules.d/95nfs/module-setup.sh
index 84673ab8..84673ab8 100755
--- a/modules.d/95nfs/module-info.sh
+++ b/modules.d/95nfs/module-setup.sh
diff --git a/modules.d/95resume/module-info.sh b/modules.d/95resume/module-setup.sh
index cde9fca2..cde9fca2 100755
--- a/modules.d/95resume/module-info.sh
+++ b/modules.d/95resume/module-setup.sh
diff --git a/modules.d/95rootfs-block/module-info.sh b/modules.d/95rootfs-block/module-setup.sh
index 419351b2..419351b2 100755
--- a/modules.d/95rootfs-block/module-info.sh
+++ b/modules.d/95rootfs-block/module-setup.sh
diff --git a/modules.d/95terminfo/module-info.sh b/modules.d/95terminfo/module-setup.sh
index 8022db3a..8022db3a 100755
--- a/modules.d/95terminfo/module-info.sh
+++ b/modules.d/95terminfo/module-setup.sh
diff --git a/modules.d/95udev-rules/module-info.sh b/modules.d/95udev-rules/module-setup.sh
index 944bbc2e..944bbc2e 100755
--- a/modules.d/95udev-rules/module-info.sh
+++ b/modules.d/95udev-rules/module-setup.sh
diff --git a/modules.d/95zfcp/module-info.sh b/modules.d/95zfcp/module-setup.sh
index 06c8d8f6..06c8d8f6 100755
--- a/modules.d/95zfcp/module-info.sh
+++ b/modules.d/95zfcp/module-setup.sh
diff --git a/modules.d/95znet/module-info.sh b/modules.d/95znet/module-setup.sh
index 0964761b..0964761b 100755
--- a/modules.d/95znet/module-info.sh
+++ b/modules.d/95znet/module-setup.sh
diff --git a/modules.d/96insmodpost/module-info.sh b/modules.d/96insmodpost/module-setup.sh
index 586765d0..586765d0 100755
--- a/modules.d/96insmodpost/module-info.sh
+++ b/modules.d/96insmodpost/module-setup.sh
diff --git a/modules.d/97biosdevname/module-info.sh b/modules.d/97biosdevname/module-setup.sh
index 834831fd..834831fd 100755
--- a/modules.d/97biosdevname/module-info.sh
+++ b/modules.d/97biosdevname/module-setup.sh
diff --git a/modules.d/98selinux/module-info.sh b/modules.d/98selinux/module-setup.sh
index 483e42fb..483e42fb 100755
--- a/modules.d/98selinux/module-info.sh
+++ b/modules.d/98selinux/module-setup.sh
diff --git a/modules.d/98syslog/module-info.sh b/modules.d/98syslog/module-setup.sh
index 968fba06..968fba06 100755
--- a/modules.d/98syslog/module-info.sh
+++ b/modules.d/98syslog/module-setup.sh
diff --git a/modules.d/99base/module-info.sh b/modules.d/99base/module-setup.sh
index a55cdc41..a55cdc41 100755
--- a/modules.d/99base/module-info.sh
+++ b/modules.d/99base/module-setup.sh