swupdate: get rid of rootfstype u-boot variable

This variable is only needed in the cc6ul, that's the reason
to create another sw-description only for the ccimx6ul.

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2023-08-22 16:19:09 +02:00
parent 6dfbab7e17
commit a56790c072
2 changed files with 70 additions and 14 deletions

View File

@ -0,0 +1,70 @@
software =
{
version = "@@DEY_FIRMWARE_VERSION@@";
description = "@@SWUPDATE_DESCRIPTION@@";
@@SWUPDATE_STORAGE_TYPE@@ = {
primary: {
images: (
##IMAGES_PRIMARY##
);
scripts: (
{
filename = "@@SWUPDATE_SCRIPT_NAME@@";
type = "shellscript";
}
);
uboot: (
{
name = "upgrade_available";
value = "1";
},
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
secondary: {
images: (
##IMAGES_SECONDARY##
);
scripts: (
{
filename = "@@SWUPDATE_SCRIPT_NAME@@";
type = "shellscript";
}
);
uboot: (
{
name = "upgrade_available";
value = "1";
},
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
single: {
images: (
##IMAGES_SINGLE##
);
scripts: (
{
filename = "@@SWUPDATE_SCRIPT_NAME@@";
type = "shellscript";
}
);
uboot: (
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
platform = {
ref = "#./single";
}
};
}

View File

@ -18,10 +18,6 @@ software =
{
name = "upgrade_available";
value = "1";
},
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
@ -39,10 +35,6 @@ software =
{
name = "upgrade_available";
value = "1";
},
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
@ -56,12 +48,6 @@ software =
type = "shellscript";
}
);
uboot: (
{
name = "rootfstype"
value = "@@SWUPDATE_ROOTFS_TYPE@@"
}
);
}
platform = {
ref = "#./single";