mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 21:32:12 +02:00
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).
This commit is contained in:
committed by
Rob Bradford
parent
d02483f74f
commit
b906b0cd60
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user