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/classes/rootfs_rpm.bbclass | |
parent | d02483f74fe64610bf6334efd1c406127bfa625a (diff) | |
download | poky-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.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 733736ab9a..a311c601d0 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 | |||
10 | do_rootfs[recrdeptask] += "do_package_write_rpm" | 10 | do_rootfs[recrdeptask] += "do_package_write_rpm" |
11 | 11 | ||
12 | YUMCONF = "${IMAGE_ROOTFS}/etc/yum.conf" | 12 | YUMCONF = "${IMAGE_ROOTFS}/etc/yum.conf" |
13 | YUMARGS = "-c ${YUMCONF} --installroot ${IMAGE_ROOTFS}" | 13 | YUMARGS = "--disablerepo=* --enablerepo=poky-feed-* --installroot ${IMAGE_ROOTFS}" |
14 | export YUM_ARCH_FORCE = "${TARGET_ARCH}" | 14 | export YUM_ARCH_FORCE = "${TARGET_ARCH}" |
15 | 15 | ||
16 | AWKPOSTINSTSCRIPT = "${STAGING_BINDIR_NATIVE}/extract-postinst.awk" | 16 | AWKPOSTINSTSCRIPT = "${STAGING_BINDIR_NATIVE}/extract-postinst.awk" |