Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd/shell: Use register_cmd() | P. J. McDermott | 2015-12-06 | 1 | -0/+6 |
| | |||||
* | cmd/install: Use register_cmd() | P. J. McDermott | 2015-12-06 | 1 | -0/+6 |
| | |||||
* | cmd/version: Use register_cmd() | P. J. McDermott | 2015-12-06 | 1 | -0/+6 |
| | |||||
* | cmd/help: Use register_cmd() | P. J. McDermott | 2015-12-06 | 1 | -0/+6 |
| | |||||
* | cmd/installer-pc: Require non-null -a and -p opt args | P. J. McDermott | 2015-05-26 | 1 | -2/+2 |
| | | | | | | Previously, something like the following would work: # prokit installer-pc -a '' -p '' dev/trunk /dev/sdb | ||||
* | cmd/installer-pc: Require -a and -p | P. J. McDermott | 2015-05-25 | 1 | -0/+8 |
| | |||||
* | cmd/installer-pc: Fix argument count check | P. J. McDermott | 2015-05-25 | 1 | -2/+2 |
| | |||||
* | cmd/installer-pc: Verify block dev before dd/fdisk | P. J. McDermott | 2015-05-25 | 1 | -0/+1 |
| | |||||
* | cmd/installer-pc: Fix old variable names | P. J. McDermott | 2015-05-25 | 1 | -1/+1 |
| | |||||
* | cmd/installer-pc: Fix variable names | P. J. McDermott | 2015-05-25 | 1 | -2/+2 |
| | |||||
* | cmd/installer-pc: Mount partition, not device | P. J. McDermott | 2015-05-25 | 1 | -1/+1 |
| | |||||
* | cmd/installer-pc: New command | P. J. McDermott | 2015-05-24 | 2 | -1/+94 |
| | | | | | TODO: Either throw an error if arch and plat aren't given or make them optional to enter an interactive mode. | ||||
* | cmd/install: Drop old unused variables | P. J. McDermott | 2015-05-24 | 1 | -3/+0 |
| | |||||
* | install_system(): Take ${foreign} argument | P. J. McDermott | 2015-05-24 | 1 | -1/+1 |
| | |||||
* | cmd/install: Drop default arch/plat/mirror setting | P. J. McDermott | 2015-05-24 | 1 | -25/+3 |
| | |||||
* | cmd/install: Use install_system() | P. J. McDermott | 2015-05-24 | 1 | -218/+2 |
| | |||||
* | cmd/install: use block | P. J. McDermott | 2015-05-24 | 1 | -0/+1 |
| | |||||
* | cmd/build: Accept block device as root | P. J. McDermott | 2015-05-24 | 1 | -1/+14 |
| | |||||
* | cmd/install: Initialize ${dev} | P. J. McDermott | 2015-05-24 | 1 | -0/+1 |
| | |||||
* | cmd/install: Accept block device as root | P. J. McDermott | 2015-05-24 | 1 | -0/+10 |
| | |||||
* | cmd/opkg: Accept block device as root | P. J. McDermott | 2015-05-24 | 1 | -0/+12 |
| | |||||
* | cmd/shell: Accept block device as root | P. J. McDermott | 2015-05-24 | 1 | -0/+12 |
| | |||||
* | profile_configure_system_*(): Pass arch and plat | P. J. McDermott | 2014-12-03 | 1 | -2/+2 |
| | |||||
* | cmd/install: Exclude lost+found from dir check | P. J. McDermott | 2014-11-11 | 1 | -1/+1 |
| | |||||
* | cmd/install: Error only if root dir is not empty | P. J. McDermott | 2014-11-11 | 1 | -1/+2 |
| | |||||
* | cmd/opkg: Clean up packages before session_end()feature/sessions | P. J. McDermott | 2014-10-07 | 1 | -1/+5 |
| | |||||
* | cmd/build: Drop some whitespace in option handling | P. J. McDermott | 2014-10-07 | 1 | -6/+2 |
| | |||||
* | cmd/build: Factor cleanup code into sig handler cb | P. J. McDermott | 2014-10-07 | 1 | -30/+42 |
| | |||||
* | cmd/opkg: Factor cleanup code into sig handler cb | P. J. McDermott | 2014-10-07 | 1 | -6/+14 |
| | |||||
* | session_begin(): Check for /prokit/installing | P. J. McDermott | 2014-10-07 | 3 | -3/+3 |
| | |||||
* | cmd/install: Make /prokit and /prokit/installing | P. J. McDermott | 2014-10-07 | 1 | -1/+4 |
| | |||||
* | cmd/build: Split heredoc into up to three shells | P. J. McDermott | 2014-10-07 | 1 | -10/+8 |
| | | | | | This might be slightly less efficient, but the code looks a little nicer and any whitespace in arguments to opkbuild is preserved. | ||||
* | cmd/build: Update builddeps.opk generation | P. J. McDermott | 2014-10-07 | 1 | -14/+13 |
| | |||||
* | cmd/build: Switch to using sessions | P. J. McDermott | 2014-10-07 | 1 | -27/+14 |
| | |||||
* | cmd/shell: Drop unnecessary variable. | P. J. McDermott | 2014-10-05 | 1 | -2/+0 |
| | |||||
* | cmd/opkg: Switch to using sessions | P. J. McDermott | 2014-10-05 | 1 | -2/+4 |
| | |||||
* | cmd/shell: Use session_exec() | P. J. McDermott | 2014-10-05 | 1 | -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 dir | P. J. McDermott | 2014-10-05 | 1 | -19/+5 |
| | |||||
* | cmd/shell: Switch to using sessions | P. J. McDermott | 2014-10-05 | 1 | -3/+3 |
| | |||||
* | cmd/build: Drop handling of old opkbuild | P. J. McDermott | 2014-09-24 | 1 | -54/+2 |
| | |||||
* | cmd/shell: Mount working directory within root | P. J. McDermott | 2014-09-23 | 1 | -2/+18 |
| | | | | | This makes ProteanOS utilities like those of platconf-pkg-tools easily usable. | ||||
* | cmd/install: Don't create /etc/os-release | P. J. McDermott | 2014-09-23 | 1 | -5/+0 |
| | | | | base-files provides this as of version 1.0.3. | ||||
* | cmd/build: Add a missing printf argument | P. J. McDermott | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | cmd/install: Exit on illegal option | P. J. McDermott | 2014-09-02 | 1 | -1/+4 |
| | |||||
* | cmd/build: Don't make builddeps dirs if no B-D | P. J. McDermott | 2014-09-02 | 1 | -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 done | P. J. McDermott | 2014-09-02 | 1 | -0/+3 |
| | |||||
* | cmd/install: Make root dir's parent dirs as needed | P. J. McDermott | 2014-09-02 | 1 | -1/+1 |
| | |||||
* | cmd/build: Declare a variable as local | P. J. McDermott | 2014-09-01 | 1 | -0/+1 |
| | |||||
* | cmd/shell: Accept command arguments | P. J. McDermott | 2014-09-01 | 1 | -4/+9 |
| | |||||
* | cmd/build: Set substvars | P. J. McDermott | 2014-09-01 | 1 | -0/+1 |
| |