summaryrefslogtreecommitdiffstats
path: root/source/installer
diff options
context:
space:
mode:
Diffstat (limited to 'source/installer')
-rw-r--r--source/installer/ChangeLog.txt3
-rwxr-xr-xsource/installer/build_installer.sh6
2 files changed, 9 insertions, 0 deletions
diff --git a/source/installer/ChangeLog.txt b/source/installer/ChangeLog.txt
index 3f38f3ba6..03fd62b4c 100644
--- a/source/installer/ChangeLog.txt
+++ b/source/installer/ChangeLog.txt
@@ -1,3 +1,6 @@
+Wed May 26 19:51:53 UTC 2021
+ Keep PCI controller kernel modules. Thanks to andygoth.
++--------------------------+
Fri Apr 30 17:30:36 UTC 2021
setup: filter partition list through sort | uniq to prevent duplicates.
Thanks to Heinz Wiesinger.
diff --git a/source/installer/build_installer.sh b/source/installer/build_installer.sh
index 4ddaf0675..47c93734a 100755
--- a/source/installer/build_installer.sh
+++ b/source/installer/build_installer.sh
@@ -1597,8 +1597,14 @@ for ind in $(seq 0 $((${#KERNELS[*]} -1)) ); do
# Save the Hyper-V keyboard module:
mkdir -p input.orig/serio
cp -a input/serio/hyperv-keyboard.ko input.orig/serio
+ # Save any PCI controller modules:
+ if [ -d pci/controller ]; then
+ mkdir -p pci.orig/controller
+ cp -a pci/controller/* pci.orig/controller
+ fi
rm -rf${VERBOSE1} ata atm bluetooth clocksource connector crypto dma idle infiniband input isdn kvm leds media memstick message mfd misc pci power rtc serial telephony uwb w1 watchdog
mv input.orig input
+ mv pci.orig pci 2> /dev/null
if [ "$ADD_KMS" = "1" ]; then
# Keep video.ko and button.ko, needed by some gpu drivers.