From 645d0a428a80cb16e7c69745ddf293c520c01310 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Thu, 9 Feb 2023 10:50:30 +0100 Subject: [PATCH] Mount oem by label Signed-off-by: Itxaka --- pkg/mount/mount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/mount/mount.go b/pkg/mount/mount.go index 4ed43a9..83a99df 100644 --- a/pkg/mount/mount.go +++ b/pkg/mount/mount.go @@ -439,7 +439,7 @@ func (s *State) Register(g *herd.Graph) error { mountRootCondition, herd.WithCallback( s.MountOP( - runtime.OEM.Name, + fmt.Sprintf("/dev/disk/by-label/%s", runtime.OEM.Label), s.path("/oem"), runtime.OEM.Type, []string{