summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-03-31 16:52:00 +0200
committerChristian Poessinger <christian@poessinger.com>2019-03-31 16:52:00 +0200
commitf3d9a912ea98018fa3390e4ff279803c58798bcd (patch)
tree7dd79bd693b46843a4bee4a7df48b0487e9e31d7
parent718cff74e198133d62da26ea89b4e98de8c15ae6 (diff)
downloadvyos-build-f3d9a912ea98018fa3390e4ff279803c58798bcd.tar.gz
vyos-build-f3d9a912ea98018fa3390e4ff279803c58798bcd.zip
live-build: remove accidently added file for linux-firmware
Commit 6b5da3d86615 ("Docker: remove duplicate installation of live-build") added a file by accident for fetching the linux firmware binaries.
-rwxr-xr-xdata/live-build-config/hooks/live/40-linux-firmware.chroot36
1 files changed, 0 insertions, 36 deletions
diff --git a/data/live-build-config/hooks/live/40-linux-firmware.chroot b/data/live-build-config/hooks/live/40-linux-firmware.chroot
deleted file mode 100755
index 7cd51ffd..00000000
--- a/data/live-build-config/hooks/live/40-linux-firmware.chroot
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/sh
-
-# To get the possibility of reproducible builds we pin to a specific commit
-# of the linux-firmware repository
-COMMIT="7bc246451318b3536d9bfd3c4e46d541a9831b33"
-
-echo I: Retrieving Linux Firmware (commit: ${COMMIT})
-
-wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-${COMMIT}.tar.gz -P /tmp
-tar xf /tmp/linux-firmware-${COMMIT}.tar.gz -C /lib
-mv /lib/linux-firmware-${COMMIT} /lib/firmware
-
-# We do not need all firmware blobs .. cleanup
-RM_FIRMWARE=" \
- v4l-cx* \
- s5p-mfc* \
- nvidia \
- amdgpu \
- i915 \
- radeon \
- matrox \
- mediatek \
- qed \
- sb16 \
- ti-connectivity \
- ueagle-atm \
- dvb-* \
- v4l-* \
- i915 \
- qcom \
- ctfw-* \
- ct2fw-* \
- "
-for dir in ${RM_FIRMWARE}; do
- rm -rf /lib/firmware/${dir}
-done