summaryrefslogtreecommitdiffstats
path: root/package/Config.in.host
AgeCommit message (Collapse)Author
2014-12-07package/mke2img: new packageYann E. MORIN
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 <nb-blocks> number of blocks in the filesystem -i <nb-inodes> number of inodes in the filesystem -r <pc-reserved> percentage of reserved blocks * -d <root-dir> directory containing the root of the filesystem * -o <img-file> output image file -G <ext-gen> extfs generation: 2, 3, or 4 (default: 2) -R <ext-rev> ext2 revision: 0 or 1 (default 1) -l <label> filesystem label -u <uid> 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" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Karoly Kasza <kaszak@gmail.com> Reviewed-by: Karoly Kasza <kaszak@gmail.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-12cramfs: add host utilities menu entryEric Le Bihan
Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-09-13dos2unix: new packageDavid Bachelart
Signed-off-by: David Bachelart <david.bachelart@bbright.com> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-07-31package/patchelf: new host packageYann E. MORIN
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" <yann.morin.1998@free.fr> Cc: Mike Zick <minimod@morethan.org> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-01pwgen: add host utilities menu entryGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-11infra: indent the Config.in source-ing of packagesArnout Vandecappelle
This makes sure that a patch adding a package shows in which menu the package is added. Before this commit, the patch has something like this: > diff --git a/package/Config.in b/package/Config.in > index 7800f23..433312e 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ source "package/googlefontdirectory/Config.in" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > +source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" [> added to avoid git-am recognizing this as the patch] After this commit, the function marker shows in which menu the new package was added: > diff --git a/package/Config.in b/package/Config.in > index b1111c8..7e6e1a4 100644 > --- a/package/Config.in > +++ b/package/Config.in > @@ -864,6 +864,7 @@ menu "Miscellaneous" > source "package/haveged/Config.in" > source "package/mcrypt/Config.in" > source "package/mobile-broadband-provider-info/Config.in" > + source "package/mypackage/Config.in" > source "package/shared-mime-info/Config.in" > source "package/snowball-init/Config.in" > source "package/sound-theme-borealis/Config.in" To keep things consistent, this is done for Config.in.host there, even though we don't have sub-menus there at the moment. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-04-20e2tools: new packageDaniel Nyström
E2tools is a simple set of GPL'ed utilities to read, write, and manipulate files in an ext2/ext3 filesystem. These utilities access a filesystem directly using the ext2fs library. [Thomas: add toolchain dependencies as needed, use full Git hash, use github helper, add support for host version.] Signed-off-by: Daniel Nyström <daniel.nystrom@timeterminal.se> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-02-08package/squashfs: add selection for the host variantYann E. MORIN
If any of the post-image scripts wants to handle squashfs filesystems, we need to expose an option for squashfs-tools to be user-selectable. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Ryan Barnett <rjbarnet@rockwellcollins.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-04package/util-linux: add a host variantDanomi Manchego
Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-02mtd: Allow to select the host variantEzequiel García
If any of the post-image scripts wants to create mtd/ubi images, we need to expose an option for mtd-tools to be user-selectable. [Peter: fix include order] Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-12package/parted: add a host variantYann E. MORIN
Useful for for-build scripts to call parted, eg. to generate partition tables and such automatically. Since the primary goal is to use parted within scripts, we do not need readline, so it is forcibly disabled. Also, it does look unlikely that we need to manipulate LVM volumes, so we forcibly disable support for the device-mapper. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-06-03package/genext2fs: add host variantYann E. MORIN
genext2fs is built only if the user selected an ext2 root filesystem. However, some use-cases can't live with the full target/ dir on the root filesystem, and requires separate partitions (eg. for /usr). In this case, the user would not select an ext2 root fs in the Buildrooot menu, and would only generate a tarball of the rootfs. This tarball would then be used from a post-image script to build the actual required FSes. But then, genext2fs is not built, since the ext2 root FS was not selected. As for the other filesystem generators, provide a host variant of genext2fs (genext2fs is already host-package aware, so only needs adding a Kconfig entry). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-28sunxi-tools: new host/target packageCarlo Caione
[Peter: Fix Config.in wordwrap and trailing lines] Signed-off-by: Carlo Caione <carlo.caione@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-18package/mtools: new host-packageYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-18package/genpart: new host-only packageYann E. MORIN
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-18package/genimage: new host-only packageYann E. MORIN
[Peter: wrap help text] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-18package/dosfstools: add host-package selectionYann E. MORIN
Add dosfstools as a host-package selection in the menuconfig. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-03-18package/e2fsprogs: add host-package selectionYann E. MORIN
Add the e2fsprogs as a host-package selection in the menuconfig. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-07-20dfu-util: new packagegregory hermant
Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-05-19omap-u-boot-utils: add new host packageLuca Ceresoli
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-18Add lpc3250loader to the host toolsAlexandre Belloni
[Peter: use install -D for installation] Signed-off-by: Alexandre Belloni <alexandre.belloni@piout.net> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02sam-ba: new package with host variant onlyThomas Petazzoni
sam-ba is a tool needed to reprogram AT91-based systems using an USB connection or a serial port connection. [Peter: Add upstream URL] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02openocd: add host variantThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02uboot-tools: expose host package in menuconfigThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-02Add basic config infrastructure for host utilitiesThomas Petazzoni
Most of the host packages don't have to be exposed to the user as they are only used as build dependencies of target packages. However, some host utilities, such as flashing utilities, image creation programs, specific debuggers, might be useful and should be presented to the user. Therefore, we have a new global menu, which lists those host utilities. These utilities are described in package/*/Config.in.host files, which will be sourced by package/Config.in.host. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Acked-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>