diff --git a/modules/gentoo-compat.ezmod b/modules/gentoo-compat.ezmod deleted file mode 100644 index c81445f..0000000 --- a/modules/gentoo-compat.ezmod +++ /dev/null @@ -1,14 +0,0 @@ -# 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" -EZMOD_VERSION="1.1" - -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 -} diff --git a/modules/regen2-features.ezmod b/modules/regen2-features.ezmod index bcb3e50..88c2183 100644 --- a/modules/regen2-features.ezmod +++ b/modules/regen2-features.ezmod @@ -6,6 +6,10 @@ EZMOD_AUTHOR="Rafal Kupiec" EZMOD_VERSION="1.0" 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 run "cp ${EZROOT}/files/dispatch.sh ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/scripts/dispatch.sh" || return 1 run "chmod +x ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/scripts/dispatch.sh" || return 1 return 0