03-10-2023, 11:54 AM
(03-10-2023, 08:22 AM)Nutul Wrote:(03-10-2023, 07:41 AM)the_bertrum Wrote: Thanks for the explanation Tim, all very clear now.
Out of interest how is this fact:
(03-09-2023, 11:52 AM)Tim Curtis Wrote: Note that the userid pi should not be renamed because there are still a few hard coded "/home/pi" paths left in the code. A future release will address this :-)dealt with on new systems where the default user is specified? Is there still a /home/pi created even without a pi user?
This is the main issue: since there are hardcoded references to /home/pi, and from now on such user is not automatically created, it should be specified so with the installer, otherwise such folder won't be found... until we eventually remove all such entries, and replace them with "~/".
At least this is how I understand it...
See post number 10 regarding presence of /home/pi on the ISO image.
A global search of the code base listed only 22 occurrences of /home/pi and most of them are used in paths to various moOde log files for example /home/pi/autocfg.log. These can just be replaced by the standard /var/log directory.
The remaining few that reference things like scripts for example /home/pi/.xinirc can be replaced by the environment variable HOME or possibly ~/ but I think ~ can't be used in certain circumstances.
In either case its something that wait for a post r830 release.