aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorRob Braford <rob@linux.intel.com>2008-10-29 17:36:56 +0000
committerRob Bradford <rob@linux.intel.com>2008-10-29 18:22:42 +0000
commitb906b0cd60e34767bd56de92d1070fc49c5edac7 (patch)
tree694f144c31f938e4b7cccaf6b04f453e12e15656 /meta/classes/rootfs_rpm.bbclass
parentd02483f74fe64610bf6334efd1c406127bfa625a (diff)
downloadopenembedded-core-contrib-b906b0cd60e34767bd56de92d1070fc49c5edac7.tar.gz
rootfs_rpm.bbclass: Disable non Poky repositories.
Only use repositories that begin "poky-feed". This prevents contamination with system repositories. It may be better to patch yum not to ever look in the system repository locations (i.e. /etc/yum.repos.d).
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r--meta/classes/rootfs_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 733736ab9a6..a311c601d08 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -10,7 +10,7 @@ do_rootfs[depends] += "rpm-native:do_populate_staging yum-native:do_populate_sta
do_rootfs[recrdeptask] += "do_package_write_rpm"
YUMCONF = "${IMAGE_ROOTFS}/etc/yum.conf"
-YUMARGS = "-c ${YUMCONF} --installroot ${IMAGE_ROOTFS}"
+YUMARGS = "--disablerepo=* --enablerepo=poky-feed-* --installroot ${IMAGE_ROOTFS}"
export YUM_ARCH_FORCE = "${TARGET_ARCH}"
AWKPOSTINSTSCRIPT = "${STAGING_BINDIR_NATIVE}/extract-postinst.awk"