Run setup script in init hook? #1250
Unanswered
alexispurslane
asked this question in
Q&A
Replies: 3 comments
|
You don't need to recreate your script line-by-line using According to https://distrobox.it/#configure-distrobox Lines 415 to 420 in 4c38d6b |
0 replies
|
You can use --volume option to make the script available inside distrobox. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I have a setup script that compiles a couple packages I need from source and installs them, clones my dotfiles and unstow's them, builds doom emacs, etc, and I'd like to make that script an init hook in my
distrobox.iniso that when I rundistrobox assemble createit runs those steps as part of the process of creating my development environment container, after all the packages have installed.I've tried putting each of the commands in the set up script individually in init_hooks, but for some reason it kept failing (something to do with the way init_hooks are parsed and combined), so I'd really like to have them bundled up in a discrete script instead, so that they're executed correctly. Is there any way to make that script accessible to a distrobox's init hooks?
All reactions