I want create an image for the easy installer where the OS data an my application are in seperate ‘tar.gz’ files.
I tried to add another filename entry in the ‘image.json’ content part, but it seems then only the second one is extracted by the installer.
{
"content": {
"uncompressed_size": 1602.00,
"label": "RFS",
"filename": "rootfs.tar.gz",
"filename": "app.tar.gz",
"filesystem_type": "ext4",
"mkfs_options": "-E nodiscard"
},
"partition_size_nominal": 512,
"want_maximised": true
}
I also tried it with the ‘filelist’ property, but it seems then the files will be only copied to the filesystem.
{
"content": {
"uncompressed_size": 1602.00,
"label": "RFS",
"filelist": ["rootfs.tar.gz", "app.tar.gz" ],
"filesystem_type": "ext4",
"mkfs_options": "-E nodiscard"
},
"partition_size_nominal": 512,
"want_maximised": true
}
Is there a way to extract multiple archives to the same filesystem?