From ff93539eb42bf9f7cc4ac701f3d0afe62141f397 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 12 Jan 2019 22:12:07 +0000 Subject: examples: backport a couple of fixes from the official ISOs. --- examples/gui/config/build.cfg | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'examples/gui/config') 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", -- cgit v1.2.1