<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/package_ipk.bbclass, branch 1.1_M1.rc2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=1.1_M1.rc2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=1.1_M1.rc2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-05-20T11:40:44+00:00</updated>
<entry>
<title>package-index.bb: add support for deb and rpm.</title>
<updated>2011-05-20T11:40:44+00:00</updated>
<author>
<name>Dexuan Cui</name>
<email>dexuan.cui@intel.com</email>
</author>
<published>2011-05-18T04:09:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9fbd9b93aea780c8168f6de2692148b14dd9d6a7'/>
<id>urn:sha1:9fbd9b93aea780c8168f6de2692148b14dd9d6a7</id>
<content type='text'>
[YOCTO #1024]
Currently package-index.bb only supports ipk. This commit adds the support
for rpm and deb, too.

------------------------------
How to generate and use repos:

1) run "bitbake package-index" after building some target,
e.g., core-image-sato-sdk;

2) export ${DEPLOY_DIR_RPM}, ${DEPLOY_DIR_IPK} and ${DEPLOY_DIR_DEB} by a
webserver on the host, assuming the host IP is 192.168.7.1, at
http://192.168.7.1/rpm
http://192.168.7.1/ipk
http://192.168.7.1/deb

3) inside the target, according to the packaging system (rpm, ipk or deb) used
when we generate the target image, we can use different ways to manage
packages:

3.1) RPM
    run "zypper addrepo http://192.168.7.1/rpm main; zypper refresh"
    to retrieve info about the repo; next, we can use "zypper install/remove"
    to manage packages.

3.2) IPK
    add the repo info into opkg config file, i.e., in
    /etc/opkg/arch.conf, we can add something like
    "src i586 http://192.168.7.1/ipk/i586", and next, we run "opkg update" to
    make opkg update the list of available packages. And later, we can use
    "opkg install/remove" to manage packages.

3.3) DEB
    Currently in target, some important config files, like
/var/lib/dpkg/status and /etc/apt/sources.list, for deb/apt are missing. So
we can't install/remove package in target at present.

(From OE-Core rev: 01e34bdb43e0cc27c1cfffd6730c384f40c404c1)

Signed-off-by: Dexuan Cui &lt;dexuan.cui@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs_ipk/package_ipk.bbclass: Move func from rootfs_ipk to package_ipk</title>
<updated>2011-02-01T23:59:37+00:00</updated>
<author>
<name>Lianhao Lu</name>
<email>lianhao.lu@intel.com</email>
</author>
<published>2011-01-30T04:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b94f9ccd05a339a5e3e8ec4c7bd8c727ca575871'/>
<id>urn:sha1:b94f9ccd05a339a5e3e8ec4c7bd8c727ca575871</id>
<content type='text'>
package_ipk.bbclass:
Added new function package_install_internal_ipk() to install a list of
ipk packages to a specified root directory, with the specified package
architecutre information.

rootfs_ipk.bbclass:
Used the above new functions to install rootfs.

Signed-off-by: Lianhao Lu &lt;lianhao.lu@intel.com&gt;
</content>
</entry>
<entry>
<title>image/package_xx/rootfs_xx.bbclass: move rootfs_xx_log_check().</title>
<updated>2011-01-31T16:58:15+00:00</updated>
<author>
<name>Lianhao Lu</name>
<email>lianhao.lu@intel.com</email>
</author>
<published>2011-01-30T04:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5b7e96d852778f1164198040cbd165241ea51e40'/>
<id>urn:sha1:5b7e96d852778f1164198040cbd165241ea51e40</id>
<content type='text'>
Move function rootfs_xx_log_check() from rootfs_xx.bbclass to relevant
package_xx.bbclass. (Where xx is rpm/ipk/deb).

