]> code.ossystems Code Review - openembedded-core.git/commit
e2fsprogs: add populate-extfs.sh
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 18 Jul 2013 09:52:16 +0000 (17:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Aug 2013 10:42:11 +0000 (11:42 +0100)
commit265f91149aa8c475ebe5b7069044ed94b7857fa9
treeac4811fdcbc5f68f95d6a1c2d6d1bed536c9f899
parent7d1e51681d25f6e6d2c20744825723ad5c83861c
e2fsprogs: add populate-extfs.sh

This script is originally from Darren Hart, it will be used for creating
the ext* filesystem from a given directory, which will replace the
genext2fs in image_types.bbclass at the moment, we may use the mke2fs to
replace this script again when it has the initial directory support.

Changes of the script:
* Rename it from mkdebugfs.sh to populate-extfs.sh
* Add a simple usage
* Add checking for the number of the parameters
* Add the "regular empty file" and "fifo" file type
* Set mode, uid and gid for the file
* Save the command lines to a file and batch run them
* Change the error message
* Improve the performance
* Add the support for hardlink

[YOCTO #3848]

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/e2fsprogs/e2fsprogs-1.42.8/populate-extfs.sh [new file with mode: 0644]
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.8.bb