<feed xmlns='http://www.w3.org/2005/Atom'>
<title>multitech-oe.git/classes/rootfs_ipk.bbclass, branch org.openembedded.dev</title>
<subtitle>Multi-Tech CoreCDP 1.x OpenEmbedded Tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/'/>
<entry>
<title>rootfs_ipk.bbclass: Fix BAD_RECOMMENDATIONS.</title>
<updated>2010-08-19T05:49:33+00:00</updated>
<author>
<name>Graham Gower</name>
<email>graham.gower@gmail.com</email>
</author>
<published>2010-08-17T19:51:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=2e6dfcb63de90d073a022a01690e850e9d5a66e8'/>
<id>2e6dfcb63de90d073a022a01690e850e9d5a66e8</id>
<content type='text'>
See http://code.google.com/p/opkg/source/detail?r=553
And previous discussions:
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg01423.html
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg04051.html

Signed-off-by: Graham Gower &lt;graham.gower@gmail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See http://code.google.com/p/opkg/source/detail?r=553
And previous discussions:
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg01423.html
http://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg04051.html

Signed-off-by: Graham Gower &lt;graham.gower@gmail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rootfs_ipk.bbclass: remove host's lists in /var/lib/opkg/*</title>
<updated>2010-08-19T05:47:39+00:00</updated>
<author>
<name>Graham Gower</name>
<email>graham.gower@gmail.com</email>
</author>
<published>2010-08-16T14:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=a6888e89305fb9624dbb179e8f2f058890f0db38'/>
<id>a6888e89305fb9624dbb179e8f2f058890f0db38</id>
<content type='text'>
Signed-off-by: Graham Gower &lt;graham.gower@gmail.com&gt;
Acked-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Graham Gower &lt;graham.gower@gmail.com&gt;
Acked-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "rootfs_ipk.bbclass: install the package manager in a separate pass from the other packages"</title>
<updated>2010-08-06T12:51:00+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2010-08-05T07:41:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=a7cc4bc9a7e0643e2288d4213e1fb64b7a6e6169'/>
<id>a7cc4bc9a7e0643e2288d4213e1fb64b7a6e6169</id>
<content type='text'>
* This reverts commit acc720fa80227d08fd15764117e0c34e2387e804.
* Graham already has a proper fix for this.
* This breaks rootfs with ${ONLINE_PACKAGE_MANAGEMENT}" == "none"

Conflicts:

	classes/rootfs_ipk.bbclass

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Acked-By: Chris Larson &lt;clarson@mvista.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* This reverts commit acc720fa80227d08fd15764117e0c34e2387e804.
* Graham already has a proper fix for this.
* This breaks rootfs with ${ONLINE_PACKAGE_MANAGEMENT}" == "none"

Conflicts:

	classes/rootfs_ipk.bbclass

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Acked-By: Chris Larson &lt;clarson@mvista.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rootfs_ipk.bbclass: add support for PACKAGE_INSTALL_ATTEMPTONLY</title>
<updated>2010-08-04T00:12:08+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2010-08-04T00:08:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=2de66c5504eae14528acd28832fde969672c631c'/>
<id>2de66c5504eae14528acd28832fde969672c631c</id>
<content type='text'>
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rootfs_ipk.bbclass: install the package manager in a separate pass from the other packages</title>
<updated>2010-08-04T00:11:40+00:00</updated>
<author>
<name>Chris Larson</name>
<email>chris_larson@mentor.com</email>
</author>
<published>2010-08-03T23:55:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=acc720fa80227d08fd15764117e0c34e2387e804'/>
<id>acc720fa80227d08fd15764117e0c34e2387e804</id>
<content type='text'>
It seems that installing opkg/opkg-collateral blows away the configuration we
need to install more packages, so lets make that explicit by installing those
things last.

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems that installing opkg/opkg-collateral blows away the configuration we
need to install more packages, so lets make that explicit by installing those
things last.

Signed-off-by: Chris Larson &lt;chris_larson@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rootfs_ipk/meta-toolchain: Add locking on tasks that add package_update_index_ipk</title>
<updated>2010-06-07T15:54:13+00:00</updated>
<author>
<name>Tom Rini</name>
<email>tom_rini@mentor.com</email>
</author>
<published>2010-06-07T15:54:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=5e813f8a9e1b607233f3794b2c981ce1d8c84fac'/>
<id>5e813f8a9e1b607233f3794b2c981ce1d8c84fac</id>
<content type='text'>
We add a lockfile of do_populate_sdk and do_rootfs (in rootfs_ipk) that is also
the lockfile that package_update_index_ipk uses.  With enough threads it is
possible that one image (or meta-toolchain) is attempting to use the package
index while another has only reached the point of generating the index leading
to an empty index being seen later on.

Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Roman I Khimov &lt;khimov@altell.ru&gt;
Signed-off-by: Tom Rini &lt;tom_rini@mentor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We add a lockfile of do_populate_sdk and do_rootfs (in rootfs_ipk) that is also
the lockfile that package_update_index_ipk uses.  With enough threads it is
possible that one image (or meta-toolchain) is attempting to use the package
index while another has only reached the point of generating the index leading
to an empty index being seen later on.

Acked-by: Chris Larson &lt;chris_larson@mentor.com&gt;
Acked-by: Roman I Khimov &lt;khimov@altell.ru&gt;
Signed-off-by: Tom Rini &lt;tom_rini@mentor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot</title>
<updated>2010-05-05T14:04:57+00:00</updated>
<author>
<name>Joshua Lock</name>
<email>josh@linux.intel.com</email>
</author>
<published>2010-03-30T13:47:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=838a58ab01a9f325430fe6c4cc1dac7c2255a69c'/>
<id>838a58ab01a9f325430fe6c4cc1dac7c2255a69c</id>
<content type='text'>
This change, pulled from Poky, makes the purpose of the staging directory more
obvious and the taskname more true to what it now actually does.

