@@ -193,6 +193,10 @@ adl-pci-pv-x86-64-gcc-debug:
adl-pci-hvm-x86-64-gcc-debug:
extends: .adl-x86-64
+ variables:
+ PCIDEV: "00:14.3"
+ WIFI_SSID: "$WIFI_HW2_SSID"
+ WIFI_PSK: "$WIFI_HW2_PSK"
script:
- ./automation/scripts/qubes-x86-64.sh pci-hvm 2>&1 | tee ${LOGFILE}
needs:
@@ -94,6 +94,13 @@ on_reboot = "destroy"
domU_check="
set -x -e
interface=eth0
+if [ -e /sys/class/net/wlan0 ]; then
+ interface=wlan0
+ set +x
+ wpa_passphrase "$WIFI_SSID" "$WIFI_PSK" > /etc/wpa_supplicant.conf
+ set -x
+ wpa_supplicant -B -iwlan0 -c /etc/wpa_supplicant.conf
+fi
ip link set \"\$interface\" up
timeout 30s udhcpc -i \"\$interface\"
pingip=\$(ip -o -4 r show default|cut -f 3 -d ' ')
@@ -34,6 +34,13 @@ RUN \
apk add udev && \
apk add pciutils && \
apk add libelf && \
+ apk add wpa_supplicant && \
+ # Select firmware for hardware tests
+ apk add linux-firmware-other && \
+ mkdir /lib/firmware-preserve && \
+ mv /lib/firmware/iwlwifi-so-a0-gf-a0* /lib/firmware-preserve/ && \
+ rm -rf /lib/firmware && \
+ mv /lib/firmware-preserve /lib/firmware && \
\
# Xen
cd / && \
@@ -32,6 +32,8 @@ RUN curl -fsSLO https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-"$LINUX_VERSI
make xen.config && \
scripts/config --enable BRIDGE && \
scripts/config --enable IGC && \
+ scripts/config --enable IWLWIFI && \
+ scripts/config --enable IWLMVM && \
cp .config .config.orig && \
cat .config.orig | grep XEN | grep =m |sed 's/=m/=y/g' >> .config && \
make -j$(nproc) bzImage && \