Commit Graph

50 Commits

Author SHA1 Message Date
Jeremy Soller 7c5236fe35 0.2.5 - update dependencies and prepare for publishing 2019-11-29 10:09:27 -07:00
Jeremy Soller 3b0f59cbb0 Copy include, lib, and pkg 2019-09-22 10:58:55 -06:00
Jeremy Soller cd9e026705 Fix issue of trying to run read_dir on disk/live: 2019-09-22 10:06:25 -06:00
Jeremy Soller 9ff577792b Disable creation of liner context - it causes installer_tui to lock 2019-09-22 09:27:27 -06:00
Jeremy Soller fbfc4edf6f Add message when installer is successful 2019-09-19 21:22:05 -06:00
Jeremy Soller 505dec6069 Optimized file copy 2019-09-19 19:39:53 -06:00
Jeremy Soller 89dcc2c060 Add unmounting message 2019-09-15 13:31:59 -06:00
Jeremy Soller 7ef2567da6 Copy locally installed package files 2019-09-15 13:14:46 -06:00
Jeremy Soller 5762840f79 Installer TUI (WIP) 2019-09-08 20:47:05 -06:00
Jeremy Soller 39d68618ca Switch to using rust-argon2 crate, which is more actively maintained 2019-09-08 08:59:50 -06:00
Jeremy Soller acb7bced58 0.2.4 - allow empty configuration sections and update dependencies 2019-06-10 17:31:44 -06:00
Jeremy Soller f30987b1e5 0.2.3: Update dependencies 2019-05-12 08:34:49 -06:00
Jeremy Soller 713359252a 0.2.2 - fix cargo doc 2019-05-12 08:15:18 -06:00
Jeremy Soller 8e88231ede Update for newer rust 2019-04-07 10:36:45 -06:00
Robin Randhawa 78e9f77950 Get TARGET from the environment
This enables flexible cross-installation of packages as opposed to only
compiling for the x86_64-unknown-redox target.

This also permits native builds.
2019-03-01 21:02:10 +00:00
Jeremy Soller 49b7a5f427 Fix types when compiling for Redox 2018-08-19 12:33:51 -06:00
Jeremy Soller 33fa0af521 Fix uid and gid unwrap 2018-08-17 19:59:22 -06:00
Jeremy Soller 91c303df7d Do not set uid or gid if not asked to 2018-08-17 19:34:29 -06:00
MggMuggins 03cae0ca37 Implement shadowfile 2018-08-17 17:26:11 -05:00
MggMuggins 66b24d1116 Support Directories 2018-07-28 10:41:39 -05:00
MggMuggins e58815f89c Rudimentary support for permissions
I sorta OOP'ed this, combining the logic of what needs to happen for
each config object with those objects. More things are coming, this is a
very WIP commit.
2018-07-27 10:55:11 -05:00
MggMuggins ce6e96bd20 Major Refactor; Create passwd hashes
Maybe some of the refactoring things I did don't make much sense, but I
did them. The goal was to get rid of those macros (because macro
definitions are really hard to read). I replaced two of them with very
similar functions, and rearranged the `install` function.

The installer now generates password hashes from the password entered by
the user or listed in the toml file. This value is NO LONGER the
password hash. The example configs have been changed to reflect this.
2018-07-26 14:58:14 -05:00
MggMuggins 80add18dc9 Functional Partial rewrite 2018-07-26 12:43:57 -05:00
Ivan Chebykin 681fd3d0ef Migrated to redox_users 2017-11-11 22:12:55 +03:00
Jeremy Soller a01dc9f37a Switch to arg_parser 2017-09-27 20:53:13 -06:00
Jeremy Soller a82a577180 Change format of installer arguments 2017-09-26 20:52:54 -06:00
Jeremy Soller 093ae7de55 Fix method of adding scheme 2017-08-23 20:29:27 -06:00
Jeremy Soller 25d6a0fec4 Add scheme to paths 2017-08-23 20:16:45 -06:00
Ian Douglas Scott a4adb124d0 Support adding symlinks in configuration
I'm not sure if this is the best syntax...
2017-08-21 13:24:36 -07:00
Ian Douglas Scott e47108a70e --list-packages argument 2017-07-10 20:04:06 -07:00
Jeremy Soller af1dd3b9fd Use .tar.gz for packages 2017-06-18 15:14:51 -06:00
Jeremy Soller 31a60eb8a3 Update for new location of script 2017-05-11 20:52:42 -06:00
Jeremy Soller 318e7bb89f Merge commit '8d6a4d7' 2017-05-10 21:38:17 -06:00
Jeremy Soller 8d6a4d7071 Add RedoxFS as submodule. Do not create passwd if no users are provided 2017-05-10 21:38:05 -06:00
Jeremy Soller 7e9f15e54f Print message when installing from cookbook 2017-05-08 21:20:15 -06:00
Ian Douglas Scott 160a793017 Update for pkgutils refactoring 2017-04-25 21:57:04 -07:00
Ian Douglas Scott bb94edcb15 Support building directly from cookbook with --cookbook= 2017-04-09 10:11:49 -07:00
Ian Douglas Scott e2aa3c3032 Move package installing logic to function 2017-04-09 09:19:24 -07:00
Ian Douglas Scott bb56cee678 Let pkgutils handle downloading and extracting package 2017-04-09 09:06:07 -07:00
Jeremy Soller 4e9d22ada4 Fix installer paths 2017-04-07 19:57:00 -06:00
Jeremy Soller cfdb2a4968 Log creation of parent dirs 2017-01-09 22:29:03 -07:00
Jeremy Soller be092f3754 Create parent directories 2017-01-09 22:16:47 -07:00
Jeremy Soller eb2c0aafd4 Fix package loop 2017-01-09 22:11:11 -07:00
Jeremy Soller 5303301d3d Download packages from repo 2017-01-09 19:25:58 -07:00
Jeremy Soller 9125d089fb Add package extraction 2017-01-09 19:03:54 -07:00
Jeremy Soller aeb9f89ec1 Fix prompt macro, add ability to insert files in config 2017-01-09 16:05:27 -07:00
Jeremy Soller 7d5baf798e Macros 2017-01-09 15:41:40 -07:00
Jeremy Soller a56ec333ae Add sysroot config 2017-01-09 15:23:30 -07:00
Jeremy Soller 961983e788 Cleanup prompt macros 2017-01-09 14:46:21 -07:00
Jeremy Soller f666d06485 User configuration 2017-01-09 14:35:33 -07:00