reGen2 Linux Release Metatool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
594 B

# 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_AUTHOR="Rafal Kupiec"
ezsync_precommit() {
printInfo "Enabling compatibility options..."
rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache
echo "cache-formats = md5-dict" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
return 0