summaryrefslogtreecommitdiff
path: root/configs/profile/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configs/profile/build.sh')
-rwxr-xr-xconfigs/profile/build.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh
index 9e5960e..27fea9f 100755
--- a/configs/profile/build.sh
+++ b/configs/profile/build.sh
@@ -91,7 +91,13 @@ make_pacman_conf() {
mv ${stash_dir}/* ${isorepo_dir} || true
fi
+ # enable [isorepo]
sed --regexp-extended 's|^#?\s*CacheDir.+|CacheDir = '${isorepo_dir}'|g' ${releng_dir}/pacman.conf > ${pacman_conf}
+
+ # enable [nonsystemd] for openrc ISOs
+ if [[ "${iso_init}" == 'openrc' ]]
+ then sed -i 'N ; s|^#\[nonsystemd\].*#Include|\[nonsystemd\]\nInclude|' ${pacman_conf}
+ fi
}
# Base installation, plus needed packages (root-image)