[yocto] Local YUM Repo

Erik Bolton EBolton at agjunction.com
Wed Mar 18 23:22:45 PDT 2015


Hey All:


I'm trying to setup a local YUM repo using the RPMs in <project>/tmp/deploy/rpm/<arch>


I've added a .repo file to /etc/yum/repos.d with the following lines:


[local]
name=yocto-core2_32
baseurl=file:///home/ebolton/yocto/poky/build-max/tmp/deploy/rpm/core2_32
enabled=1
gpgcheck=0


and setup my main yum.conf file with:


[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=10
logfile=/var/log/yum.log
obsoletes=1
exactarch=0
multilib_policy=all
protected_multilib=0

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum/repos.d

Yum parses the repodata dir just fine and counts the number of packages correctly, but it's excluding them all for some reason. This is the output from "yum repolist":

Config time: 0.010
Yum Version: 3.4.3
COMMAND: yum repolist
Installroot: /
Setting up Package Sacks
pkgsack time: 0.001
Repo-id      : local
Repo-name    : yocto-core2_32
Repo-updated : Wed Mar 18 21:54:18 2015
Repo-pkgs    : 0
Repo-size    : 0
Repo-baseurl : file:///home/ebolton/yocto/poky/build-max/tmp/deploy/rpm/core2_32
Repo-expire  : 21,600 second(s) (last: Wed Mar 18 23:01:51 2015)
Repo-excluded: 4,599
Repo-filename: ///etc/yum/repos.d/local.repo

repolist: 0

Any thoughts as to why all my packages are being excluded? FYI, using "--disableexcludes=[repo]?" with yum doesn't help.

Thanks.
-Erik



Disclaimer: This message contains information that may be privileged or confidential and is the property of AgJunction Inc and its subsidiaries. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150319/8041c927/attachment.html>


More information about the yocto mailing list