TT#38758 Do not purge firmware-linux* packages on CE

We are NOT installing non-free firmware packages on NGCP (since TT#42672),
as a result we should not purge them. See commit 9161d0f57 in
metapackages.git for more information.

Change-Id: I84ff3486c0b03bbc228e5332955f6654b3519137
changes/67/22967/1
Alexander Lutay 7 years ago
parent 3392a1c6db
commit 9dbe3ade26

@ -1214,13 +1214,6 @@ cat >> "${TARGET}/etc/fstab" << EOF
$SWAP_PARTITION none swap sw,pri=0 0 0
EOF
if "$PRO_EDITION" ; then
echo "Pro edition: keeping firmware* packages."
else
chroot $TARGET apt-get --purge -y remove \
firmware-linux firmware-linux-free firmware-linux-nonfree || true
fi
# get rid of automatically installed packages
chroot $TARGET apt-get --purge -y autoremove

Loading…
Cancel
Save