<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openembedded-core.git/meta/classes/rootfs_rpm.bbclass, branch master</title>
<subtitle></subtitle>
<id>https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master</id>
<link rel='self' href='https://trygvis.io/git/2012/05/openembedded-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/'/>
<updated>2012-03-13T11:44:45Z</updated>
<entry>
<title>rootfs_rpm.bbclass: rename postinst trigger script</title>
<updated>2012-03-13T11:44:45Z</updated>
<author>
<name>Otavio Salvador</name>
<email>otavio@ossystems.com.br</email>
</author>
<published>2012-03-03T17:31:18Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=6bc50e531a15728be019af7bec5bce704fb72f8f'/>
<id>urn:sha1:6bc50e531a15728be019af7bec5bce704fb72f8f</id>
<content type='text'>
Use 'run-postinsts' as trigger script name as it describes better the
intent of it.

Signed-off-by: Otavio Salvador &lt;otavio@ossystems.com.br&gt;
</content>
</entry>
<entry>
<title>Incremental rpm image generation</title>
<updated>2012-01-11T10:33:23Z</updated>
<author>
<name>Robert Yang</name>
<email>liezhi.yang@windriver.com</email>
</author>
<published>2011-12-28T09:16:11Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=575ba3c9e153a1d8ac228a99a03ca2df5fbca151'/>
<id>urn:sha1:575ba3c9e153a1d8ac228a99a03ca2df5fbca151</id>
<content type='text'>
Incremental rpm image generation, the rootfs would be totally removed and
re-created in the second generation by default, but with
INC_RPM_IMAGE_GEN = "1", the rpm based rootfs would be kept, and will do
update(remove/add some pkgs) on it.

NOTE: This is not suggested when you want to create a productive rootfs

For example:
  1) Add the follow config option to a conf file:
     INC_RPM_IMAGE_GEN = "1"

  2) bitbake core-image-sato
     modify a package
     bitbake core-image-sato

The rootfs would not be totally removed and re-created in the second
generation, it would be simply updated based on the "package".

Implatation:
1) Figure out the pkg which need to be removed or re-installed, then use
'rpm -e to remove the old one. Use the rpm's BUILDTIME to determine
which pkg has been rebuilt.

2) Figure out the pkg which is newly added, and use 'rpm -U' to install
it.

This only for the rpm based rootfs, the deb and ipk based rootfs would
be done later.

