Bug 3346 - Smart package feed handling
Summary: Smart package feed handling
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.4
Hardware: All Multiple
: Medium+ enhancement
Target Milestone: 1.4 M2
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 3182
  Show dependency tree
 
Reported: 2012-10-29 15:33 UTC by Paul Eggleton
Modified: 2013-02-08 11:28 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Eggleton 2012-10-29 15:33:55 UTC
For initial testing of Smart we can use rpm-dir channels; however this is rather suboptimal as the directories have to be re-indexed on every invocation of smart. We need to find the most optimal way of creating feeds for Smart and implement that within the rootfs construction code.

The major components of this task:
 - Update package-index (and related) to construct Smart compatible feeds
 - Update rootfs_rpm.bbclass (and related) to construct/use Smart compatible feeds
Comment 1 Bogdan Marinescu 2012-11-07 09:18:25 UTC
From the Smart FAQ (http://labix.org/smart/faq):

Smart supports the following repository formats as source channels:

    RPM repositories
        RPM System Database (locally installed packages)
        APT repositories for .rpm
        RPM-MD (used by YUM)
        Red Carpet (used by Ximian/Novell)
        RPM Header List (used by RedHat and Conectiva installation CDs, probably others)
        RPM Directory (a directory with a bunch of RPMs in it, no indexing required)
        URPMI (used by Mandriva) 

Not sure which one we're using, so I don't know what needs to change. Still investigating.
Comment 2 Paul Eggleton 2012-12-18 10:45:34 UTC
This is now part of the Smart integration merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=019ba25654cd3ae63a6b6c0f2d67da520bf10bc6
Comment 3 Stoicescu Cornel 2013-02-08 11:28:08 UTC
Verified in master: b07759a20221de575da98d221feb9ea9295f7e6f

From a core-image-minimal log.do_rootfs:

Note: adding Smart RPM DB channel