[Buildroot] [PATCH 2/2] fs/ext2: Pass a default string to filesystem label

Pierre-Jean Texier pjtexier at koncepto.io
Wed Apr 15 13:15:52 UTC 2020


Hi Fabio,

Le 15/04/2020 à 14:36, Fabio Estevam a écrit :
> 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>

Thanks !

Pierre-Jean

> ---
>   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"
> 

-- 
Pierre-Jean Texier
Embedded Linux Engineer
https://koncepto.io


More information about the buildroot mailing list