<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/classes/package_rpm.bbclass, branch bernard</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=bernard</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=bernard'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2011-10-14T16:38:40+00:00</updated>
<entry>
<title>Magic file path should be given for rpmbuild</title>
<updated>2011-10-14T16:38:40+00:00</updated>
<author>
<name>jani.uusi-rantala@nokia.com</name>
<email>jani.uusi-rantala@nokia.com</email>
</author>
<published>2011-08-11T20:22:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7779a1fedcaa9e0797893d00cff036ecd8823be0'/>
<id>urn:sha1:7779a1fedcaa9e0797893d00cff036ecd8823be0</id>
<content type='text'>
Magic file path should be given for rpmbuild in
_rpmfc_magic_path define so that build system default file
is not used by accident. Not doing this caused many
packages to fail building in several systems.

Fixes [YOCTO #1358]

Signed-off-by: Jani Uusi-Rantala &lt;jani.uusi-rantala@nokia.com&gt;
</content>
</entry>
<entry>
<title>package_rpm: Ensure we take the sstate shared lockfile in the place we write files</title>
<updated>2011-05-04T22:43:25+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-03-29T10:58:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3d2c481ab0047a0432b61ec226aa7da2e64bdde1'/>
<id>urn:sha1:3d2c481ab0047a0432b61ec226aa7da2e64bdde1</id>
<content type='text'>
The point we need to take the lock is when the rpm files are written into the
deploy rpm directory. Since sstate makes the actual installation of the files,
that is the point we need to take the lock. This also stops the deploy/rpm
directory being accessed for a lock before it exists.

[YOCTO #797]
[YOCTO #925]

(From OE-Core rev: 833a1e970f087dfcb32967cee3e24540f041cde0)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>package_rpm: Fix rootfs generation</title>
<updated>2011-03-11T05:43:05+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-03-10T17:58:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e865b4f106e95fceb5e4094740d872b24fcb7dd5'/>
<id>urn:sha1:e865b4f106e95fceb5e4094740d872b24fcb7dd5</id>
<content type='text'>
[YOCTO #797]

During rootfs generation, if other RPM packages are being wrtten
this could cause a failure during the solvedb generation.  We
add a shared lock around the RPM package building.  This will allow
multiple RPM packages to continue to be written at the same time, but
prevent rootfs generation and RPM package generation at the same time.

(From OE-Core rev: 1d5ca654a482f582c75faf546140dfd6064da73b)

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>rpm: Add the ability to use the platform file during install</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:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ca649ef8253cbf69062322b5bdee4123ee4c4eca'/>
<id>urn:sha1:ca649ef8253cbf69062322b5bdee4123ee4c4eca</id>
<content type='text'>
Add a new rpm macro, rpmrc_platform_path to specify an alternative platform
file.  This is required to allow the dep resolver to identify compatible
packages.

Also workaround a minor problem with the --showrc command in RPM.  A bug
has been reported upstream on this.

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&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>package_rpm: Fix package-split summary</title>
<updated>2011-01-30T20:09:53+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-01-28T18:01:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=612d59f7d12dc37a8c97c115a068e07089d5be5c'/>
<id>urn:sha1:612d59f7d12dc37a8c97c115a068e07089d5be5c</id>
<content type='text'>
The package-split summaries were being pulled in from the main package, not
the split package metadata.

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
<entry>
<title>rpm: Uprev to RPM 5.4.0</title>
<updated>2011-01-28T17:52:55+00:00</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-01-16T03:36:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f6ddba2a9dc15560f639faaba8233c29c0c37e9d'/>
<id>urn:sha1:f6ddba2a9dc15560f639faaba8233c29c0c37e9d</id>
<content type='text'>
Update RPM to the latest release, RPM 5.4.0.

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
</feed>
