summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmd/install: Exclude lost+found from dir checkP. J. McDermott2014-11-111-1/+1
|
* dir_is_empty(): Accept exclusion argumentsP. J. McDermott2014-11-111-1/+14
|
* cmd/install: Error only if root dir is not emptyP. J. McDermott2014-11-111-1/+2
|
* lib/dir.sh: New fileP. J. McDermott2014-11-112-0/+47
|
* installers/pc: Add note about lilo installationP. J. McDermott2014-11-111-0/+2
|
* installers/pc: Add suites and dirs to prokit cmdsP. J. McDermott2014-11-111-3/+3
|
* installers/pc: Update own name in param expansionsP. J. McDermott2014-11-111-3/+3
|
* installers/pc: Use "@SH@" macroP. J. McDermott2014-11-111-1/+1
|
* Makefile.am: Generate installers/pc in build dirP. J. McDermott2014-11-112-1/+8
|
* installers/pc: Install liloP. J. McDermott2014-11-111-0/+12
|
* installers/pc: Drop shell call, switch to prokitP. J. McDermott2014-11-111-10/+2
|
* installers/pc: New file, copied from miniprokitP. J. McDermott2014-11-111-0/+299
|
* profile/proteanos: Write /etc/groupP. J. McDermott2014-10-131-0/+4
| | | | Two of libarchive's unit tests fail without this file.
* NEWS: Release prokit 1.1.0prokit/1.1.0P. J. McDermott2014-10-081-1/+1
|
* NEWS: Add section for 1.1.0P. J. McDermott2014-10-081-0/+32
|
* configure.ac: Set package version to 1.1.0P. J. McDermott2014-10-081-1/+1
|
* lib/chroot.sh: RemoveP. J. McDermott2014-10-082-83/+0
| | | | Replaced by lib/session.sh.
* Merge branch 'feature/sessions'P. J. McDermott2014-10-0712-99/+448
|\
| * cmd/opkg: Clean up packages before session_end()feature/sessionsP. J. McDermott2014-10-071-1/+5
| |
| * cmd/build: Drop some whitespace in option handlingP. J. McDermott2014-10-071-6/+2
| |
| * cmd/build: Factor cleanup code into sig handler cbP. J. McDermott2014-10-071-30/+42
| |
| * cmd/opkg: Factor cleanup code into sig handler cbP. J. McDermott2014-10-071-6/+14
| |
| * session_end(): Block signals for func's lifetimeP. J. McDermott2014-10-071-6/+3
| | | | | | | | | | | | | | If prokit receives a signal (e.g. the user hits Ctrl+C) while session_end() is running (e.g. while unmounting file systems), the system can be left in an unclean state (e.g. with some file systems still mounted and the sessions change mutex permanently locked).
| * error(): Die by signalP. J. McDermott2014-10-071-1/+4
| | | | | | | | | | | | | | Calling error() within a subshell will now kill the whole shell process. More importantly, session_end() will now be called if we've started a session.
| * session_end(): Run session exit callbackP. J. McDermott2014-10-071-0/+2
| |
| * mutex_lock_timeout(): Rename to mutex_timedlock()P. J. McDermott2014-10-072-3/+3
| |
| * session: Handle signalsP. J. McDermott2014-10-071-0/+45
| |
| * 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-076-4/+10
| |
| * 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
| |
| * locale/en_US: Add string from lib/session.shP. J. McDermott2014-10-041-0/+3
| |
| * 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
|/