summaryrefslogtreecommitdiffstats
path: root/lib/cmd
Commit message (Collapse)AuthorAgeFilesLines
* cmd/shell: Use session_exec()P. J. McDermott2014-10-051-2/+2
| | | | | | | | | | | | | | Now command arguments are separated and escaped naturally. For example, the following commands work: $ sudo prokit shell $root printf 'arg: %s\n' foo bar arg: foo arg: bar $ sudo prokit shell $root printf 'arg: %s\n' 'foo bar' arg: foo bar $ sudo prokit shell $root printf "'ello world\n" 'ello world
* session: Bind mount a dir to the session dirP. J. McDermott2014-10-051-19/+5
|
* cmd/shell: Switch to using sessionsP. J. McDermott2014-10-051-3/+3
|
* cmd/build: Drop handling of old opkbuildP. J. McDermott2014-09-241-54/+2
|
* cmd/shell: Mount working directory within rootP. J. McDermott2014-09-231-2/+18
| | | | | This makes ProteanOS utilities like those of platconf-pkg-tools easily usable.
* cmd/install: Don't create /etc/os-releaseP. J. McDermott2014-09-231-5/+0
| | | | base-files provides this as of version 1.0.3.
* cmd/build: Add a missing printf argumentP. J. McDermott2014-09-031-1/+1
|
* cmd/install: Exit on illegal optionP. J. McDermott2014-09-021-1/+4
|
* cmd/build: Don't make builddeps dirs if no B-DP. J. McDermott2014-09-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removal of builddeps dirs only happens if there are no build dependencies. The same must be true of creation of builddeps dirs. Fixes issues like: pj@debian-x60t:~/proteanos/pkg/expat$ cat control Maintainer: "J. Random Hacker" <jrandom@example.com> # Build-Depends: opkhelper-3.0 Homepage: http://expat.sourceforge.net/ pj@debian-x60t:~/proteanos/pkg/expat$ sudo prokit build $root -b -c -T nop . opkbuild: Detecting architecture and platform... opkbuild: Making work area... opkbuild: Parsing package metadata... opkbuild: Build system: opkbuild: Architecture: i686-linux-glibc opkbuild: Platform: dev opkbuild: Host system: opkbuild: Architecture: i686-linux-glibc opkbuild: Platform: dev ob-checkbuilddeps: Checking build dependencies... ob-buildenv: Setting up build environment... ob-unpacksource: Extracting upstream source archive... ob-applypatches: No patches to be applied ob-installplatconf: No config files to be copied mv: cannot move `../root/prokit/build.1556949533/builddeps' to `./../builddeps': Directory not empty rmdir: failed to remove `../root/prokit/build.1556949533': Directory not empty
* cmd/install: Remove .prokit directory when doneP. J. McDermott2014-09-021-0/+3
|
* cmd/install: Make root dir's parent dirs as neededP. J. McDermott2014-09-021-1/+1
|
* cmd/build: Declare a variable as localP. J. McDermott2014-09-011-0/+1
|
* cmd/shell: Accept command argumentsP. J. McDermott2014-09-011-4/+9
|
* cmd/build: Set substvarsP. J. McDermott2014-09-011-0/+1
|
* package_get_build_deps(): Take arch and plat argsP. J. McDermott2014-09-011-1/+1
|
* build: use controlP. J. McDermott2014-09-011-0/+1
|
* build: Use opkbuild's optstringP. J. McDermott2014-09-011-1/+4
|
* build: Get host arch and platP. J. McDermott2014-09-011-0/+65
|
* build: Use package_get_build_deps()P. J. McDermott2014-09-011-32/+11
|
* build: Autoremove build dependenciesP. J. McDermott2014-08-291-1/+1
|
* build: Remove builddeps.opkP. J. McDermott2014-08-291-0/+1
|
* build: Parse and install build dependenciesP. J. McDermott2014-08-291-3/+37
|
* build: Make stub build dependencies packageP. J. McDermott2014-08-291-1/+27
|
* build: Move output files to parent of pkg dirP. J. McDermott2014-08-291-1/+1
| | | | Instead of the parent of the current directory.
* build: New commandP. J. McDermott2014-08-282-1/+90
|
* opkg: rm opks in just one commandP. J. McDermott2014-08-271-4/+6
|
* opkg: Only copy files that existP. J. McDermott2014-08-271-0/+4
|
* opkg: New commandP. J. McDermott2014-08-272-1/+81
|
* install: Add a TODO commentP. J. McDermott2014-08-251-0/+2
|
* install: Use -p for platform option instead of -PP. J. McDermott2014-08-251-3/+3
| | | | | In a future version of opkbuild, -p will specify a platform and -P will cause only platform-specific packages to be built.
* Fix license noticesP. J. McDermott2014-08-254-4/+4
| | | | s/the ProteanOS Development Kit program/the ProteanOS Development Kit/.
* version: Update copyright yearsP. J. McDermott2014-08-251-1/+1
|
* Improve license notices and file descriptionsP. J. McDermott2014-08-254-44/+48
|
* Update copyright yearsP. J. McDermott2014-08-241-1/+1
|
* install: Fix feed URLs in opkg.confP. J. McDermott2014-08-241-1/+1
|
* install: Don't overwrite os-releaseP. J. McDermott2014-08-221-1/+4
|
* shell: Read profile ID from os-releaseP. J. McDermott2014-08-221-2/+2
|
* install: Write /etc/os-releaseP. J. McDermott2014-08-221-0/+2
|
* install: Verify checksumsP. J. McDermott2014-08-221-0/+18
|
* Collect package checksumsP. J. McDermott2014-08-221-1/+25
|
* shell: Escalate a comment to FIXMEP. J. McDermott2014-08-211-1/+1
|
* install: Add support for "src/gz" feedsP. J. McDermott2014-08-211-3/+11
|
* install: Configure packagesP. J. McDermott2014-08-211-1/+15
|
* shell: New commandP. J. McDermott2014-08-212-1/+44
|
* install: Write status fileP. J. McDermott2014-08-211-0/+34
|
* install: Wrap a long lineP. J. McDermott2014-08-201-2/+2
|
* install: Download and unpack packagesP. J. McDermott2014-08-201-0/+42
|
* install: Save full package URLsP. J. McDermott2014-08-201-1/+4
|
* install: Write full package list to temporary fileP. J. McDermott2014-08-201-2/+4
|
* cmd_install_find_pkgs(): Resolve dependenciesP. J. McDermott2014-08-201-2/+10
| | | | Also reduce the number of open() system calls.