swu-images: create a common sw-description file.
Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
parent
da766b29d5
commit
51babaa55b
|
|
@ -1,20 +0,0 @@
|
||||||
software =
|
|
||||||
{
|
|
||||||
version = "##SW_VERSION##";
|
|
||||||
description = "##DESCRIPTION##";
|
|
||||||
|
|
||||||
images: (
|
|
||||||
{
|
|
||||||
filename = "##BOOTIMG_NAME##";
|
|
||||||
volume = "##BOOT_DEV##";
|
|
||||||
type = "ubivol";
|
|
||||||
sha256 = "@##BOOTIMG_NAME##";
|
|
||||||
},
|
|
||||||
{
|
|
||||||
filename = "##ROOTIMG_NAME##";
|
|
||||||
volume = "##ROOTFS_DEV##";
|
|
||||||
type = "ubivol";
|
|
||||||
sha256 = "@##ROOTIMG_NAME##";
|
|
||||||
}
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
@ -3,21 +3,45 @@ software =
|
||||||
version = "##SW_VERSION##";
|
version = "##SW_VERSION##";
|
||||||
description = "##DESCRIPTION##";
|
description = "##DESCRIPTION##";
|
||||||
|
|
||||||
images: (
|
mmc = {
|
||||||
{
|
platform: {
|
||||||
filename = "##BOOTIMG_NAME##";
|
images: (
|
||||||
device = "##BOOT_DEV##";
|
{
|
||||||
type = "raw";
|
filename = "##BOOTIMG_NAME##";
|
||||||
sha256 = "@##BOOTIMG_NAME##";
|
device = "##BOOT_DEV##";
|
||||||
installed-directly = true;
|
type = "raw";
|
||||||
},
|
sha256 = "@##BOOTIMG_NAME##";
|
||||||
{
|
installed-directly = true;
|
||||||
filename = "##ROOTIMG_NAME##";
|
},
|
||||||
device = "##ROOTFS_DEV##";
|
{
|
||||||
type = "raw";
|
filename = "##ROOTIMG_NAME##";
|
||||||
sha256 = "@##ROOTIMG_NAME##";
|
device = "##ROOTFS_DEV##";
|
||||||
installed-directly = true;
|
type ="raw";
|
||||||
|
sha256 = "@##ROOTIMG_NAME##";
|
||||||
|
installed-directly = true;
|
||||||
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
);
|
##PREINSTALL_SCRIPT##
|
||||||
##PREINSTALL_SCRIPT##
|
};
|
||||||
|
mtd = {
|
||||||
|
platform: {
|
||||||
|
images: (
|
||||||
|
{
|
||||||
|
filename = "##BOOTIMG_NAME##";
|
||||||
|
volume = "##BOOT_DEV##";
|
||||||
|
type = "ubivol";
|
||||||
|
sha256 = "@##BOOTIMG_NAME##";
|
||||||
|
installed-directly = true;
|
||||||
|
},
|
||||||
|
{
|
||||||
|
filename = "##ROOTIMG_NAME##";
|
||||||
|
volume = "##ROOTFS_DEV##";
|
||||||
|
type ="ubivol";
|
||||||
|
sha256 = "@##ROOTIMG_NAME##";
|
||||||
|
installed-directly = true;
|
||||||
|
}
|
||||||
|
);
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue