The mount.ubifs UBIFS mount helper script does not get installed unless
mtd-utils is configured with `--with-ubifs`.  That is controlled by the
PTXCONF_MTD_UTILS_UBIFS variable.  Make the PTXdist
MTD_UTILS_UBIFS_MOUNTHELPER configuration option select the
MTD_UTILS_UBIFS_UBIFS configuration option.  (Note: MTD_UTILS_UBIFS is
currently only selected by MTD_UTILS_MKFS_UBIFS.)

Fixes: 9b9185a7696e ("mtd-utils: Add support for ubifs mount helper")
Signed-off-by: Ian Abbott <abbo...@mev.co.uk>
---
 rules/mtd-utils.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/mtd-utils.in b/rules/mtd-utils.in
index 8cc55caba..00dba7c1d 100644
--- a/rules/mtd-utils.in
+++ b/rules/mtd-utils.in
@@ -291,6 +291,7 @@ config MTD_UTILS_UBIFORMAT
 config MTD_UTILS_UBIFS_MOUNTHELPER
        bool
        prompt "mount.ubifs"
+       select MTD_UTILS_UBIFS
        help
          Simplifies attaching an ubi and mounting an ubifs via /etc/fstab.
 
-- 
2.43.0


Reply via email to