summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* cmd/installer-pc: Verify block dev before dd/fdiskP. J. McDermott2015-05-251-0/+1
|
* Merge branch 'feature/block-device-mounting' into feature/installer-integrationP. J. McDermott2015-05-253-8/+72
|\ | | | | | | | | Conflicts: locale/en_US.sh
| * check_block(): New functionP. J. McDermott2015-05-251-2/+9
| |
| * lib/block.sh: Fix error()/get_msg() callsP. J. McDermott2015-05-251-4/+4
| |
| * block_mount(): Use get_vardata_dir()P. J. McDermott2015-05-251-2/+2
| |
| * lib/vardata.sh: New fileP. J. McDermott2015-05-252-0/+57
| |
* | cmd/installer-pc: Fix old variable namesP. J. McDermott2015-05-251-1/+1
| |
* | cmd/installer-pc: Fix variable namesP. J. McDermott2015-05-251-2/+2
| |
* | cmd/installer-pc: Mount partition, not deviceP. J. McDermott2015-05-251-1/+1
| |
* | get_options(): Use ${running_cmd_clean}P. J. McDermott2015-05-251-3/+3
| |
* | run_cmd(): Set new running_cmd_clean variableP. J. McDermott2015-05-251-0/+3
| |
* | cmd/installer-pc: New commandP. J. McDermott2015-05-242-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 variablesP. J. McDermott2015-05-241-3/+0
| |
* | lib/install.sh: Rename message stringsP. J. McDermott2015-05-241-14/+14
| |
* | install_system(): Move "use profile"P. J. McDermott2015-05-241-1/+1
| |
* | install_system(): Take ${foreign} argumentP. J. McDermott2015-05-242-1/+2
| |
* | cmd/install: Drop default arch/plat/mirror settingP. J. McDermott2015-05-241-25/+3
| |
* | install_system(): Set arch, plat, & mirror if nullP. J. McDermott2015-05-241-0/+18
| |
* | cmd/install: Use install_system()P. J. McDermott2015-05-241-218/+2
| |
* | lib/local.mk: Add lib/install.shP. J. McDermott2015-05-241-1/+2
| |
* | lib/install.sh: Rename variables and functionsP. J. McDermott2015-05-241-30/+30
| |
* | lib/install.sh: Copy more from lib/cmd/install.shP. J. McDermott2015-05-241-0/+200
| |
* | install_system(): New functionP. J. McDermott2015-05-241-0/+53
|/
* cmd/install: use blockP. J. McDermott2015-05-241-0/+1
|
* cmd/build: Accept block device as rootP. J. McDermott2015-05-241-1/+14
|
* cmd/install: Initialize ${dev}P. J. McDermott2015-05-241-0/+1
|
* cmd/install: Accept block device as rootP. J. McDermott2015-05-241-0/+10
|
* cmd/opkg: Accept block device as rootP. J. McDermott2015-05-241-0/+12
|
* cmd/shell: Accept block device as rootP. J. McDermott2015-05-241-0/+12
|
* lib/block.sh: New fileP. J. McDermott2015-05-242-0/+86
|
* prof_proteanos_configure_system_foreign(): Wrap long lineP. J. McDermott2014-12-031-1/+2
|
* prof_proteanos_configure_system_native(): Check platP. J. McDermott2014-12-031-3/+7
| | | | | Don't enable services on dev. Set hostname to "proteanos" on non-dev platforms.
* profile_configure_system_*(): Pass arch and platP. J. McDermott2014-12-033-4/+12
|
* 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
|
* profile/proteanos: Write /etc/groupP. J. McDermott2014-10-131-0/+4
| | | | Two of libarchive's unit tests fail without this file.
* lib/chroot.sh: RemoveP. J. McDermott2014-10-082-83/+0
| | | | Replaced by lib/session.sh.
* 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
|