Browse Source

Remove pms cache

master
belliash 7 years ago
parent
commit
564120ad49
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/gentoo-compat.ezmod

+ 2
- 1
modules/gentoo-compat.ezmod View File

@@ -3,10 +3,11 @@
EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
EZMOD_COMPATIBILITY="ezsync"
EZMOD_AUTHOR="Rafal Kupiec"
EZMOD_VERSION="1.0"
EZMOD_VERSION="1.1"

ezsync_precommit() {
printInfo "Enabling compatibility options..."
run "rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache" || return 1
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

Loading…
Cancel
Save