14 lines
540 B
Plaintext
14 lines
540 B
Plaintext
# 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.0"
|
|
|
|
ezsync_precommit() {
|
|
printInfo "Enabling compatibility options..."
|
|
echo "cache-formats = md5-dict pms" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
|
|
echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
|
|
return 0
|
|
}
|