ci: Fix installation of firmware for db410c's nic.
authorEric Anholt <eric@anholt.net>
Thu, 5 Mar 2020 23:26:28 +0000 (15:26 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 11 Mar 2020 21:36:47 +0000 (21:36 +0000)
The debian firmware package doesn't actually contain it, costing us a
minute of boot time waiting for it to show up.

Lightly-reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4076>

.gitlab-ci/create-rootfs.sh

index 2baaeeb22d9b55ebae94fa367626a8e0e3daf178..21e0ee153fc7a6cc12bb6402e5be7b6bd142db0d 100644 (file)
@@ -11,7 +11,6 @@ apt-get -y install --no-install-recommends \
     libdrm2 \
     libdrm-nouveau2 \
     firmware-qcom-media \
-    firmware-realtek \
     wget \
     xz-utils
 passwd root -d
@@ -24,6 +23,9 @@ exec sh
 EOF
 chmod +x  /init
 
+mkdir -p /lib/firmware/rtl_nic
+wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtl_nic/rtl8153a-3.fw -O /lib/firmware/rtl_nic/rtl8153a-3.fw
+
 #######################################################################
 # Strip the image to a small minimal system without removing the debian
 # toolchain.