From b906b0cd60e34767bd56de92d1070fc49c5edac7 Mon Sep 17 00:00:00 2001 From: Rob Braford Date: Wed, 29 Oct 2008 17:36:56 +0000 Subject: 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). --- meta/classes/rootfs_rpm.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta') diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 733736ab9..a311c601d 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" -- cgit v1.2.3