Developers are working on a new internal golden image (NO MENDER). They have a place where user data files exists and persist. How do they make the transition from golden image (NO MENDER CLIENT or /data directory) to a Mender golden image?
Are they to create a /data directory in the internal golden image? Will that stay when making a mender golden image?
I guess the basic question can be summed up by asking… Where do developers write persistent data to on a NON MENDER image?
Hi @ryanbedford if you put the files in /data in your non-mender golden image, mender-convert will arrange for them to be in the /data partition of the converted image.
Drew
ERROR: initscripts-1.0-r155 do_package: QA Issue: initscripts: Files/directories were installed but not shipped in any package:
/data
/data/json
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
initscripts: 2 installed and not shipped files. [installed-vs-shipped]
ERROR: initscripts-1.0-r155 do_package: Fatal QA errors found, failing task.
ERROR: Logfile of failure stored in: /home/herodev/hero-yocto-mender/build/tmp/work/hero_secc-poky-linux-gnueabi/initscripts/1.0-r155/temp/log.do_package.16886
ERROR: Task (/home/herodev/hero-yocto-mender/sources/poky/meta/recipes-core/initscripts/initscripts_1.0.bb:do_package) failed with exit code '1'