summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2020-03-21 17:49:52 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2020-03-21 17:49:52 +0000
commit5d82a2488f7957ba8be3029e71a76999600d2f2f (patch)
tree6a56af219664003a9654bf71122dc1254679fc11
parent59f4cc964263e095b9e4e4fde46e4ec2e000969b (diff)
downloaddrakiso-5d82a2488f7957ba8be3029e71a76999600d2f2f.tar
drakiso-5d82a2488f7957ba8be3029e71a76999600d2f2f.tar.gz
drakiso-5d82a2488f7957ba8be3029e71a76999600d2f2f.tar.bz2
drakiso-5d82a2488f7957ba8be3029e71a76999600d2f2f.tar.xz
drakiso-5d82a2488f7957ba8be3029e71a76999600d2f2f.zip
examples: prevent unnecessary updates on first boot.
-rw-r--r--examples/gui/config/build.cfg4
-rw-r--r--examples/minimal/config/build.cfg4
-rw-r--r--examples/xfce/config/build.cfg4
3 files changed, 12 insertions, 0 deletions
diff --git a/examples/gui/config/build.cfg b/examples/gui/config/build.cfg
index 0571673..5fc309d 100644
--- a/examples/gui/config/build.cfg
+++ b/examples/gui/config/build.cfg
@@ -158,6 +158,10 @@ my $config = {
# Set the initial wireless regulatory domain to "world", enabling
# all possible wireless channels to be used.
"sed -i -r 's/CRDA_DOMAIN=.*/CRDA_DOMAIN=00/' /etc/sysconfig/network",
+
+ # Prevent systemd services performing unnecessary updates on first
+ # boot. We should have done all necessary updates at build time.
+ "touch /etc/.updated /var/.updated",
),
vga_mode => 788,
diff --git a/examples/minimal/config/build.cfg b/examples/minimal/config/build.cfg
index d8ded65..2e5e567 100644
--- a/examples/minimal/config/build.cfg
+++ b/examples/minimal/config/build.cfg
@@ -138,6 +138,10 @@ my $config = {
# Set the initial wireless regulatory domain to "world", enabling
# all possible wireless channels to be used.
"sed -i -r 's/CRDA_DOMAIN=.*/CRDA_DOMAIN=00/' /etc/sysconfig/network",
+
+ # Prevent systemd services performing unnecessary updates on first
+ # boot. We should have done all necessary updates at build time.
+ "touch /etc/.updated /var/.updated",
),
vga_mode => 788,
diff --git a/examples/xfce/config/build.cfg b/examples/xfce/config/build.cfg
index 613e48e..dcd5844 100644
--- a/examples/xfce/config/build.cfg
+++ b/examples/xfce/config/build.cfg
@@ -207,6 +207,10 @@ my $config = {
# Set the initial wireless regulatory domain to "world", enabling
# all possible wireless channels to be used.
"sed -i -r 's/CRDA_DOMAIN=.*/CRDA_DOMAIN=00/' /etc/sysconfig/network",
+
+ # Prevent systemd services performing unnecessary updates on first
+ # boot. We should have done all necessary updates at build time.
+ "touch /etc/.updated /var/.updated",
),
vga_mode => 788,