Joseph VLcek wrote: > Karen, > > Using /tmp for temporary working files might not be a good approach for > some users. > > Maybe it would be better to provide a user configurable env var in the > .config file (test_data/test1.conf) > > For example: > > # > # Path where temporary files will be written > # > DIST_TMP=/export/home/tmp_dir > > or > > DIST_TMP=/tmp > > or wherever the user wants them to go. > Hi Joe,
Thanks for your code review. The /tmp that's being discussed here is for the output of the postinstall scripts, not the tmp dir used in the overall image construction process. The Distro Constructor code was not cleaning up the tmp dir it used for the image construction process. That's fixed now. So, you won't see your /tmp dir fill up anymore. We can definitely add a config variable, but we are just trying it simplify the number of input parameters. If there's a need, we can add it easily in the future. Thanks, --Karen
