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
|
$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
|
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
|
# List all the installed packages, for the build log
|
||||||
install --directory --mode 0444 --owner mqm --group root /licenses
|
$RPM && rpm -q --all || true
|
||||||
NOTICES="/licenses/installed_package_notices"
|
$UBUNTU && dpkg --list || true
|
||||||
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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user