[YOCTO #1651]

Signed-off-by: Robert Yang &lt;liezhi.yang@windriver.com&gt;
</content>
</entry>
<entry>
<title>rpm: Fix rpm database files capacity issue.</title>
<updated>2012-01-03T04:26:25Z</updated>
<author>
<name>Mei Lei</name>
<email>lei.mei@intel.com</email>
</author>
<published>2011-12-28T03:22:17Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=32d308bb38612cef2a98a4c40f058b4db50787aa'/>
<id>urn:sha1:32d308bb38612cef2a98a4c40f058b4db50787aa</id>
<content type='text'>
Tune the __db* size in DB_CONFIG.
This will reduce the __db* size from 62MB to 26MB in qemu.

[YOCTO #1769]

Signed-off-by: Mei Lei &lt;lei.mei@intel.com&gt;
</content>
</entry>
<entry>
<title>classes/image: implement generic locale package installation</title>
<updated>2012-01-03T04:26:25Z</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2011-12-22T14:46:32Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=c0fc36f8629a6abb9a7b542df8a2857526547a31'/>
<id>urn:sha1:c0fc36f8629a6abb9a7b542df8a2857526547a31</id>
<content type='text'>
Let each package-specific rootfs implementation provide basic functions
to query the existence of a package and install a list of packages and
then have a generic install function so this logic is in one place.

Note: unlike previous versions of this code in OE-Core this uses the
IMAGE_LINGUAS variable and not IMAGE_LOCALES - note that IMAGE_LINGUAS
was what was used in OE-Classic and it is already used in OE-Core in
order to install locale-base-*. This will mean that if IMAGE_LINGUAS is
left at the default you will now get more packages installed. If you
don't want these language support packages then you should set
IMAGE_LINGUAS explicitly.

This restores locale installation to the same state as OE-Classic, only
we now support all the packaging backends.

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>classes/rootfs_rpm: handle recommends in query functions</title>
<updated>2012-01-03T04:26:05Z</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2011-12-22T16:55:57Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=b6787f5d6e181d8c39cce7b050e261d1a1d1b075'/>
<id>urn:sha1:b6787f5d6e181d8c39cce7b050e261d1a1d1b075</id>
<content type='text'>
Implement list_package_recommends() for rpm, and filter out the
"suggests" (RPM's equivalent of recommends) in list_package_depends().

Respectively, these changes fix buildhistory handling of recommends for
RPM (so that they are included in the image graphs) and also prevents
failures during do_rootfs with buildhistory enabled if a recommend is
unsatisfied.

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>classes/buildhistory: add new output history collection class</title>
<updated>2011-12-05T16:23:27Z</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2011-11-30T16:48:47Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=14acb530a27a3b088d0bfd56db291f4e72ace8ab'/>
<id>urn:sha1:14acb530a27a3b088d0bfd56db291f4e72ace8ab</id>
<content type='text'>
Create a new build output history reporting class, using testlab.bbclass
from meta-oe as a base. This records information from images produced by
the build process in text files structured suitably for tracking within
a git repository, thus enabling monitoring of changes over time.

Build history collection can be enabled simply by adding the following
to your local.conf:

INHERIT += "buildhistory"

The output after a build can then be found in BUILDHISTORY_DIR (defaults to
TMPDIR/buildhistory). If you set up this directory as a git repository and
set BUILDHISTORY_COMMIT to "1" in local.conf, the build history data will
be committed on every build.

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "classes/buildhistory: add new output history collection class"</title>
<updated>2011-12-01T23:00:52Z</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2011-12-01T23:00:52Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=e57935dc18d576feb1003b48e7cdc72a444131b8'/>
<id>urn:sha1:e57935dc18d576feb1003b48e7cdc72a444131b8</id>
<content type='text'>
This reverts commit 508ff624fea705eb93cf2cc1e0c9c42cb817acf8. RP
accidentally pulled the wrong commit in, it was supposed to be a
*package*history bbclass change.
</content>
</entry>
<entry>
<title>classes/buildhistory: add new output history collection class</title>
<updated>2011-12-01T16:53:04Z</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2011-11-30T16:48:47Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=508ff624fea705eb93cf2cc1e0c9c42cb817acf8'/>
<id>urn:sha1:508ff624fea705eb93cf2cc1e0c9c42cb817acf8</id>
<content type='text'>
Create a new build output history reporting class, using testlab.bbclass
from meta-oe and packagehistory.bbclass as a base. This records information
from packages and images output from the build process in text files
structured suitably for tracking within a git repository, thus enabling
monitoring of changes over time.

Build history collection can be enabled simply by adding the following
to your local.conf:

INHERIT += "buildhistory"

The output after a build can then be found in BUILDHISTORY_DIR (defaults to
TMPDIR/buildhistory). If you set up this directory as a git repository and
set BUILDHISTORY_COMMIT to "1" in local.conf, the build history data will
be committed on every build.

Signed-off-by: Paul Eggleton &lt;paul.eggleton@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>rootfs_rpm.bbclass: Turn off script debugging</title>
<updated>2011-11-11T08:33:50Z</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-11-10T17:43:02Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=a7e70227bac72c4f7d3419f94f6915da4c7e3f43'/>
<id>urn:sha1:a7e70227bac72c4f7d3419f94f6915da4c7e3f43</id>
<content type='text'>
Disable script debugging, as the log files become huge and take a
long time to process during the log check step.  This results in a
performance improvement.

Signed-off-by: Mark Hatle &lt;mark.hatle@windriver.com&gt;
</content>
</entry>
<entry>
<title>rootfs_rpm.bbclass: Enable pre and post install scripts</title>
<updated>2011-11-11T08:33:49Z</updated>
<author>
<name>Mark Hatle</name>
<email>mark.hatle@windriver.com</email>
</author>
<published>2011-11-10T16:30:21Z</published>
<link rel='alternate' type='text/html' href='https://trygvis.io/git/2012/05/openembedded-core.git/commit/?id=3e7120d6a9fd5e46214673d0a6e1085a7314ff42'/>
<id>urn:sha1:3e7120d6a9fd5e46214673d0a6e1085a7314ff42</id>
<content type='text'>
[YOCTO #1755]

We change the want the RPM rootfs install works to install pre and post install
scripts.  The new method uses a script helper that is invoked by RPM outside
of the normal chroot.

The wrapper is dynamically generated prior to the install starting.  It will
check the return code of the script.  If the script fails, it will store a copy
to be executed on the first system boot.  This is similar to the previous
mechanism.

In addition, a line of debug was added to the scripts as written by package_rpm
to list which package and which script for later debugging, if necessary.

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