Closed thirtythreeforty closed 4 years ago
If it's a bug, I'm happy to work on a fix. Just wanted to know if I'm holding it wrong.
I think you are correct. But I've not used this in a while. I'll talk to some more people to see what they think.
I got some feedback, and we all agreed, that you are correct. So a patch would be great. Either copy the files to tmpdir()/<something>
or use mountpath()
directly if no extra files are specified. Make sure the path is unique (maybe rauc-<image-name>
or something like that, to ensure that creating two rauc bundles at the same time works as well.
When using a
vfat
image, I can add afiles { ... }
directive that overrides themountpoint
setting and only includes the specified files:But when I try the same thing with a
rauc
image, the generated bundle does not excluderootpath
files; rootfs.squashfs is alongside /bin, /etc, etc. This effectively doubles the size of the image.I can work around this behavior by running this configuration separate from all my other ones, and specifying an empty
rootpath
. But I expectedfiles
to work the same as invfat
. Is this intended behavior or a bug?