summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--examples/gui/config/build.cfg9
-rw-r--r--examples/minimal/config/build.cfg5
-rw-r--r--examples/xfce/config/build.cfg11
4 files changed, 23 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 66f79b4..8e80f37 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,5 @@
- fix linux16/linuxefi inclusion in bootloader images
+- minor improvements to examples
1.7:
diff --git a/examples/gui/config/build.cfg b/examples/gui/config/build.cfg
index 3aa0372..8b3c999 100644
--- a/examples/gui/config/build.cfg
+++ b/examples/gui/config/build.cfg
@@ -72,7 +72,9 @@ my $config = {
'dkms-broadcom-wl',
'dkms-nvidia340', 'x11-driver-video-nvidia340',
'dkms-nvidia390', 'x11-driver-video-nvidia390',
- 'dkms-nvidia-current', 'x11-driver-video-nvidia-current',
+ if_($arch eq 'x86_64',
+ 'dkms-nvidia-current', 'x11-driver-video-nvidia-current',
+ ),
],
langs_always => [ 'en_US' ],
@@ -148,6 +150,11 @@ my $config = {
# Now update the cache for the new timestamps.
"fc-cache -rf",
+ # The man-db transfiletriggerin scriplet requires systemd, so will
+ # have silently failed when run in a chroot. So the man-db cache
+ # will not have been updated. Do it now.
+ "mandb -q",
+
# 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",
diff --git a/examples/minimal/config/build.cfg b/examples/minimal/config/build.cfg
index d7fa2e2..0627bd6 100644
--- a/examples/minimal/config/build.cfg
+++ b/examples/minimal/config/build.cfg
@@ -130,6 +130,11 @@ my $config = {
# Enable the set-lang-kbd service.
"systemctl enable set-lang-kbd.service",
+ # The man-db transfiletriggerin scriplet requires systemd, so will
+ # have silently failed when run in a chroot. So the man-db cache
+ # will not have been updated. Do it now.
+ "mandb -q",
+
# 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",
diff --git a/examples/xfce/config/build.cfg b/examples/xfce/config/build.cfg
index 2749350..1a0e9fc 100644
--- a/examples/xfce/config/build.cfg
+++ b/examples/xfce/config/build.cfg
@@ -101,9 +101,11 @@ my $config = {
# nonfree
'dkms-broadcom-wl',
- 'dkms-nvidia390', 'x11-driver-video-nvidia390',
'dkms-nvidia340', 'x11-driver-video-nvidia340',
- 'dkms-nvidia-current', 'x11-driver-video-nvidia-current',
+ 'dkms-nvidia390', 'x11-driver-video-nvidia390',
+ if_($arch eq 'x86_64',
+ 'dkms-nvidia-current', 'x11-driver-video-nvidia-current',
+ ),
],
langs_always => [ 'en_US' ],
@@ -197,6 +199,11 @@ my $config = {
# Now update the cache for the new timestamps.
"fc-cache -rf",
+ # The man-db transfiletriggerin scriplet requires systemd, so will
+ # have silently failed when run in a chroot. So the man-db cache
+ # will not have been updated. Do it now.
+ "mandb -q",
+
# 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",