e2fsprogs: install populate-extfs.sh
PATCH 1/1 e2fsprogs: install populate-extfs.sh
* install populate-extfs.sh from contrib, be aware that in order to use it you need to set DEBUGFS shell variable, otherwise it will try to use debugfs from relative path which is almost always incorrect:
CONTRIB_DIR=$(dirname $(readlink -f $0))
DEBUGFS="$CONTRIB_DIR/../debugfs/debugfs"--- meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb +2 -0
@@ -54,6 +54,8 @@ do_install () { oe_multilib_header ext2fs/ext2_types.h install -d ${D}${base_bindir} mv ${D}${bindir}/chattr ${D}${base_bindir}/chattr.e2fsprogs + + install -v -m 755 ${S}/contrib/populate-extfs.sh ${D}${base_sbindir}/ } do_install_append_class-target() {
Signature · 1 line
2.3.5
Quoted 11 lines · Martin Jansa
* install
populate-extfs.shfrom contrib, be aware that in order to use it you need to set DEBUGFS shell variable, otherwise it will try to use debugfs from relative path which is almost always incorrect:CONTRIB_DIR=$(dirname $(readlink -f $0)) DEBUGFS="$CONTRIB_DIR/../debugfs/debugfs"Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++ 1 file changed, 2 insertions(+)
Do we need this now we have support proper in mkfs.ext for populating root filesystems?
Cheers,
Richard
We still have some functions which use populate-extfs.sh to create some ext4 partitions, eventually we should move to mkfs.ext as well, but as long as it's included in e3fsprogs it makes the migration to newer oe-core easier.
Quoted 21 lines · Richard Purdie
Quoted 11 lines · Martin Jansa
* install
populate-extfs.shfrom contrib, be aware that in order to use it you need to set DEBUGFS shell variable, otherwise it will try to use debugfs from relative path which is almost always incorrect:CONTRIB_DIR=$(dirname $(readlink -f $0)) DEBUGFS="$CONTRIB_DIR/../debugfs/debugfs"Signed-off-by Martin Jansa <[email protected]>--- meta/recipes-devtools/e2fsprogs/e2fsprogs_1.42.9.bb | 2 ++ 1 file changed, 2 insertions(+)Do we need this now we have support proper in mkfs.ext for populating root filesystems?
Cheers,
Richard