Remove custom RPM notices file
This commit is contained in:
committed by
Stephen Marshall
parent
ebf55608d7
commit
ee4351e55d
@@ -97,17 +97,6 @@ $UBUNTU && PAM_FILE=/etc/pam.d/common-password
|
||||
$RPM && PAM_FILE=/etc/pam.d/password-auth
|
||||
sed -i 's/password\t\[success=1 default=ignore\]\tpam_unix\.so obscure sha512/password\t[success=1 default=ignore]\tpam_unix.so obscure sha512 minlen=8/' $PAM_FILE
|
||||
|
||||
if ($RPM); then
|
||||
install --directory --mode 0444 --owner mqm --group root /licenses
|
||||
NOTICES="/licenses/installed_package_notices"
|
||||
touch ${NOTICES}
|
||||
chmod 0444 ${NOTICES}
|
||||
set +x
|
||||
for p in $(rpm -qa | sort)
|
||||
do
|
||||
rpm -qi $p >> ${NOTICES}
|
||||
printf "\n" >> ${NOTICES}
|
||||
printf "$p\n"
|
||||
done
|
||||
set -x
|
||||
fi
|
||||
# List all the installed packages, for the build log
|
||||
$RPM && rpm -q --all || true
|
||||
$UBUNTU && dpkg --list || true
|
||||
|
||||
Reference in New Issue
Block a user