swu-images: add "installed-directly" flag to sw-description

Otherwise, swupdate will treat the update process like it's an OTA one and it
will try to store the package contents in /tmp, which won't fit.

swupdate commit 8b70ae5796e75c2ff856e8c46b3a3c09cb8fcccd states that all local
SWU packages should include this flag, since the old implementation had this
information implicitly.

Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
Gabriel Valcazar 2021-06-02 15:53:46 +02:00
parent d5c696fd5b
commit 11558352f0
1 changed files with 2 additions and 0 deletions

View File

@ -9,12 +9,14 @@ software =
device = "##BOOT_DEV##"; device = "##BOOT_DEV##";
type = "raw"; type = "raw";
sha256 = "@##BOOTIMG_NAME##"; sha256 = "@##BOOTIMG_NAME##";
installed-directly = true;
}, },
{ {
filename = "##ROOTIMG_NAME##"; filename = "##ROOTIMG_NAME##";
device = "##ROOTFS_DEV##"; device = "##ROOTFS_DEV##";
type = "raw"; type = "raw";
sha256 = "@##ROOTIMG_NAME##"; sha256 = "@##ROOTIMG_NAME##";
installed-directly = true;
} }
); );
##PREINSTALL_SCRIPT## ##PREINSTALL_SCRIPT##