fs/ext2: pass a default string to filesystem label
authorFabio Estevam <festevam@gmail.com>
Wed, 15 Apr 2020 12:36:56 +0000 (09:36 -0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 15 Apr 2020 20:49:26 +0000 (22:49 +0200)
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@mind.be>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Tested-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
fs/ext2/Config.in

index 74bacc11411280be3050ae24cd78d9395352b32e..333ead95fe7672d1b3853cfe52ed0855c0f1aa96 100644 (file)
@@ -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"