summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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" \