Commit Graph

33 Commits

Author SHA1 Message Date
Wildan M 7a85862733 Split installer code to cargo feature 2025-11-22 09:15:25 -08:00
Wildan M ee5a94dbe4 Tidy up file config init 2025-09-26 17:26:09 +07:00
4lDO2 d85eceac71 Add support for only creating redoxfs partition installer. 2025-03-27 14:27:40 +01:00
Jeremy Soller eebccba932 0.2.26: Update to use pkgutils rewrite 2024-10-18 12:20:09 -06:00
4lDO2 098fd8bbc9 Support local binary packages. 2024-10-06 17:12:08 +02:00
4lDO2 66d66a537c Switch from failure to anyhow. 2024-10-06 13:08:17 +02:00
4lDO2 cb707c3ce4 Update edition and rustfmt. 2024-10-06 13:02:16 +02: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 6a4802d556 Add flag to print filesystem size 2024-01-04 12:18:41 -07:00
Jeremy Soller 352407371c Make general config optional 2024-01-04 11:58:21 -07:00
Jeremy Soller 6f40e32d49 Make general.prompt optional 2024-01-04 11:54:48 -07:00
bjorn3 adfee95484 Support including other config files from a config file
This will allow significantly reducing the amount of duplication
between all the different configs used by Redox OS.
2024-01-04 15:29:15 +01:00
bjorn3 1f4bbece4a Introduce Config::from_file for parsing the config toml 2024-01-04 14:54:13 +01:00
bjorn3 5cdec46800 Reserialize filesystem.toml instead of copying the original config
This will be necessary to handle including other configs from the config
to use as these configs will not be copied.
2024-01-04 14:53:05 +01: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
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
Ron Williams 1411257784 add ability to read package = recipe from filesystem config 2023-03-08 14:18:45 -08:00
Jeremy Soller f710fa79db Recursively set permissions on home directories 2022-11-21 14:55:08 -07: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 acb7bced58 0.2.4 - allow empty configuration sections and update dependencies 2019-06-10 17:31:44 -06:00
Jeremy Soller 8e88231ede Update for newer rust 2019-04-07 10:36:45 -06: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 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
Jeremy Soller a82a577180 Change format of installer arguments 2017-09-26 20:52:54 -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
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 a56ec333ae Add sysroot config 2017-01-09 15:23:30 -07:00
Jeremy Soller f666d06485 User configuration 2017-01-09 14:35:33 -07:00