working automatic partition update

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
This commit is contained in:
Michel Stempin
2020-10-25 22:04:47 +01:00
parent 115b031565
commit 332feb6fe9
5 changed files with 128 additions and 9 deletions

View File

@@ -2,13 +2,21 @@ software =
{
version = "0.6";
hardware-compatibility = [ "#RE:^Rev\.[A-E]$" ];
hardware-compatibility = [ "#RE:^Rev\.[D-E]$" ];
images: (
{
filename = "rootfs.ext2.tar.gz";
filename = "rootfs.ext2.gz";
device = "/dev/mmcblk0p2";
compression = "zlib";
type = "raw";
installed-directly = true;
compressed = "zlib";
}
);
scripts: (
{
filename = "update_partition";
type = "shellscript";
}
);
}