From 483a7c1a8c0ebb9329159a5014fb7466e786b2ef Mon Sep 17 00:00:00 2001 From: Murilo Belluzzo Date: Fri, 1 Jun 2018 14:17:40 -0700 Subject: [PATCH] Add support to multiple image creation Signed-off-by: Murilo Belluzzo --- images/native.json | 17 +++++++++++++++++ release-image-config.json | 13 ------------- 2 files changed, 17 insertions(+), 13 deletions(-) create mode 100644 images/native.json delete mode 100644 release-image-config.json diff --git a/images/native.json b/images/native.json new file mode 100644 index 0000000..9427c39 --- /dev/null +++ b/images/native.json @@ -0,0 +1,17 @@ +{ + "DestinationType" : "virtual", + "PartitionLayout" : [ { "disk" : "native.img", "partition" : 1, "size" : "512M", "type" : "EFI" }, + { "disk" : "native.img", "partition" : 2, "size" : "512M", "type" : "swap" }, + { "disk" : "native.img", "partition" : 3, "size" : "7G", "type" : "linux" } ], + "FilesystemTypes" : [ { "disk" : "native.img", "partition" : 1, "type" : "vfat" }, + { "disk" : "native.img", "partition" : 2, "type" : "swap" }, + { "disk" : "native.img", "partition" : 3, "type" : "ext4" } ], + "PartitionMountPoints" : [ { "disk" : "native.img", "partition" : 1, "mount" : "/boot" }, + { "disk" : "native.img", "partition" : 3, "mount" : "/" } ], + "Version": "latest", + "Bundles": ["bootloader", + "kernel-native", + "os-core", + "os-core-update", + "curl"] +} diff --git a/release-image-config.json b/release-image-config.json deleted file mode 100644 index 88b7f0e..0000000 --- a/release-image-config.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "DestinationType" : "virtual", - "PartitionLayout" : [ { "disk" : "release.img", "partition" : 1, "size" : "32M", "type" : "EFI" }, - { "disk" : "release.img", "partition" : 2, "size" : "16M", "type" : "swap" }, - { "disk" : "release.img", "partition" : 3, "size" : "10G", "type" : "linux" } ], - "FilesystemTypes" : [ { "disk" : "release.img", "partition" : 1, "type" : "vfat" }, - { "disk" : "release.img", "partition" : 2, "type" : "swap" }, - { "disk" : "release.img", "partition" : 3, "type" : "ext4" } ], - "PartitionMountPoints" : [ { "disk" : "release.img", "partition" : 1, "mount" : "/boot" }, - { "disk" : "release.img", "partition" : 3, "mount" : "/" } ], - "Version": "latest", - "Bundles": ["bootloader", "kernel-native", "os-core", "os-core-update", "curl"] -}