Browse Source

merge 2 modules

belliash 7 years ago
parent
commit
41c82e1ab5
2 changed files with 4 additions and 14 deletions
  1. 0
    14
      modules/gentoo-compat.ezmod
  2. 4
    0
      modules/regen2-features.ezmod

+ 0
- 14
modules/gentoo-compat.ezmod View File

@@ -1,14 +0,0 @@
1
-# Copyright 2010-2012, Asio Software Technologies
2
-# Distributed under the terms of the GNU General Public License v3
3
-EZMOD_DESCRIPTION="Enables various compatibility options in Portage tree"
4
-EZMOD_COMPATIBILITY="ezsync"
5
-EZMOD_AUTHOR="Rafal Kupiec"
6
-EZMOD_VERSION="1.1"
7
-
8
-ezsync_precommit() {
9
-	printInfo "Enabling compatibility options..."
10
-	rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache
11
-	echo "cache-formats = md5-dict" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
12
-	echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
13
-	return 0
14
-}

+ 4
- 0
modules/regen2-features.ezmod View File

@@ -6,6 +6,10 @@ EZMOD_AUTHOR="Rafal Kupiec"
6 6
 EZMOD_VERSION="1.0"
7 7
 
8 8
 ezsync_precommit() {
9
+	printInfo "Enabling compatibility options..."
10
+	rm -rf ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/cache
11
+	echo "cache-formats = md5-dict" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
12
+	echo "profile-formats = portage-1" >> ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/metadata/layout.conf
9 13
 	run "cp ${EZROOT}/files/dispatch.sh ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/scripts/dispatch.sh" || return 1
10 14
 	run "chmod +x ${PORTAGESDIR}/${PORTAGE_BUILD[0]}/scripts/dispatch.sh" || return 1
11 15
 	return 0

Loading…
Cancel
Save