The layout version number is increased due to the change in layout but code to
convert existing directories and insert a symlink for backwards compatibility
is included.

This patch also includes fixes for all recipes which reference the directory.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change, pulled from Poky, makes the purpose of the staging directory more
obvious and the taskname more true to what it now actually does.

The layout version number is increased due to the change in layout but code to
convert existing directories and insert a symlink for backwards compatibility
is included.

This patch also includes fixes for all recipes which reference the directory.

Signed-off-by: Joshua Lock &lt;josh@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rootfs_ipk.bbclass: run preinst/postinst scripts with "-e"</title>
<updated>2010-04-12T07:03:12+00:00</updated>
<author>
<name>Roman Khimov</name>
<email>khimov@altell.ru</email>
</author>
<published>2010-04-09T01:19:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=f62adac0eb3d847cf56b84ed3d695045eea85e6a'/>
<id>f62adac0eb3d847cf56b84ed3d695045eea85e6a</id>
<content type='text'>
There are scripts that can and should work when being ran on build
host (for example, simple update-rc.d), but there are also many which
can't and won't ever (for example, anything adding users/groups).
The second group sometimes doesn't get "unpacked" flag because
scripts throw errors in the middle and return something nice from
the last command.

It can be considered as a bug in pre/postinst script (as it should
either explicitly check for "${D}" or just do "set -e" at start),
but it is common enough.

There is also another aspect to this as in general we can't be sure
that everything is OK wrt preinst/postinst if script commands throw
errors.

Running preinst/postinst scripts on host with "-e" should solve
that.

Signed-off-by: Roman I Khimov &lt;khimov@altell.ru&gt;
Acked-by: Chris Larson &lt;clarson@kergoth.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There are scripts that can and should work when being ran on build
host (for example, simple update-rc.d), but there are also many which
can't and won't ever (for example, anything adding users/groups).
The second group sometimes doesn't get "unpacked" flag because
scripts throw errors in the middle and return something nice from
the last command.

It can be considered as a bug in pre/postinst script (as it should
either explicitly check for "${D}" or just do "set -e" at start),
but it is common enough.

There is also another aspect to this as in general we can't be sure
that everything is OK wrt preinst/postinst if script commands throw
errors.

Running preinst/postinst scripts on host with "-e" should solve
that.

Signed-off-by: Roman I Khimov &lt;khimov@altell.ru&gt;
Acked-by: Chris Larson &lt;clarson@kergoth.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rootfs_ipk.bbclass: move rootfs postprocess command</title>
<updated>2010-03-04T15:05:25+00:00</updated>
<author>
<name>Chris Conroy</name>
<email>Chris.Conroy@hillcrestlabs.com</email>
</author>
<published>2009-09-16T07:11:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=7e0dca393772c8145fb8dccd1a5898bc4fb7933a'/>
<id>7e0dca393772c8145fb8dccd1a5898bc4fb7933a</id>
<content type='text'>
I ran into a problem yesterday where the ROOTFS_POSTPROCESS_COMMAND
started failing after I turned off ONLINE_PACKAGE_MANAGEMENT. It seems
the problem is that if package management is turned off, then the opkg
directory gets deleted. Subsequent opkg commands in the
ROOTFS_POSTPROCESS_COMMAND fail to open the lock file because the
directory is gone.

This patch simply moves the postprocess command above the destruction of
the opkg directory to allow any such commands to complete successfully.

Acked-by: Marcin Juszkiewicz &lt;marcin@juszkiewicz.com.pl&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I ran into a problem yesterday where the ROOTFS_POSTPROCESS_COMMAND
started failing after I turned off ONLINE_PACKAGE_MANAGEMENT. It seems
the problem is that if package management is turned off, then the opkg
directory gets deleted. Subsequent opkg commands in the
ROOTFS_POSTPROCESS_COMMAND fail to open the lock file because the
directory is gone.

This patch simply moves the postprocess command above the destruction of
the opkg directory to allow any such commands to complete successfully.

Acked-by: Marcin Juszkiewicz &lt;marcin@juszkiewicz.com.pl&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rootfs_ipk.bbclass: always specify tmp_dir in opkg-cl call with -t parameter</title>
<updated>2010-02-24T19:10:40+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2010-02-24T18:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.multitech.net/cgit/multitech-oe.git/commit/?id=046c7c5f1cdec5c92f6a365d8846ba33986277b6'/>
<id>046c7c5f1cdec5c92f6a365d8846ba33986277b6</id>
<content type='text'>
* When option tmp_dir is used in opkg.conf installed on rootfs then it's
  used also in do_rootfs call and points to probably non-existent directory
  on buildhost like /var/lib/opkg/tmp.
* The value of tmp_dir from rootfs is used even with another config file
  specified with -c parameter
* Before this, it was using default value (/tmp) on buildhost, now it will use
  own "${IMAGE_ROOTFS}-tmp" and remove it after do_rootfs finish
  (usually already empty inside, cleaned by opkg itself)
* Similar patch for testlab.bbclass will follow

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* When option tmp_dir is used in opkg.conf installed on rootfs then it's
  used also in do_rootfs call and points to probably non-existent directory
  on buildhost like /var/lib/opkg/tmp.
* The value of tmp_dir from rootfs is used even with another config file
  specified with -c parameter
* Before this, it was using default value (/tmp) on buildhost, now it will use
  own "${IMAGE_ROOTFS}-tmp" and remove it after do_rootfs finish
  (usually already empty inside, cleaned by opkg itself)
* Similar patch for testlab.bbclass will follow

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
