Commit Graph

13 Commits (e91848dfd590663f8a034e12cc4676bd0ef7154c)

Author SHA1 Message Date
Joerg Fiedler 44bfca315a add chroot flag to pkgng in order to allow installation of packages into chroot environments, e.g. jails (#1218) 9 years ago
Michael Scherer 2e8cd5cd74 Use type 'path' for rootdir, for pkgng 9 years ago
Toshio Kuratomi d6af6f8477 Update for modules which import json.
Some do not use the json module directly so don't need import json.
Some needed to fallback to simplejson with no traceback if neither was installed

Fixes #1298
9 years ago
Toshio Kuratomi 8e0a2ed729 Make the pkg/name param into a list so that changes to make changes to _squash_items easier 9 years ago
mahadeva604 c3a0a3376a Merge https://github.com/ansible/ansible-modules-extras into devel
Conflicts:
	packaging/os/pkgng.py
9 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 9 years ago
Toshio Kuratomi 88eff11c04 Many more doc fixes 9 years ago
Greg DeKoenigsberg 9501714b8b Adding author's github id 9 years ago
Matt Martz e568032bc3 Fix up modules that have python24 syntax error 10 years ago
Charlie Root fbd8c6b398 Add rootdir option to pkgng 10 years ago
Matthew Pherigo e909beb653 Make $BATCH=yes the default, remove module option 10 years ago
Matthew Pherigo 8ecb023939 pkgng: add 'batch' parameter
Some packages attempt to prompt the user for certain settings during
installation. Thus, this parameter sets the environment variable
$BATCH to 'yes', which forces package installation scripts to accept
default values for these interactive prompts. This should work for all
prompts that have a default value and aren't implemented through a
custom script (as this variable is built into the ports/package system).

FIXME: Package install should fail if it prompts and batch isn't set;
currently, the install hangs indefinitely.
TODO: Allow user to specify the answers to certain prompts.

I (github.com/mwpher) have NOT tested this with any packages besides
bsdstats. It's a small improvement, but not a complete answer to all
the complexities of package installation.
10 years ago
Michael DeHaan 7e6fc7023d Reorganization. 10 years ago