[Buildroot] [git commit] fs/ext2: pass a default string to filesystem label

Thomas Petazzoni thomas.petazzoni at bootlin.com
Wed Apr 15 20:49:26 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=5631c3802458c3fc6ce87a9d8c20dbe7fbf1e3d5
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Currently the volume-label for the root filesystem partition is a string
wit the following pattern: ad09a287-46a9-4790-ba97-fbbb549e5e96.

Specify the volume-label as "rootfs" to make it easier to identify it.

Suggested-by: Arnout Vandecappelle <arnout at mind.be>
Signed-off-by: Fabio Estevam <festevam at gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier at koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 fs/ext2/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/ext2/Config.in b/fs/ext2/Config.in
index 74bacc1141..333ead95fe 100644
--- a/fs/ext2/Config.in
+++ b/fs/ext2/Config.in
@@ -43,6 +43,7 @@ config BR2_TARGET_ROOTFS_EXT2_REV
 
 config BR2_TARGET_ROOTFS_EXT2_LABEL
 	string "filesystem label"
+	default "rootfs"
 
 config BR2_TARGET_ROOTFS_EXT2_SIZE
 	string "exact size"


More information about the buildroot mailing list