2012-01-28 10:42:49 -07:00
|
|
|
menu "Host utilities"
|
|
|
|
|
2016-02-04 18:12:52 -07:00
|
|
|
source "package/aespipe/Config.in.host"
|
2015-11-23 09:27:12 -07:00
|
|
|
source "package/android-tools/Config.in.host"
|
2016-03-17 09:03:57 -06:00
|
|
|
source "package/cbootimage/Config.in.host"
|
2015-01-07 10:10:36 -07:00
|
|
|
source "package/checkpolicy/Config.in.host"
|
2014-10-11 05:05:35 -06:00
|
|
|
source "package/cramfs/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/dfu-util/Config.in.host"
|
2014-09-11 04:08:44 -06:00
|
|
|
source "package/dos2unix/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/dosfstools/Config.in.host"
|
2015-10-03 13:44:12 -06:00
|
|
|
source "package/dtc/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/e2fsprogs/Config.in.host"
|
|
|
|
source "package/e2tools/Config.in.host"
|
2015-05-12 02:51:31 -06:00
|
|
|
source "package/faketime/Config.in.host"
|
2016-04-05 13:32:15 -06:00
|
|
|
source "package/fwup/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/genext2fs/Config.in.host"
|
|
|
|
source "package/genimage/Config.in.host"
|
|
|
|
source "package/genpart/Config.in.host"
|
2016-04-04 13:31:49 -06:00
|
|
|
source "package/go/Config.in.host"
|
2015-12-08 16:20:23 -07:00
|
|
|
source "package/gptfdisk/Config.in.host"
|
2015-05-01 10:15:40 -06:00
|
|
|
source "package/imx-usb-loader/Config.in.host"
|
2015-10-19 04:42:09 -06:00
|
|
|
source "package/jq/Config.in.host"
|
2016-07-02 03:35:38 -06:00
|
|
|
source "package/jsmin/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/lpc3250loader/Config.in.host"
|
2016-11-02 00:55:07 -06:00
|
|
|
source "package/lttng-babeltrace/Config.in.host"
|
2016-10-26 10:08:02 -06:00
|
|
|
source "package/mfgtools/Config.in.host"
|
package/mke2img: new package
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-12-06 15:40:04 -07:00
|
|
|
source "package/mke2img/Config.in.host"
|
2016-10-07 10:59:11 -06:00
|
|
|
source "package/mkpasswd/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/mtd/Config.in.host"
|
|
|
|
source "package/mtools/Config.in.host"
|
2016-07-07 11:49:23 -06:00
|
|
|
source "package/mxsldr/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/omap-u-boot-utils/Config.in.host"
|
|
|
|
source "package/openocd/Config.in.host"
|
2017-02-06 07:57:43 -07:00
|
|
|
source "package/opkg-utils/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/parted/Config.in.host"
|
2014-07-30 16:57:16 -06:00
|
|
|
source "package/patchelf/Config.in.host"
|
2016-12-01 21:22:41 -07:00
|
|
|
source "package/pru-software-support/Config.in.host"
|
2014-07-01 05:42:03 -06:00
|
|
|
source "package/pwgen/Config.in.host"
|
2017-02-01 10:51:08 -07:00
|
|
|
source "package/python-lxml/Config.in.host"
|
2014-12-10 15:11:58 -07:00
|
|
|
source "package/qemu/Config.in.host"
|
2016-12-05 13:59:06 -07:00
|
|
|
source "package/raspberrypi-usbboot/Config.in.host"
|
2017-06-29 13:08:11 -06:00
|
|
|
source "package/rauc/Config.in.host"
|
2017-03-16 15:37:58 -06:00
|
|
|
source "package/s6-rc/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/sam-ba/Config.in.host"
|
|
|
|
source "package/squashfs/Config.in.host"
|
|
|
|
source "package/sunxi-tools/Config.in.host"
|
2016-03-17 09:03:56 -06:00
|
|
|
source "package/tegrarcm/Config.in.host"
|
2016-12-01 21:22:40 -07:00
|
|
|
source "package/ti-cgt-pru/Config.in.host"
|
2014-05-08 15:35:43 -06:00
|
|
|
source "package/uboot-tools/Config.in.host"
|
|
|
|
source "package/util-linux/Config.in.host"
|
2015-12-25 14:40:10 -07:00
|
|
|
source "package/vboot-utils/Config.in.host"
|
2016-03-16 07:55:15 -06:00
|
|
|
source "package/xorriso/Config.in.host"
|
2016-02-05 10:09:40 -07:00
|
|
|
source "package/zip/Config.in.host"
|
2012-01-28 10:42:50 -07:00
|
|
|
|
2012-01-28 10:42:49 -07:00
|
|
|
endmenu
|