fixed variable clash
This commit is contained in:
parent
e5ab7ea5f1
commit
eb1f33f996
|
@ -41,7 +41,7 @@ BUILDDIR = directory to build kernels in. (default =/tmp/linux-libre-4-freenix"
|
|||
|
||||
BLACKLISTFILE = the location of your slackpkg blacklist file (default = /etc/slackpkg/blacklist)
|
||||
|
||||
INSTALL_PACKAGES = install packages after building them (default = yes)
|
||||
INSTALL_KERNEL = install packages after building them (default = yes)
|
||||
|
||||
|
||||
4) linux-libre-firmware-build-install.sh
|
||||
|
@ -59,7 +59,7 @@ BUILDDIR = directory to build kernels in. (default =/tmp/linux-libre-4-freenix"
|
|||
|
||||
BLACKLISTFILE = the location of your slackpkg blacklist file (default = /etc/slackpkg/blacklist)
|
||||
|
||||
INSTALL_PACKAGES = install packages after building them (default = yes)
|
||||
INSTALL_FIRMWARE = install packages after building them (default = yes)
|
||||
|
||||
|
||||
NOTE: The script DOES NOT clean up after itself.
|
||||
|
|
|
@ -31,7 +31,7 @@ BUILDDIR="/tmp/linux-libre-4-freenix"
|
|||
BLACKLISTFILE="/etc/slackpkg/blacklist"
|
||||
|
||||
# Set variable to anything but "yes" to build packages only without installing:
|
||||
INSTALL_PACKAGES="yes"
|
||||
INSTALL_FIRMWARE="yes"
|
||||
|
||||
# download linux-libre firmware
|
||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||
|
@ -72,7 +72,7 @@ cp kernel-firmware.SlackBuild kernel-firmware-gnu.SlackBuild
|
|||
chmod a+x kernel-firmware-gnu.SlackBuild
|
||||
./kernel-firmware-gnu.SlackBuild
|
||||
|
||||
if $INSTALL_PACKAGES == "yes"; then
|
||||
if $INSTALL_FIRMWARE == "yes"; then
|
||||
|
||||
# Remove stock firmware package
|
||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||
|
|
|
@ -21,7 +21,7 @@ CWD0=$(pwd)
|
|||
BLACKLISTFILE="/etc/slackpkg/blacklist"
|
||||
|
||||
# Set variable to "no" to build packages only without installing:
|
||||
INSTALL_PACKAGES="yes"
|
||||
INSTALL_KERNEL="yes"
|
||||
|
||||
# future proof the release version number
|
||||
# to-do: make this work on -current?
|
||||
|
@ -112,7 +112,7 @@ echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
|||
echo "% We're done with Pat's script. Thanks Pat!"
|
||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||
|
||||
if $INSTALL_PACKAGES == "yes"; then
|
||||
if $INSTALL_KERNEL == "yes"; then
|
||||
# Upgrade kernel packages all at once
|
||||
echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
|
||||
echo "% Upgrading stock kernel packages to libre kernel packages."
|
||||
|
|
Loading…
Reference in New Issue