aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2013-06-03 10:15:49 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-06-03 23:06:30 +0200
commitd8286a993ac1738ef08a6b9aca03e629e5c9bb89 (patch)
tree04abb0d7511872806a8af4034819d367230d8ef1 /fs
parent3e650b8861542ba613bddad3d9b51d456bdeadc9 (diff)
downloadbuildroot-d8286a993ac1738ef08a6b9aca03e629e5c9bb89.tar.gz
buildroot-d8286a993ac1738ef08a6b9aca03e629e5c9bb89.tar.bz2
package/genext2fs: add host variant
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext2/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext2/Config.in b/fs/ext2/Config.in
index e75ef54b3a..c26482f1dd 100644
--- a/fs/ext2/Config.in
+++ b/fs/ext2/Config.in
@@ -1,5 +1,6 @@
config BR2_TARGET_ROOTFS_EXT2
bool "ext2/3/4 root filesystem"
+ select BR2_PACKAGE_HOST_GENEXT2FS
select BR2_PACKAGE_HOST_E2FSPROGS
help
Build an ext2/3/4 root filesystem