banish -> remove & blacklist

This commit is contained in:
shelldweller 2023-06-12 11:03:35 -05:00
parent d83334e74f
commit 0156dc82b4
3 changed files with 8 additions and 9 deletions

View File

@ -9,9 +9,9 @@ This is a meta-script that just runs the other three without any arguments.
Needs to be run as root.
2) banish-nonfree-packages.sh
2) remove-blacklist-nonfree-packages.sh
This removes all non-free packages as per freenix.net.
This removes and blacklists all non-free packages as per freenix.net.
This script can probably be run on any Slackware-based derivative, as long as slackpkg is present.
arguments:

View File

@ -38,8 +38,7 @@ removepkg \
zd1211-firmware \
# Add non-free packages to blacklist if not already blacklisted
if [ ! grep -q "Non-free packages removed as per freenix.net" $BLACKLISTFILE]
then
if [ ! grep -q "Non-free packages removed as per freenix.net" $BLACKLISTFILE]; then
# Comment out any to be excluded from blacklist
echo "#" >> $BLACKLISTFILE

View File

@ -14,19 +14,19 @@
# Feel free to make changes and share with the community.
#######################################################################
# Banish non-free packages
# remove and blacklist non-free packages
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "% Banish Non-Free Packages"
echo "% remove and blacklist non-free packages"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
./banish-nonfree-packages.sh
./remove-blacklist-nonfree-packages.sh
# Build and install linux-libre kernel packages
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "% Build and install Linux-libre kernel packages"
echo "% build and install Linux-libre kernel packages"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
INSTALL_KERNEL='yes' ./linux-libre-kernel-builder-installer.sh
# Build and install linux-libre firmware package
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo "% Build and install Linux-libre firmware package"
echo "% build and install Linux-libre firmware package"
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
INSTALL_FIRMWARE='yes' ./linux-libre-firmware-builder-installer.sh
# Say goodbye...