From 3f7186f69bf9ed30d854fadc8510ccd2e9cff089 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 2 Mar 2019 12:05:50 +0100 Subject: T929: remove debian-firmware packages from build Kernel Firmware BLOBs will be delivered by the new vyos-firmware package --- .../hooks/live/14-firmware-linux-nonfree.chroot | 12 ------------ .../hooks/live/99-cleanup-packages.chroot | 14 -------------- 2 files changed, 26 deletions(-) delete mode 100755 data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot delete mode 100755 data/live-build-config/hooks/live/99-cleanup-packages.chroot (limited to 'data/live-build-config') diff --git a/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot b/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot deleted file mode 100755 index 887831cc..00000000 --- a/data/live-build-config/hooks/live/14-firmware-linux-nonfree.chroot +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -cp /etc/apt/sources.list /etc/apt/sources.list.d/non-free.list -sed -i 's/main/non-free/g' /etc/apt/sources.list.d/non-free.list - -if [ -e /etc/apt/sources.list.d/zz-sources.list ] ; then - cp /etc/apt/sources.list /etc/apt/sources.list.d/zz-non-free.list - sed -i 's/main/non-free/g' /etc/apt/sources.list.d/zz-non-free.list -fi - -apt-get update -apt-get -y install firmware-linux-nonfree diff --git a/data/live-build-config/hooks/live/99-cleanup-packages.chroot b/data/live-build-config/hooks/live/99-cleanup-packages.chroot deleted file mode 100755 index 63be7df6..00000000 --- a/data/live-build-config/hooks/live/99-cleanup-packages.chroot +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -# Clean up packages that were installed for dependencies but are no longer needed -# and packages installed by metapackages that we'll never need - -UNWANTED_PKGS="dahdi-firmware-nonfree \ - firmware-crystalhd firmware-ivtv \ - firmware-samsung" - -for p in $UNWANTED_PKGS; do - apt-get -y remove $p -done - -#apt-get -y autoremove -- cgit v1.2.3