summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-06-05 23:21:28 +0200
committerTomas Chvatal <scarabeus@gentoo.org>2011-06-05 23:21:28 +0200
commit023bca15223b6199f0f8908fbaba5a5817999d5a (patch)
tree491fa6a5eb72e273b5243d54e62f9600f105ac57
parentRename GRUB_PLATFORM use-expand to GRUB_PLATFORMS to be consistent with others (diff)
downloadscarabeus-023bca15223b6199f0f8908fbaba5a5817999d5a.tar.gz
scarabeus-023bca15223b6199f0f8908fbaba5a5817999d5a.tar.bz2
scarabeus-023bca15223b6199f0f8908fbaba5a5817999d5a.zip
[sys-boot/grub] cleanup loop logic a bit.
-rw-r--r--sys-boot/grub/Manifest4
-rw-r--r--sys-boot/grub/grub-1.99.ebuild4
-rw-r--r--sys-boot/grub/grub-9999.ebuild4
3 files changed, 4 insertions, 8 deletions
diff --git a/sys-boot/grub/Manifest b/sys-boot/grub/Manifest
index 3be57a7..6b5daed 100644
--- a/sys-boot/grub/Manifest
+++ b/sys-boot/grub/Manifest
@@ -1,5 +1,5 @@
AUX grub.default 1127 RMD160 a884e842cb203687cac4cac6551b0feed58d3b7a SHA1 5878147845b5d4b4aac34ce046ead60b93c3170c SHA256 32664f2e0bdd05cf9579f8e098aa0add76ef7bf7b37eb103c6d0f625204f44d3
DIST grub-1.99.tar.xz 2639224 RMD160 d59a47fa40b2be0d5ea5b2b00ff5538cfa147747 SHA1 a5ae9558f30ce7757a76aa130088b053a87e2fb6 SHA256 f308148d4c83c6f16a73b58a0cd39381656edb740929028cae7ad5f0d651021b
-EBUILD grub-1.99.ebuild 6513 RMD160 146db2a4fcceca972725e8efe04f1d470b3ff625 SHA1 487c6b5f0e8dec082775a2bc0635048fd9febd8a SHA256 1baf78a7aef0adbd1baa7b8b96521790cc9c826766b384f3507172882862d769
-EBUILD grub-9999.ebuild 6513 RMD160 146db2a4fcceca972725e8efe04f1d470b3ff625 SHA1 487c6b5f0e8dec082775a2bc0635048fd9febd8a SHA256 1baf78a7aef0adbd1baa7b8b96521790cc9c826766b384f3507172882862d769
+EBUILD grub-1.99.ebuild 6363 RMD160 7b1305a028d675725f6ca5f34da29f350903945e SHA1 2cd4b15b4ed1522cd57d9c9650a464be5089e61b SHA256 688c45d0726f23211023496cb503865b5f37fc4af40665a2faeaee4bcb1bdc04
+EBUILD grub-9999.ebuild 6363 RMD160 7b1305a028d675725f6ca5f34da29f350903945e SHA1 2cd4b15b4ed1522cd57d9c9650a464be5089e61b SHA256 688c45d0726f23211023496cb503865b5f37fc4af40665a2faeaee4bcb1bdc04
MISC metadata.xml 264 RMD160 3cb995676f964b9637fbfc0027a81b9409802608 SHA1 c4d35e3a71c545cdf1aae525de803126bf54f596 SHA256 9bd1ce830cf1b821978ab90c81b2e369177a8d7c1bfe2dd2868419872c097f64
diff --git a/sys-boot/grub/grub-1.99.ebuild b/sys-boot/grub/grub-1.99.ebuild
index cfc81f6..9b09547 100644
--- a/sys-boot/grub/grub-1.99.ebuild
+++ b/sys-boot/grub/grub-1.99.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
for i in ${GRUB_PLATFORMS}; do
use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}"
done
+ [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed"
einfo "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}"
}
@@ -168,7 +169,6 @@ src_configure() {
use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
use static && append-ldflags -static
- [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && grub_run_phase ${FUNCNAME} guessed
for i in ${GRUB_ENABLED_PLATFORMS}; do
grub_run_phase ${FUNCNAME} ${i}
done
@@ -177,7 +177,6 @@ src_configure() {
src_compile() {
local i
- [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && grub_run_phase ${FUNCNAME} guessed
for i in ${GRUB_ENABLED_PLATFORMS}; do
grub_run_phase ${FUNCNAME} ${i}
done
@@ -186,7 +185,6 @@ src_compile() {
src_install() {
local i
- [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && grub_run_phase ${FUNCNAME} guessed
for i in ${GRUB_ENABLED_PLATFORMS}; do
grub_run_phase ${FUNCNAME} ${i}
done
diff --git a/sys-boot/grub/grub-9999.ebuild b/sys-boot/grub/grub-9999.ebuild
index cfc81f6..9b09547 100644
--- a/sys-boot/grub/grub-9999.ebuild
+++ b/sys-boot/grub/grub-9999.ebuild
@@ -159,6 +159,7 @@ src_prepare() {
for i in ${GRUB_PLATFORMS}; do
use grub_platforms_${i} && GRUB_ENABLED_PLATFORMS+=" ${i}"
done
+ [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && GRUB_ENABLED_PLATFORMS="guessed"
einfo "Going to build following platforms: ${GRUB_ENABLED_PLATFORMS}"
}
@@ -168,7 +169,6 @@ src_configure() {
use custom-cflags || unset CFLAGS CPPFLAGS LDFLAGS
use static && append-ldflags -static
- [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && grub_run_phase ${FUNCNAME} guessed
for i in ${GRUB_ENABLED_PLATFORMS}; do
grub_run_phase ${FUNCNAME} ${i}
done
@@ -177,7 +177,6 @@ src_configure() {
src_compile() {
local i
- [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && grub_run_phase ${FUNCNAME} guessed
for i in ${GRUB_ENABLED_PLATFORMS}; do
grub_run_phase ${FUNCNAME} ${i}
done
@@ -186,7 +185,6 @@ src_compile() {
src_install() {
local i
- [[ -z ${GRUB_ENABLED_PLATFORMS} ]] && grub_run_phase ${FUNCNAME} guessed
for i in ${GRUB_ENABLED_PLATFORMS}; do
grub_run_phase ${FUNCNAME} ${i}
done