summaryrefslogtreecommitdiff
path: root/src/backend/f_makeiso.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/f_makeiso.sh')
-rw-r--r--src/backend/f_makeiso.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/backend/f_makeiso.sh b/src/backend/f_makeiso.sh
index 4635315..fb85d8a 100644
--- a/src/backend/f_makeiso.sh
+++ b/src/backend/f_makeiso.sh
@@ -44,6 +44,10 @@ jailisoenserv () {
done
}
+jailisomkmandb() {
+ chroot "$jailsynctarget" su - "$jailuser" -c "$jailmandbcmd"
+}
+
jailisomkdkms () {
chroot "$jailsynctarget" su - "$jailuser" -c "$jaildkmscmd"
}
@@ -103,6 +107,11 @@ mkliveimg () {
jailisostart
jailisodmnt
sync
+ # create mandb dbs (this will significantly reduce live session CPU usage)
+ jailisomnt
+ jailisomkmandb
+ jailisodmnt
+ sync
# compile and install DKMS modules, if any
jailisomnt
jailisomkdkms