09-11-2023, 10:34 PM
(09-11-2023, 08:37 PM)TheOldPresbyope Wrote: Home again.
To anwser my own question, I downloaded the moode-player .deb file and asked dpkg-deb to list its contents
Code:moody@moode:~ $ dpkg-deb -c moode-player_8.3.6-1moode1_all.deb
...
drwxr-xr-x 0/0 0 2023-09-05 13:50 ./home/
drwxr-xr-x 0/0 0 2023-09-05 13:50 ./home/pi/
-rwxr-xr-x 0/0 1218 2023-09-05 13:50 ./home/pi/.xinitrc
-rwxr-xr-x 0/0 4681 2023-09-05 13:50 ./home/pi/.dircolors
-rwxr-xr-x 0/0 1388 2023-04-06 12:40 ./home/pi/piano.sh
...
and, yes, those files are now present in both /home/moody and /home/pi. /home/moody contains a few more, of course, because that's my home directory as user "moody".
Regards,
Kent
Indeed, when the ISO image is built or an in-place update is performed the moode-player package install will create /home/pi and its contents. This is not a problem when a fresh image is prepped using Pi Imager because the imager first-boot script will rename the 'pi' subdirectory to whatever the user chooses as userid.
I think this can be addressed in the package postinstall.sh script in the on_upgrade() section.
I'll add to the TODO list.