<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/Config.in.host, branch 2015.11.1</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2015.11.1</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2015.11.1'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2015-10-25T20:36:23+00:00</updated>
<entry>
<title>jq: enable host package</title>
<updated>2015-10-25T20:36:23+00:00</updated>
<author>
<name>Thomas De Schampheleire</name>
<email>thomas.de.schampheleire@gmail.com</email>
</author>
<published>2015-10-19T10:42:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=db6fb49e7fcd703f85edddd25dee3d0709a499dd'/>
<id>urn:sha1:db6fb49e7fcd703f85edddd25dee3d0709a499dd</id>
<content type='text'>
Allow building jq as host utility for use in post-build scripts.
This can be useful to created, edit, merge or even perform syntax checking
on JSON files.

Signed-off-by: Thomas De Schampheleire &lt;thomas.de.schampheleire@gmail.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>dtc: add host build</title>
<updated>2015-10-04T18:17:35+00:00</updated>
<author>
<name>Peter Seiderer</name>
<email>ps.report@gmx.net</email>
</author>
<published>2015-10-03T19:44:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5774f07d43c8694b9640e67db771676af07c430b'/>
<id>urn:sha1:5774f07d43c8694b9640e67db771676af07c430b</id>
<content type='text'>
Having a host variant of dtc is needed for example for U-Boot, which
uses the Device Tree for a number of platforms.

In addition, now that we have a proper host-dtc package, it is no
longer needed for the linux package to install the host dtc compiler:
users interested in having the host dtc compiler can simply enable
this package.

A Config.in.host option is added to build host-dtc, because the
initial reason why the host DTC built by the kernel was installed in
$(HOST_DIR)/usr/bin (commit 707d44d0a28906ebda49584dd5f55985406f0bde
from Thomas DS) was:

    Having dtc as a host tool can be useful for users that have a
    custom boot scenario where the device tree is not embedded in the
    kernel.

[Thomas:
  - rework the commit log.]
[Peter: keep the (renamed) linux version]
Signed-off-by: Peter Seiderer &lt;ps.report@gmx.net&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package: add host-faketime</title>
<updated>2015-05-13T08:12:17+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2015-05-12T08:51:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=ffce535003f18a4f7fc7f0bb2a1c7fcf5d42624c'/>
<id>urn:sha1:ffce535003f18a4f7fc7f0bb2a1c7fcf5d42624c</id>
<content type='text'>
For use by packages or post-build/image scripts to fake the current time for
obnoxious programs that insists on adding a timestamp.

Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
Reviewed-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>imx-usb-loader: new host package</title>
<updated>2015-05-02T07:47:04+00:00</updated>
<author>
<name>Antoine Ténart</name>
<email>antoine.tenart@free-electrons.com</email>
</author>
<published>2015-05-01T16:15:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=059ab7f025c300db1d6ce175974c69444b1d478e'/>
<id>urn:sha1:059ab7f025c300db1d6ce175974c69444b1d478e</id>
<content type='text'>
This host package allows to build tools to download and execute code on
Freescale i.MX5/i.MX6 and Vybrid SoCs through the Serial Download
Protocol.

The work behind this commit was funded by ECA Group
&lt;http://www.ecagroup.com&gt;. ECA Group is the copyright owner of the
contributed code.

Signed-off-by: Antoine Tenart &lt;antoine.tenart@free-electrons.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>checkpolicy: new package</title>
<updated>2015-01-08T21:58:52+00:00</updated>
<author>
<name>Clayton Shotwell</name>
<email>clshotwe@rockwellcollins.com</email>
</author>
<published>2015-01-07T17:10:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=37d78971061754b9101a9e19739ce4906ae29506'/>
<id>urn:sha1:37d78971061754b9101a9e19739ce4906ae29506</id>
<content type='text'>
[Thomas:
 - Indicate in the Config.in help text that this policy compiler is
   SELinux related.
 - Rewrap Config.in help text and remove trailing white space.
 - Add a comment in the .mk file to indicate why we're passing
   DESTDIR= at build time.]

Signed-off-by: Matthew Weber &lt;matthew.weber@rockwellcollins.com&gt;
Signed-off-by: Clayton Shotwell &lt;clshotwe@rockwellcollins.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>qemu: add to host utilities menu</title>
<updated>2014-12-23T11:09:17+00:00</updated>
<author>
<name>Frank Hunleth</name>
<email>fhunleth@troodon-software.com</email>
</author>
<published>2014-12-10T22:11:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b268df55c17e8323fe658412df681268b0f1b0df'/>
<id>urn:sha1:b268df55c17e8323fe658412df681268b0f1b0df</id>
<content type='text'>
This allows qemu-user to be selected by the user. One use case
for this is to call qemu-user from post build scripts to
run regression tests against the build.

