Is it possible with Easy Installer to extract more then one archive to same filesystem

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?

Could you please specify which Toradex module you are using and its HW version?

Hi @PhTe,

Any updates on this matter at your side?

Also, please remember to provide more information about the module and its hardware version.

Best regards,
André Curvello

I have achieved that on Colibri iMX6ULL module where I wanted to have RO filesystem with RW partition.

So I have added an RW entry to image.json file just before rootfs entry:

               {
                    "name": "data",
                    "content": {
                        "filename": "rwdir.tar.gz",
                        "filesystem_type": "ubifs"
                    },
                    "size_kib": 65535
                },

rwdir.tar.gz contains just pure RW directory tree structure and nothing else.

But note that above works with iMX6ULL module which has ubi volumes although on other modules the procedure is probably similar…

Regards, Mlinar

hi @mlinar

Thanks for your Input. @PhTe, does this suggestion help you?