From: Erik Bolton <EBolton@agjunction.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Local YUM Repo
Date: Thu, 19 Mar 2015 06:22:45 +0000 [thread overview]
Message-ID: <1426746167337.64077@agjunction.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1883 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 3017 bytes --]
reply other threads:[~2015-03-19 6:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426746167337.64077@agjunction.com \
--to=ebolton@agjunction.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.