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. --- NEWS | 1 + examples/gui/config/build.cfg | 9 ++++++++- examples/minimal/config/build.cfg | 5 +++++ examples/xfce/config/build.cfg | 11 +++++++++-- 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", -- cgit v1.2.1