ezbuild/modules/gentoo-compat.ezmod

15 lines
594 B
Plaintext
Raw Normal View History

2012-01-17 00:01:06 +01:00
# Copyright 2010-2012, Asio Software Technologies
# Distributed under the terms of the GNU General Public License v3
EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
EZMOD_COMPATIBILITY="ezsync"
EZMOD_AUTHOR="Rafal Kupiec"
2012-01-17 13:06:01 +01:00
EZMOD_VERSION="1.1"
2012-01-17 00:01:06 +01:00
ezsync_precommit() {
printInfo "Enabling compatibility options..."
2012-01-17 23:26:41 +01:00
rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache
2012-01-28 15:04:55 +01:00
echo "cache-formats = md5-dict" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
2012-01-17 00:01:06 +01:00
echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
return 0
}