Replies: 2 comments 1 reply
Yes, the reason we moved to /usr/local/bin was to allow the installation to be generic, and not rely on a pi user. It was reported in several articles, the default pi user is going to be deprecated in future Raspbian OSes. Thus, it was prudent to remove the dependency of a user account.
That's fine, it's not critical to have these setup initially. As you mention in the next question, we could also have a post-install script that runs and does the necessary installation steps that can't be done from a base install.
Hopefully we could run some kind of post-installation script that would be able to configure these things. PiFire could potentially trigger this if needed. |
Ahh that makes sense. In the image environment we could automatically make that user, but it would/should make sense to be agnostic.... and the image should match the installer if at all possible, so we will make it match!
As far as I know, the same from above would dictate we shouldn't use a standard user/password, but these would be set on first boot (not first log in), so unless a user changes them, should the UI be defaulted to off? Or could/should there be an initial setup wizard built into the webapp? (I would prefer to keep them as separated as possible, such that the image just runs either the latest stable or latest dev branch and has no requirements from the PiFire codebase) FWIW I had this typed within an hour of your reply, but I got distracted by something shiny. |
Uh oh!
There was an error while loading. Please reload this page.
As mentioned, I'm going to work on creating a PiFireOS image builder for Raspberry Pi images using CustomPiOS and Github actions to create nightly builds.
I had a couple of questions about the usability/install process:
/usr/local/bin. Is there any particular reasoning behind it, instead of just in the users home directory? On my Raspberry Pi, I moved everything to the/home/pidirectory then changed the paths in supervisor for the control and webapp./boot/userconf.txtfile that should set the password for an initial user, but I'm not sure how/if CustomPiOS handles thatAll reactions