summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2018-08-09 13:17:47 +0200
committerJonathan Bauer2018-08-09 13:17:47 +0200
commit7dfbe12c9566f83d0aa0caf54eea7505c1dacb6e (patch)
treeefbec82c22733e99ab6ff6b74e720cc1ddf0b5ca
parentuse absolute path for root directory (diff)
downloadsystemd-init-7dfbe12c9566f83d0aa0caf54eea7505c1dacb6e.tar.gz
systemd-init-7dfbe12c9566f83d0aa0caf54eea7505c1dacb6e.tar.xz
systemd-init-7dfbe12c9566f83d0aa0caf54eea7505c1dacb6e.zip
comments
-rwxr-xr-xbuilder/build-initramfs.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/builder/build-initramfs.sh b/builder/build-initramfs.sh
index 679b5cdc..47171ff4 100755
--- a/builder/build-initramfs.sh
+++ b/builder/build-initramfs.sh
@@ -582,7 +582,8 @@ main() {
fi
done
# endregion
- # region prepare and perform final dracut call
+
+ # region prepare modules and perform final dracut call
_loglevel=''
if [ "$verbose" == 'yes' ]; then
_loglevel='--verbose'
@@ -596,6 +597,7 @@ main() {
if [ "$use_systemd_in_initramfs" == 'yes' ]; then
_modules="$_modules systemd systemd-initrd dracut-systemd"
fi
+ # Preprocess done - start build, cleanup or full cleanup
if [[ "$full_cleanup" == 'yes' ]]; then
logging.info 'Removing all modules.'
rm "${_root_dir}/modules.d" \