Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: No more display after in-place update
#17
(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.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
No more display after in-place update - by romain - 09-08-2023, 12:25 PM
No more display after in-place update - by romain - 09-09-2023, 11:04 AM
RE: No more display after in-place update - by Tim Curtis - 09-11-2023, 10:34 PM

Forum Jump: