From: Thierry Parmentelat Date: Thu, 10 Jan 2008 11:36:13 +0000 (+0000) Subject: attempt to generate correct yum.conf in myplc chroot X-Git-Tag: myplc-4.2-1~9 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=d6bc4599f6a8cd19e11df34a2f3f5a592e7ae49a;p=myplc.git attempt to generate correct yum.conf in myplc chroot --- diff --git a/build.functions b/build.functions index 8ab1c7e..732392c 100644 --- a/build.functions +++ b/build.functions @@ -46,11 +46,46 @@ set -e # Be verbose set -x +# this is fragile, as the actual layout may vary from one mirror to the other +# however this should be in line with the layouts obtained +# when running build/vbuild-fedora-mirror.sh + +function yum_conf_fedora_core () { + BUILD_HOST=$1; shift + cat <