summaryrefslogtreecommitdiffstats
path: root/builder/build-initramfs.sh
diff options
context:
space:
mode:
authorJonathan Bauer2016-07-29 15:12:59 +0200
committerJonathan Bauer2016-07-29 15:12:59 +0200
commit95d11d5849641ab09114033603a88f2e28fcc392 (patch)
treeddfceb201fc1b0981023a5bac6228467ffa5c473 /builder/build-initramfs.sh
parentadd modules for infiniband/bootnet sysconfig scripts (diff)
downloadsystemd-init-95d11d5849641ab09114033603a88f2e28fcc392.tar.gz
systemd-init-95d11d5849641ab09114033603a88f2e28fcc392.tar.xz
systemd-init-95d11d5849641ab09114033603a88f2e28fcc392.zip
add ib-conf and bootnet-conf
Diffstat (limited to 'builder/build-initramfs.sh')
-rwxr-xr-xbuilder/build-initramfs.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index 6f2828e4..7ceb8cc9 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -43,7 +43,7 @@ if ! [[ -d "$_needed_location" ]]; then
'
git submodule update --remote
popd
- for mod in dnbd3-rootfs conf-tgz dns; do
+ for mod in dnbd3-rootfs conf-tgz dns ib-conf bootnet-conf; do
cp --recursive \
"${_temporary_repository_location}/builder/${mod}" \
"$(dirname $_needed_location)/${mod}"
@@ -552,8 +552,8 @@ main() {
initialize_dracut
fi
- declare -A _dracut_modules=( [dnbd3]='../../dnbd3-rootfs' [conf]='../../conf-tgz' [dns]='../../dns' )
- for mod in dnbd3 conf dns; do
+ declare -A _dracut_modules=( [dnbd3]='../../dnbd3-rootfs' [conf]='../../conf-tgz' [dns]='../../dns' [ib]='../../ib-conf' [bootnet]='../../bootnet-conf')
+ for mod in dnbd3 conf dns ib bootnet; do
_dracut_modules_source="${_dracut_modules[$mod]}"
_dracut_modules_target="$(dirname "${BASH_SOURCE[0]}")/dracut/modules.d/90$(basename "${_dracut_modules[$mod]}")"
if [[ ! -L "$_dracut_modules_target" || "$(readlink \
@@ -577,7 +577,7 @@ main() {
if [ "$verbose" == 'yes' ]; then
_loglevel='--verbose'
fi
- _modules='dnbd3-rootfs conf-tgz dns'
+ _modules='dnbd3-rootfs conf-tgz dns ib-conf bootnet-conf'
if [ "$debug" == 'yes' ]; then
_loglevel="$_loglevel --stdlog 4"
_modules="$_modules i18n terminfo"