From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: poky@yoctoproject.org
Subject: Re: Using RPM with Poky
Date: Mon, 21 Mar 2011 17:10:40 +0000 [thread overview]
Message-ID: <201103211710.40627.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <4D87843C.8030600@windriver.com>
On Monday 21 March 2011 17:00:44 Mark Hatle wrote:
> On 3/21/11 11:35 AM, Gary Thomas wrote:
> > Also, is there documentation on how to use zypper, how to set up
> > repositories, etc?
>
> There is no documentation yet on how to use Zypper. Below is how I've been
> using it to test things:
>
>
> On the host:
>
> 1) Build the environment -- full set of rpm packages you want available
>
> 2) Build "createrepo-native"
>
> 3) Copy tmp/deploy/rpm and contents of somewhere it can be accessed via
> HTTP, such as /var/www/html.
>
> 4) Create the repository database:
>
> <poky directory>/scripts/poky-setup-rpmrepo /var/www/html/rpm
>
> On the target:
>
> (assuming qemu)
>
> 1) zypper addrepo http://192.167.7.1/rpm main
>
> 2) zypper refresh
>
> 3) zypper install <package>
>
>
>
> Some other useful commands:
>
> zypper info <package>
>
> This will give you basic info on a package, and tell you if it's already
> installed (@System repository) or which remote repository it's stored in.
>
> zypper remove <package>
>
> This will remove a package, and clean up any other packages that are
> dependent upon it.
>
Mark, you beat me to it :) I just finished copying this onto the wiki:
https://wiki.yoctoproject.org/wiki/Zypper_Repository_Setup
We could probably do with this in the documentation in reworked form. Scott R,
what do you think?
Cheers,
Paul
next prev parent reply other threads:[~2011-03-21 17:10 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-21 15:25 Using RPM with Poky Gary Thomas
2011-03-21 15:54 ` Richard Purdie
2011-03-21 16:35 ` Gary Thomas
2011-03-21 17:00 ` Mark Hatle
2011-03-21 17:04 ` Gary Thomas
2011-03-21 17:10 ` Paul Eggleton [this message]
2011-03-21 17:57 ` Richard Purdie
2011-03-21 18:17 ` Gary Thomas
2011-03-21 20:47 ` Darren Hart
2011-03-21 20:52 ` Gary Thomas
2011-03-21 18:27 ` Darren Hart
2011-03-21 18:33 ` Gary Thomas
2011-03-21 19:45 ` Darren Hart
2011-03-21 20:20 ` Gary Thomas
2011-03-21 20:25 ` Bruce Ashfield
2011-03-21 21:02 ` Tom Zanussi
2011-03-21 22:58 ` Gary Thomas
2011-03-21 23:24 ` Darren Hart
2011-03-22 0:55 ` Gary Thomas
2011-03-22 2:49 ` Darren Hart
2011-03-22 11:20 ` Gary Thomas
2011-03-22 6:22 ` Tom Zanussi
2011-03-22 22:58 ` Tom Rini
2011-03-22 23:30 ` Gary Thomas
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=201103211710.40627.paul.eggleton@linux.intel.com \
--to=paul.eggleton@linux.intel.com \
--cc=poky@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox