What we would like to be able to do is create a tezi image that keeps certain user-data (configuration files, calibration data etc) intact if it is present. If this data is not present, a set of default files should be installed. We have come up with two ways of doing this:
- Use the prepare and wrapup scripts to mount the existing image, copy the user-data to a temporary location (In /var/volatile, for example) and then copy this data back after the image has been installed
- Create 2 images: one for an initial install (e.g. during production) that includes a separate partition where the set of default files are placed, and a second image for all subsequent upgrades that does not include this partition.
I was wondering, however, if Easy Installer has some standard feature to facilitate this. I’m not seeing it in the documentation so far, but maybe it does exist after all.
Thanks in advance,