Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'feature/block-device-mounting' into feature/installer-integration | P. J. McDermott | 2015-05-25 | 3 | -8/+72 |
|\ | | | | | | | | | Conflicts: locale/en_US.sh | ||||
| * | check_block(): New function | P. J. McDermott | 2015-05-25 | 1 | -2/+9 |
| | | |||||
| * | lib/block.sh: Fix error()/get_msg() calls | P. J. McDermott | 2015-05-25 | 1 | -4/+4 |
| | | |||||
| * | block_mount(): Use get_vardata_dir() | P. J. McDermott | 2015-05-25 | 1 | -2/+2 |
| | | |||||
| * | lib/vardata.sh: New file | P. J. McDermott | 2015-05-25 | 2 | -0/+57 |
| | | |||||
* | | 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 |
| | | |||||
* | | get_options(): Use ${running_cmd_clean} | P. J. McDermott | 2015-05-25 | 1 | -3/+3 |
| | | |||||
* | | run_cmd(): Set new running_cmd_clean variable | P. J. McDermott | 2015-05-25 | 1 | -0/+3 |
| | | |||||
* | | 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 |
| | | |||||
* | | lib/install.sh: Rename message strings | P. J. McDermott | 2015-05-24 | 1 | -14/+14 |
| | | |||||
* | | install_system(): Move "use profile" | P. J. McDermott | 2015-05-24 | 1 | -1/+1 |
| | | |||||
* | | install_system(): Take ${foreign} argument | P. J. McDermott | 2015-05-24 | 2 | -1/+2 |
| | | |||||
* | | cmd/install: Drop default arch/plat/mirror setting | P. J. McDermott | 2015-05-24 | 1 | -25/+3 |
| | | |||||
* | | install_system(): Set arch, plat, & mirror if null | P. J. McDermott | 2015-05-24 | 1 | -0/+18 |
| | | |||||
* | | cmd/install: Use install_system() | P. J. McDermott | 2015-05-24 | 1 | -218/+2 |
| | | |||||
* | | lib/local.mk: Add lib/install.sh | P. J. McDermott | 2015-05-24 | 1 | -1/+2 |
| | | |||||
* | | lib/install.sh: Rename variables and functions | P. J. McDermott | 2015-05-24 | 1 | -30/+30 |
| | | |||||
* | | lib/install.sh: Copy more from lib/cmd/install.sh | P. J. McDermott | 2015-05-24 | 1 | -0/+200 |
| | | |||||
* | | install_system(): New function | P. J. McDermott | 2015-05-24 | 1 | -0/+53 |
|/ | |||||
* | 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 |
| | |||||
* | lib/block.sh: New file | P. J. McDermott | 2015-05-24 | 2 | -0/+86 |
| | |||||
* | prof_proteanos_configure_system_foreign(): Wrap long line | P. J. McDermott | 2014-12-03 | 1 | -1/+2 |
| | |||||
* | prof_proteanos_configure_system_native(): Check plat | P. J. McDermott | 2014-12-03 | 1 | -3/+7 |
| | | | | | Don't enable services on dev. Set hostname to "proteanos" on non-dev platforms. | ||||
* | profile_configure_system_*(): Pass arch and plat | P. J. McDermott | 2014-12-03 | 3 | -4/+12 |
| | |||||
* | cmd/install: Exclude lost+found from dir check | P. J. McDermott | 2014-11-11 | 1 | -1/+1 |
| | |||||
* | dir_is_empty(): Accept exclusion arguments | P. J. McDermott | 2014-11-11 | 1 | -1/+14 |
| | |||||
* | cmd/install: Error only if root dir is not empty | P. J. McDermott | 2014-11-11 | 1 | -1/+2 |
| | |||||
* | lib/dir.sh: New file | P. J. McDermott | 2014-11-11 | 2 | -0/+47 |
| | |||||
* | profile/proteanos: Write /etc/group | P. J. McDermott | 2014-10-13 | 1 | -0/+4 |
| | | | | Two of libarchive's unit tests fail without this file. | ||||
* | lib/chroot.sh: Remove | P. J. McDermott | 2014-10-08 | 2 | -83/+0 |
| | | | | Replaced by lib/session.sh. | ||||
* | 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_end(): Block signals for func's lifetime | P. J. McDermott | 2014-10-07 | 1 | -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 signal | P. J. McDermott | 2014-10-07 | 1 | -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 callback | P. J. McDermott | 2014-10-07 | 1 | -0/+2 |
| | |||||
* | mutex_lock_timeout(): Rename to mutex_timedlock() | P. J. McDermott | 2014-10-07 | 2 | -3/+3 |
| | |||||
* | session: Handle signals | P. J. McDermott | 2014-10-07 | 1 | -0/+45 |
| | |||||
* | session_end(): Don't lock mutex if we have it | P. J. McDermott | 2014-10-07 | 1 | -2/+5 |
| | |||||
* | mutex_is_unlockable(): New function | P. J. McDermott | 2014-10-07 | 1 | -0/+7 |
| | |||||
* | session_begin(): Check for /prokit/installing | P. J. McDermott | 2014-10-07 | 5 | -4/+8 |
| |