[scripts] always remove hwhash cruft

This commit is contained in:
Fabio Erculiani 2011-07-10 11:30:23 +02:00
parent bcff2671c4
commit 64ba8b3052
3 changed files with 9 additions and 0 deletions

View File

@ -114,4 +114,7 @@ rm -rf /var/lib/entropy/logs
rm -rf /var/lib/entropy/glsa
rm -rf /var/lib/entropy/tmp
# remove entropy hwhash
rm -f /etc/entropy/.hw.hash
exit 0

View File

@ -7,3 +7,6 @@ if [ -z "${BUILDING_DAILY}" ]; then
sed -i "/^officialrepositoryid/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1
sed -i "/^official-repository-id/ s/sabayonlinux.org/sabayon-weekly/" "${repo_conf}" || exit 1
fi
# remove entropy hwash
rm -f "${CHROOT_DIR}"/etc/entropy/.hw.hash

View File

@ -4,3 +4,6 @@
# Generate list of installed packages
equo query list installed -qv > /etc/sabayon-pkglist
# remove hw hash
rm -f /etc/entropy/.hw.hash