<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/rootfs_rpm.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-04-24T21:50:21+00:00</updated>
<entry>
<title>Control over when package init scripts are run</title>
<updated>2011-04-24T21:50:21+00:00</updated>
<author>
<name>Gary Thomas</name>
<email>gary@mlbassoc.com</email>
</author>
<published>2011-04-18T14:23:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=8e7f1b444e2ea3cc7fe7ddbf0568f4eee15a33b0'/>
<id>urn:sha1:8e7f1b444e2ea3cc7fe7ddbf0568f4eee15a33b0</id>
<content type='text'>
When a package is built, some installation scripts must be
performed on the target.  In the case of a complete image,
these scripts are run by a separate step at init time, but
only during the first boot (other package install scripts
can just be run when the package is installed on the target).

This patch lets the distribution (or user) decide when these
postponed install scripts should run.  The default is normally
near the end of init, but there may be times when it's beneficial
to run them earlier so the "when" can be overridden.

(From OE-Core rev: a46466893407d44dd16ab37ae70e1bee14bdde0a)

Signed-off-by: Gary Thomas &lt;gary@mlbassoc.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Replace POKYBASE with COREBASE</title>
<updated>2011-04-20T23:29:29+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-04-20T15:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4d609d502161137620c4b1901cc225f9e871c3dc'/>
<id>urn:sha1:4d609d502161137620c4b1901cc225f9e871c3dc</id>
<content type='text'>
(From OE-Core rev: 607a7657715f6fcba467a4e55ba64f41f4e13a15)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs_rpm.bbclass: Add additional system configuration to RPM space</title>
<updated>2011-03-16T16:44:59+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-03-16T02:59:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ff03a5167c9ea7c7096be8dec6350b919bc31927'/>
<id>urn:sha1:ff03a5167c9ea7c7096be8dec6350b919bc31927</id>
<content type='text'>
The additional configuration should have been there from the beginning.  The
purpose of these config files is to have a consistent Berkeley DB configuration
even if the underlying RPM version changes -- or the RPM macros change.

This likely would not cause any problems until we attempted an upgrade of
either BDB or RPM.

(From OE-Core rev: a0682191e0743ed8ec1d30567eb26d4cde864ee8)

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs_rpm: Fix rootfs generation using RPM packages</title>
<updated>2011-02-25T23:31:50+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-02-25T23:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=08c8f7bb7375a6f51c12ee5e7808e38e914d5413'/>
<id>urn:sha1:08c8f7bb7375a6f51c12ee5e7808e38e914d5413</id>
<content type='text'>
[BUG #756]

Fix bug #756.  The rootfs contains a control file /etc/rpm/platform
that specifies the default system platform, as well as patterns for
compatible architectures.  This file was not being setup properly due
to a misunderstanding of the format in a previous patch.

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
<entry>
<title>package_rpm: Fix solverdb generation</title>
<updated>2011-02-16T15:34:51+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-02-16T04:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ab0e1bed22b5054db5a2b62862134ad3b0714181'/>
<id>urn:sha1:ab0e1bed22b5054db5a2b62862134ad3b0714181</id>
<content type='text'>
The RPM solverdb was potentially being generated multiple times.
Fix this by ensuring we only process each directory once.

Also correct an issue where the solution did not necessarily follow
the preferred architecture ordering, reverse the default Poky ordering
so that preferred is listed first.

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
<entry>
<title>rootrs_rpm.bbclass: Disable createrepo for now due to this error:</title>
<updated>2011-02-03T11:24:19+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-02-03T11:24:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=4b793fff8ecba1e3aa8cf9abadb6fa8e0bdd84b8'/>
<id>urn:sha1:4b793fff8ecba1e3aa8cf9abadb6fa8e0bdd84b8</id>
<content type='text'>
| + createrepo /media/build2/builds/rptest/b4/tmp/deploy/rpm
| Traceback (most recent call last):
|   File "/media/build2/builds/rptest/b4/tmp/sysroots/x86_64-linux/usr/share/createrepo/genpkgmetadata.py", line 26, in &lt;module&gt;
|     import rpm
| ImportError: No module named rpm

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rootfs_rpm/package_rpm.bbclass: Move func from rootfs_rpm to package_rpm</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-30T06:07:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=382075a9c2a5877d198a217161558da6ad2d5f89'/>
<id>urn:sha1:382075a9c2a5877d198a217161558da6ad2d5f89</id>
<content type='text'>
package_deb.bbclass:
1. Modified package_update_index_rpm() and package_generate_rpm_conf()
to generate sperate depsolver db and rpm configuration, for target
packages and host packages respectively.

2. Added new function package_install_internal_rpm() to install a list
deb packages to a specified root directory, with the specified package
architecutre information.

3. Added new function resolve_package_rpm() to resolve package names to
filepaths.

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

[sgw: merged changes for createrepo]
Signed-off-by: Lianhao Lu &lt;lianhao.lu@intel.com&gt;
Signed-off-by: Saul Wold &lt;sgw@linux.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>creating the rpmrepo metadata</title>
<updated>2011-01-30T20:09:52+00:00</updated>
<author>
<name>Qing He</name>
<email>qing.he@intel.com</email>
</author>
<published>2011-01-18T10:00:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e67698743eb6fea77f03d712be5d838fbc887f16'/>
<id>urn:sha1:e67698743eb6fea77f03d712be5d838fbc887f16</id>
<content type='text'>
This includes two method for build rpm repo:
  1. create the metadata in rootfs_rpm
  2. standalone binary for building the metadata

Not both of them are needed, generally #2 fits more for the purpose,
but #1 may have its use on rootfs creation using zypper.

Both share some problems and are subjected for future improvement:
  1. the createrepo now builds metadata for the whole directory,
     if there are more than one arch, it builds for all, which means
     rootfs_rpm may run longer if more builds have been run.
  2. createrepo builds metadata for stale rpms

Signed-off-by: Qing He &lt;qing.he@intel.com&gt;
</content>
</entry>
<entry>
<title>rootfs_rpm: Drop bogus inclusion of the run-postinsts package</title>
<updated>2011-01-28T17:57:23+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-01-28T17:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=be4ad69f4a2ea16a17853c219d2e5b42d85498b4'/>
<id>urn:sha1:be4ad69f4a2ea16a17853c219d2e5b42d85498b4</id>
<content type='text'>
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