Signed-off-by: Lianhao Lu &lt;lianhao.lu@intel.com&gt;
</content>
</entry>
<entry>
<title>package_ipk: Do not depend on the existence of "D" to create ipk package</title>
<updated>2011-01-21T16:44:09+00:00</updated>
<author>
<name>Dongxiao Xu</name>
<email>dongxiao.xu@intel.com</email>
</author>
<published>2011-01-21T05:51:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=9e7eb5955af578256e5ccd6a45406f4fa6220dde'/>
<id>urn:sha1:9e7eb5955af578256e5ccd6a45406f4fa6220dde</id>
<content type='text'>
If build from sstate results, the ${D} will not be installed. In this
case the creation of ipk package will be skipped, which will cause
the build failure.

Fix the issue by removing the judgement of ${D} existence.

Signed-off-by: Dongxiao Xu &lt;dongxiao.xu@intel.com&gt;
</content>
</entry>
<entry>
<title>cross-canadian: Update after PN changes to include TARGET_ARCH</title>
<updated>2010-12-10T16:57:21+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-12-10T16:57:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=05053efa86e457fd08785d1401365bd763342477'/>
<id>urn:sha1:05053efa86e457fd08785d1401365bd763342477</id>
<content type='text'>
This patch massively simplifies the canadian packaging and allows
multiple toolchain targets to be parallel installed into the same
nativesdk sysroot without package name conflits. Since we now do
this, we can simplify cross-canadian to become more like nativesdk.

This is a first pass over this task, similar changes would be
desireable to cross and the whole MULTIMACH_ARCH mess can then
probably be similified much further.

Signed-off-by: Richgard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>classes: Only enable fakeroot on setscene tasks with packaging</title>
<updated>2010-10-22T15:34:06+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-10-22T15:34:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=48b42dae5115ef321dfddcf570ae517c3874c4b9'/>
<id>urn:sha1:48b42dae5115ef321dfddcf570ae517c3874c4b9</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>pseudo/fakeroot: Move the pseudo directory creation into bitbake</title>
<updated>2010-10-22T12:00:40+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-10-22T12:00:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b'/>
<id>urn:sha1:36f1ae42fe13dae174b7fb5eb85dc49d7d7b516b</id>
<content type='text'>
If sstate was used to accelerate a build, the pseudo directory might not have
been created leading to subsequent task failures.

Also, sstate packages were not being installed under pseudo context meaning
file permissions could have been lost.

Fix these problems by creating a FAKEROOTDIRS variable which bitbake ensures
exists before running tasks and running the appropriate setscene tasks under
fakeroot context.

Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Add Summary/Description support to packaging</title>
<updated>2010-10-11T21:13:14+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2010-09-29T15:11:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b2f2590e6c566d1ed4df87cf52279106497d584d'/>
<id>urn:sha1:b2f2590e6c566d1ed4df87cf52279106497d584d</id>
<content type='text'>
[BUGID #281]

Add the ability for the deb, ipk and rpm classes to use the new summary
and description fields.  The Description is wrapped around 75 characters
to ensure a reasonably nice, presentable description.

(Summary defaults to the description if Summary is not defined.)

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
<entry>
<title>Revert "classes: Disable setscene tasks for initial testing"</title>
<updated>2010-10-05T21:26:33+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-09-16T05:55:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2d93cb0a0d70e6219379363cd80d375e30abebae'/>
<id>urn:sha1:2d93cb0a0d70e6219379363cd80d375e30abebae</id>
<content type='text'>
This reverts commit 084ec86402bba92418898a4c47667a0574a3b3ee.
</content>
</entry>
<entry>
<title>meta/classes: Fix whitespace mismatch and broken functions</title>
<updated>2010-08-31T11:02:24+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>rpurdie@linux.intel.com</email>
</author>
<published>2010-08-25T14:40:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e6566322bd2856e14fbabd78a6307f6575ba3d8c'/>
<id>urn:sha1:e6566322bd2856e14fbabd78a6307f6575ba3d8c</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;rpurdie@linux.intel.com&gt;
</content>
</entry>
</feed>
