-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra docs on exactly where to start installing things? #36
Comments
Looking at #37 to install some NPM stuff... |
Aha, sorry, so i think we need to separately document where to put things on initial install, vs. on each startup. Maybe we ought to actually make 2 files, called |
We have two scripts, one runs outside the chroot as the build system (build.sh) and the other inside chroot (chroot-script.sh). Both run as root. The appropriate place to install git and npm etc is |
OK, and the place to put things to run on boot would be in a crontab,
potentially? Thanks!
…On Mon, Oct 22, 2018 at 11:16 PM Sebastian Silva ***@***.***> wrote:
We have two scripts, one runs *outside* the chroot as the build system
(build.sh) and the other inside chroot (chroot-script.sh). Both run as
root. The appropriate place to install git and npm etc is chroot-script.sh
.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ0x-avlt_zp9js4CXVHrGl_WDzILks5unooDgaJpZM4X0UNV>
.
|
Oh, yes, I should add these questions to the docs. The canonical way to run stuff on boot is to add them to |
In the Camera PR I had to add an empty rc.local because the install script will modify it https://github.com/publiclab/pi-builder/pull/13/files#diff-25aa350b8efc5496496765f60725aa9c |
The general architecture is that files under |
awesome, thanks!!!
…On Wed, Oct 24, 2018 at 1:45 PM Sebastian Silva ***@***.***> wrote:
The general architecture is that files under /builder/files get copied
over to the final image (before chroot script is run).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#36 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ26inE8fasQnbue-NZVUbOI6M9M0ks5uoKcegaJpZM4X0UNV>
.
|
I see this line is where some PRs start to make changes:
pi-builder/builder/chroot-script.sh
Line 207 in f9481e4
Should we put some comment there and delineate an area where it's ideal to start installing scripts and running
git
ornpm
? I assume git is installed, is npm too?Thank you!
The text was updated successfully, but these errors were encountered: