diff options
author | Rob Braford <rob@linux.intel.com> | 2008-10-29 17:36:56 +0000 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2008-10-29 18:22:42 +0000 |
commit | b906b0cd60e34767bd56de92d1070fc49c5edac7 (patch) | |
tree | 694f144c31f938e4b7cccaf6b04f453e12e15656 /meta | |
parent | d02483f74fe64610bf6334efd1c406127bfa625a (diff) | |
download | openembedded-core-b906b0cd60e34767bd56de92d1070fc49c5edac7.tar.gz openembedded-core-b906b0cd60e34767bd56de92d1070fc49c5edac7.tar.bz2 openembedded-core-b906b0cd60e34767bd56de92d1070fc49c5edac7.tar.xz openembedded-core-b906b0cd60e34767bd56de92d1070fc49c5edac7.zip |
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')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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" |