[Buildroot] [git commit branch/2021.02.x] fs/ext2: fir (again) namespace for variables

Peter Korsgaard peter at korsgaard.com
Mon Oct 18 12:34:59 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=6f039073f21446cfa088e2bf687e4a82cb0f71d3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2021.02.x

As reported by Jens [0], commit db7d78614098 (fs/ext2: fix namespace for
variables) forgot to rename one variable expansion, resulting in the
ext2 label as set by the user to be ignored, with an empty label set.

[0] https://github.com/buildroot/buildroot/commit/db7d78614098#commitcomment-57918423

Reported-by: Jens Maus <mail at jens-maus.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
(cherry picked from commit 5ece6be60b8147d05c7c51fd49f64e0140399727)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 fs/ext2/ext2.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
index 0b797f315f..5b5393f092 100644
--- a/fs/ext2/ext2.mk
+++ b/fs/ext2/ext2.mk
@@ -21,7 +21,7 @@ ROOTFS_EXT2_OPTS = \
 	-r $(BR2_TARGET_ROOTFS_EXT2_REV) \
 	-N $(BR2_TARGET_ROOTFS_EXT2_INODES) \
 	-m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS) \
-	-L "$(EXT2_LABEL)" \
+	-L "$(ROOTFS_EXT2_LABEL)" \
 	$(ROOTFS_EXT2_MKFS_OPTS)
 
 ROOTFS_EXT2_DEPENDENCIES = host-e2fsprogs


More information about the buildroot mailing list