Signed-off-by: Frank Hunleth &lt;fhunleth@troodon-software.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/mke2img: new package</title>
<updated>2014-12-07T21:06:44+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2014-12-06T22:40:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=9d19f8fc86a69487463e2b523b4e2a7066167674'/>
<id>urn:sha1:9d19f8fc86a69487463e2b523b4e2a7066167674</id>
<content type='text'>
Currently, we are using a shell script called genext2fs, that
impersonates the real genext2fs. But that script does much more than
just call genextfs: it also calls tune2fs and e2fsck.

Because it impersonates genext2fs, we can not easily add new options,
and are constrained by the genext2fs options.

But it turns out that, of all the options supported by the real
genext2fs, we only really care for a subset, namely:
  - number of blocks
  - number of inodes
  - percentage of blocks reeserved to root
  - the root directory which to generate the image from

So, we introduce a new host package, mke2img, that is intended to
eventually replace genext2fs.sh.

This new script is highly modeled from the existing genext2fs.sh, but
was slightly refreshed, and a new, supposedly sane set of options has
been choosen for the features we need (see above), and some new options
were added, too, rather than relying on the arguments order or
environment variables:
  -b &lt;nb-blocks&gt;    number of blocks in the filesystem
  -i &lt;nb-inodes&gt;    number of inodes in the filesystem
  -r &lt;pc-reserved&gt;  percentage of reserved blocks
* -d &lt;root-dir&gt;     directory containing the root of the filesystem
* -o &lt;img-file&gt;     output image file
  -G &lt;ext-gen&gt;      extfs generation: 2, 3, or 4 (default: 2)
  -R &lt;ext-rev&gt;      ext2 revision: 0 or 1 (default 1)
  -l &lt;label&gt;        filesystem label
  -u &lt;uid&gt;          filesystem UUID; if not specified, a random one is used

* Mandatory options

Since the upstream e2fsprogs are expected to release a new mke2fs that
will be able to generate a filesystem image from a directory, we then
will be able to replace all the logic in mke2img, to use mke2fs instead
of the (relatively fragile) combination of the three tools we currently
use.

An entry is added for it in the "Host utilities" menu, so it can be
selected for use by post-{build,image} scripts. The ext2 filesystem
selection is changed to select that now.

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Tested-by: Karoly Kasza &lt;kaszak@gmail.com&gt;
Reviewed-by: Karoly Kasza &lt;kaszak@gmail.com&gt;
Tested-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>cramfs: add host utilities menu entry</title>
<updated>2014-10-12T07:53:43+00:00</updated>
<author>
<name>Eric Le Bihan</name>
<email>eric.le.bihan.dev@free.fr</email>
</author>
<published>2014-10-11T11:05:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b3c5c03bde2ef87fe41fd0fd45af06ab58c94516'/>
<id>urn:sha1:b3c5c03bde2ef87fe41fd0fd45af06ab58c94516</id>
<content type='text'>
Signed-off-by: Eric Le Bihan &lt;eric.le.bihan.dev@free.fr&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>dos2unix: new package</title>
<updated>2014-09-13T21:52:13+00:00</updated>
<author>
<name>David Bachelart</name>
<email>david.bachelart@bbright.com</email>
</author>
<published>2014-09-11T10:08:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=dcd762c0f99c56e3f9a8d894f5096741ead45506'/>
<id>urn:sha1:dcd762c0f99c56e3f9a8d894f5096741ead45506</id>
<content type='text'>
Signed-off-by: David Bachelart &lt;david.bachelart@bbright.com&gt;
Acked-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Tested-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/patchelf: new host package</title>
<updated>2014-07-31T21:53:23+00:00</updated>
<author>
<name>Yann E. MORIN</name>
<email>yann.morin.1998@free.fr</email>
</author>
<published>2014-07-30T22:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=8f570cd765d52da56b4cebd4e5149ab8ebceec7f'/>
<id>urn:sha1:8f570cd765d52da56b4cebd4e5149ab8ebceec7f</id>
<content type='text'>
In some situations, users may want to tweak the dynamic section of the
binaries (for example to add/set the RPATH to $ORIGIN/../lib).

Because it is not trivial to do it properly from the Buildroot
infrastructure, allow those users to use patchelf (e.g. from a
post-build script) to tweak binaries.

patchelf is able to:
  - modify an existing DT_RUNPATH tags
  - add a DT_RUNPATH tag if not already present
  - do the above to the DT_RPATH tag, too
  - set the path to the interpreter
  - remove DT_NEEDED tags
  - query a binary for the DT_RUNPATH/DT_RPATH tag, or for the
    interpreter path

Does not really fix #7172, but this is an appropriate workaround.

[Thomas: change license to GPLv3+, as mentionned in the project's
README file.]

Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Cc: Mike Zick &lt;minimod@morethan.org&gt;
Reviewed-by: Thomas De Schampheleire &lt;thomas.de.schampheleire@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
