From f356d62ca0a514416f50949988977a38b46580b2 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 23 Sep 2016 05:10:42 +0200 Subject: [PATCH] libfstools: properly label ext4 overlay Signed-off-by: Daniel Golle --- libfstools/rootdisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libfstools/rootdisk.c b/libfstools/rootdisk.c index 98c749d..d4ff201 100644 --- a/libfstools/rootdisk.c +++ b/libfstools/rootdisk.c @@ -264,7 +264,7 @@ static int rootdisk_volume_init(struct volume *v) if (rootdisk_use_f2fs(p)) snprintf(str, sizeof(str), "mkfs.f2fs -l rootfs_data %s", v->blk); else - snprintf(str, sizeof(str), "mkfs.ext4 %s", v->blk); + snprintf(str, sizeof(str), "mkfs.ext4 -L rootfs_data %s", v->blk); system(str); break; default: -- 2.25.1