Skip to content
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

supplying packages list by command line or env var rather than packages file #44

Open
adrelanos opened this issue Nov 30, 2014 · 5 comments
Labels

Comments

@adrelanos
Copy link
Contributor

I find the need for the packages file not so pretty. Could you provide an option please for a command line or environment variable that contains a space (or w/e) delimited list of packages?

Any idea how that could be implemented? It's non obvious to me, because a the packages file is copied into the chroot.

I may or may not be able to provide a pull request for adding that option.

@hartwork
Copy link
Contributor

hartwork commented Dec 2, 2014

It may be possible to use existing --debopt ... to pass --include=package1,package to debootstrap. I am not sure yet if

  • it does work and
  • if it is good enough from a user experience point of view.

@adrelanos
Copy link
Contributor Author

Should do in theory, doesn't work due to yet to be reported bugs.

@adrelanos
Copy link
Contributor Author

Should do in theory, doesn't work due to yet to be reported bugs.

Reported here:
#48

@mika mika added the wishlist label Jun 4, 2015
@mika
Copy link
Member

mika commented Jun 4, 2015

This works for the usual™ package, just tested via:

--debopt "--verbose --include=zsh"

It would be indeed nice to have the option to install further packages by a simple command line option like --include-packages=foo,bar,... and install them via apt-get/aptitude in the main grml-debootstrap run (instead of leaving that to debootstrap), if someone comes up with a PR I'd happily accept that.

@suntong
Copy link
Contributor

suntong commented Jan 23, 2020

Should be fairly simple. I can help, after/pending #148.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants