Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Dexuan Cui <dexuan.cui@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/1][v3] Automatically generate package repos for rpmand deb [bug #1024]
Date: Wed, 18 May 2011 21:10:22 +0800	[thread overview]
Message-ID: <cover.1305722976.git.dexuan.cui@intel.com> (raw)

From: Dexuan Cui <dexuan.cui@intel.com>

This was made to address http://bugzilla.yoctoproject.org/show_bug.cgi?id=1024.

Thanks a lot to RP and Saul's suggestions, the patch becomes much cleaner now.

As to DEB, I found currently in target, some important config files, like
/etc/apt/sources.list, for deb/apt are missing. As a result, we can't
install/remove package in target at all.
I tried to resolve this by add "deb http://192.168.7.1/deb/all/ ./" into
target's /etc/apt/sources.list, but later "apt-get update" failes -- it
tries to find a file named Packages.gz, but the direcory only has
Packages.bz2 -- not sure why apt-get here doesn't try to find Packages.bz2
when it can't find Packages.gz and do_rootfs does succeed with Packages.bz2.
Later after I tried to manually generate Packages.gz from Packages.bz2 and did
"mkdir -p /var/cache/apt/archives/partial/; mkdir -p /var/log/apt/",
"apt-get update" and "apt-get remove" finally can work, but "apt-get install"
could still fail: "package architecture (arm) does not match system (armel)".
The issues need more effort to be fixed.

Pull URL: git://git.pokylinux.org/poky-contrib.git
  Branch: dcui/master
  Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Thanks,
    Dexuan Cui <dexuan.cui@intel.com>
---


Dexuan Cui (1):
  package-index.bb: add support for deb and rpm.

 meta/classes/package_deb.bbclass        |    9 +++++++++
 meta/classes/package_ipk.bbclass        |    9 +++++++++
 meta/classes/package_rpm.bbclass        |    9 +++++++++
 meta/recipes-core/meta/package-index.bb |    6 ++----
 4 files changed, 29 insertions(+), 4 deletions(-)

-- 
1.7.2




             reply	other threads:[~2011-05-18 13:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-18 13:10 Dexuan Cui [this message]
2011-05-18 13:10 ` [PATCH 1/1][RFC][v3] package-index.bb: add support for rpm and deb Dexuan Cui
2011-05-20 15:11   ` Saul Wold

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=cover.1305722976.git.dexuan.cui@intel.com \
    --to=dexuan.cui@intel.com \
    --cc=openembedded-core@lists.openembedded.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