summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* session_end(): Don't lock mutex if we have itP. J. McDermott2014-10-071-2/+5
|
* mutex_is_unlockable(): New functionP. J. McDermott2014-10-071-0/+7
|
* session_begin(): Check for /prokit/installingP. J. McDermott2014-10-075-4/+8
|
* cmd/install: Make /prokit and /prokit/installingP. J. McDermott2014-10-071-1/+4
|
* session_begin(): Make /prokit if it doesn't existP. J. McDermott2014-10-071-0/+2
|
* opkg_install_all(): Switch to using sessionsP. J. McDermott2014-10-071-2/+4
|
* cmd/build: Split heredoc into up to three shellsP. J. McDermott2014-10-071-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 generationP. J. McDermott2014-10-071-14/+13
|
* cmd/build: Switch to using sessionsP. J. McDermott2014-10-071-27/+14
|
* session: Run commands in a "wd" subdirectoryP. J. McDermott2014-10-061-3/+5
|
* session_dir(): New functionP. J. McDermott2014-10-061-0/+6
|
* cmd/shell: Drop unnecessary variable.P. J. McDermott2014-10-051-2/+0
|
* cmd/opkg: Switch to using sessionsP. J. McDermott2014-10-051-2/+4
|
* 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_exec(): New functionP. J. McDermott2014-10-051-0/+14
|
* session: Bind mount a dir to the session dirP. J. McDermott2014-10-052-20/+15
|
* profile_bind_*mount(): New functionsP. J. McDermott2014-10-052-0/+50
|
* cmd/shell: Switch to using sessionsP. J. McDermott2014-10-051-3/+3
|
* session_begin(): Fix a function callP. J. McDermott2014-10-051-1/+2
|
* session_*(): New functionsP. J. McDermott2014-10-042-0/+135
|
* profile_file_systems_mounted(): New functionP. J. McDermott2014-10-042-0/+18
|
* mutex_*(): New functionsP. J. McDermott2014-10-042-0/+51
|
* profile/proteanos: Update list of mirrorsP. J. McDermott2014-10-011-2/+5
|
* prof_proteanos_include_pkg(): Drop Package checkP. J. McDermott2014-09-241-8/+0
| | | | | Updated linux-image packages with "Essential: yes" have been uploaded and will be in the archive and mirrors soon.
* cmd/build: Drop handling of old opkbuildP. J. McDermott2014-09-241-54/+2
|
* prof_proteanos_include_pkg(): Drop more packagesP. J. McDermott2014-09-241-7/+2
| | | | | busybox now depends on libc.6, and Essential config-base packages now exist and depend on proteanos-branding.
* package_2_set_substvars(): Fix parse_control callP. J. McDermott2014-09-231-1/+1
|
* 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.
* package_2_set_substvars(): Fix parse_control callP. J. McDermott2014-09-231-1/+1
|
* prof_proteanos_include_pkg(): Drop base-filesP. J. McDermott2014-09-231-2/+1
| | | | base-files is marked "Essential: yes" as of version 1.0.3.
* profile_get_os_release(): DropP. J. McDermott2014-09-232-32/+0
| | | | base-files provides this as of version 1.0.3.
* 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
|
* get_options(): Return 1 on illegal optionP. J. McDermott2014-09-021-0/+2
|
* 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
|
* profile/proteanos: Add a big TODO commentP. J. McDermott2014-09-011-0/+8
|
* cmd/build: Declare a variable as localP. J. McDermott2014-09-011-0/+1
|
* cmd/shell: Accept command argumentsP. J. McDermott2014-09-011-4/+9
|
* set_substvar(): Warn, don't error, on bad nameP. J. McDermott2014-09-011-1/+2
|
* set_substvar(): Use printf instead of echoP. J. McDermott2014-09-011-1/+1
|
* substvars: Pass argument to errorP. J. McDermott2014-09-011-1/+1
|
* substvars: Fix function namesP. J. McDermott2014-09-011-1/+1
|
* substvars: Fix an eval commandP. J. McDermott2014-09-011-1/+1
|
* substvars: Use printf instead of echoP. J. McDermott2014-09-011-1/+1
|
* substvars: Fix an eval commandP. J. McDermott2014-09-011-1/+1
|
* package/2: Fix function nameP. J. McDermott2014-09-011-2/+2
|
* substvars: Set max depthP. J. McDermott2014-09-011-1/+3
|