This commit is contained in:
mudler
2023-02-06 15:28:22 +01:00
parent fcdc2f28b6
commit 4011c3f41c
6 changed files with 5 additions and 49 deletions

15
pkg/mount/schema.go Normal file
View File

@@ -0,0 +1,15 @@
package mount
type Layout struct {
Overlay Overlay
OEMLabel string
//https://github.com/kairos-io/packages/blob/94aa3bef3d1330cb6c6905ae164f5004b6a58b8c/packages/system/dracut/immutable-rootfs/30cos-immutable-rootfs/cos-generator.sh#L71
Mounts []string
}
type Overlay struct {
// /run/overlay
Base string
// https://github.com/kairos-io/packages/blob/94aa3bef3d1330cb6c6905ae164f5004b6a58b8c/packages/system/dracut/immutable-rootfs/30cos-immutable-rootfs/cos-generator.sh#L22
BackingBase string
}