Commit Graph

46 Commits

Author SHA1 Message Date
Piotr Wójcik 2acf506d16 Add missing password field in /etc/group 2024-03-25 19:34:22 +01:00
Jeremy Soller dbfdd417f1 Remove file: prefix from /etc/passwd 2024-01-18 13:43:20 -07:00
bjorn3 09da116ccd Move /etc/group generation to the installer
This ensures that the gid's for the auto-generated user groups stay in
sync with the gid in /etc/passwd. It also makes it easier to evolve the
format of /etc/group in the future.
2024-01-06 17:24:48 +01:00
Jeremy Soller 6f40e32d49 Make general.prompt optional 2024-01-04 11:54:48 -07:00
bjorn3 b4f2f01d73 Create symlinks before installing packages
This allows redirecting the location packages are installed using
symlinks. This makes it much easier to change the filesystem hierarchy
by not having to change every recipe in the cookbook.
2023-12-29 15:16:56 +01:00
Jeremy Soller 39f4b1c8b6 Make bootloader install directory per-process 2023-12-13 14:11:09 -07:00
Jeremy Soller ba2fc38a3f Remove temporary mount directory 2023-12-13 14:10:56 -07:00
Jeremy Soller cf9e2c9719 Use per-process mount path 2023-12-12 11:11:17 -07:00
Ivan Tan cbdea61a61 add option for variable size of EFI system partition 2023-11-18 02:50:06 +00:00
Ron Williams 2b34b31956 Allow package spec "binary" or "recipe" to override REPO_BINARY=0 or REPO_BINARY=1 2023-11-04 18:33:52 +00:00
Will Angenent 46e14ea06f Update installer to use redoxfs unmount function
This fixes completing the image build on gentoo and MacOS.
2023-04-01 20:57:43 +01:00
Ron Williams b23b2f6e5d fix mixed build in a new clone 2023-03-09 21:17:13 -08:00
Ron Williams 1411257784 add ability to read package = recipe from filesystem config 2023-03-08 14:18:45 -08:00
andrewdavidmackenzie 257020852d Remove unused imports and function 2023-02-24 22:48:17 +01:00
Jeremy Soller f710fa79db Recursively set permissions on home directories 2022-11-21 14:55:08 -07:00
Jeremy Soller b724e714d3 Move EFI partition to second megabyte 2022-09-21 14:42:45 -06:00
Jeremy Soller c6d7cf16e1 Fix EFI partition alignment 2022-09-21 13:54:14 -06:00
Jeremy Soller fa836008c0 Rely on packages being built prior to installer running 2022-09-12 07:32:24 -06:00
Jeremy Soller 8d2d4cd62d Add disk wrapper to ensure block aligned I/O 2022-09-07 10:29:15 -06:00
Jeremy Soller 9666c62036 Fix copying EFI partition message 2022-09-07 09:55:02 -06:00
Jeremy Soller f103b5c4b9 Fixup for last commit 2022-09-07 09:48:12 -06:00
Jeremy Soller 4b1df136a6 Write BIOS and EFI partitions in memory 2022-09-07 09:45:27 -06:00
Jeremy Soller ddf59d8c7d Print debug messages while doing partitioning 2022-09-07 09:02:06 -06:00
Jeremy Soller c3e679d5f1 Fix 32-bit x86 target name 2022-09-05 10:51:13 -06:00
Jeremy Soller ad11b2adb2 Ensure config and cookbook key are installed 2022-09-05 09:55:15 -06:00
Jeremy Soller e8e4687c05 Pass live argument from CLI to library 2022-09-05 09:10:46 -06:00
Jeremy Soller 1ecb9b49fc Support fetching live bootloader 2022-09-05 09:07:40 -06:00
Jeremy Soller f1a806b288 0.2.11 - allow installer to create full disk installs supporting both BIOS and EFI 2022-09-05 08:58:53 -06:00
Jeremy Soller f8ec4d28bc Ensure pkg folder exists 2022-03-23 15:04:53 -06:00
Jeremy Soller e666636ab7 Create pkgar_head files when installing 2022-03-23 13:53:10 -06:00
Jeremy Soller 9ea9a6ecac 0.2.10: update pkgar 2022-03-17 16:35:15 -06:00
Jeremy Soller 3c03576518 0.2.9: add tests and make it possible to install to disk 2022-03-17 08:50:01 -06:00
Jeremy Soller c22b1cf71b Add cookbook pkgar support 2020-03-13 20:04:43 -06:00
Jeremy Soller 7c5236fe35 0.2.5 - update dependencies and prepare for publishing 2019-11-29 10:09:27 -07: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 39d68618ca Switch to using rust-argon2 crate, which is more actively maintained 2019-09-08 08:59:50 -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
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
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
Jeremy Soller 5303301d3d Download packages from repo 2017-01-09 19:25:58 -07:00
Jeremy Soller f666d06485 User configuration 2017-01-09 14:35:33 -07:00