Commit Graph

1392 Commits

Author SHA1 Message Date
Anton Hvornum 0dfc0d6195 Fixed so that partition listing doesn't overwrite on each request, ruining some checks down the line if the filesystem has been formatted or not 2020-07-06 16:23:23 +02:00
Anton Hvornum 94f8d90121 Added a PArtition() class that supports mounting and formatting. Also reworked the installation flow a bit to be a bit more clear while sacrificing some automation. Maybe I'll revert some changes and 'automatically' do certain things, but for now this shouldn't impact anyone to much 2020-07-06 15:46:19 +02:00
Anton Hvornum f0bc987e1b
Update README.md 2020-07-01 08:54:14 +02:00
Anton Hvornum c986ffd409
Update README.md 2020-06-30 22:10:32 +02:00
Anton Hvornum 568acc4a87
Update README.md 2020-06-30 22:02:46 +02:00
Anton Hvornum 9ea9589042
Update README.md 2020-06-30 21:51:41 +02:00
Anton Hvornum 0399df8c25 Working partition and encryption+mount phase. Now to the installer and re-work that. 2020-06-30 21:22:28 +00:00
Anton Hvornum 067b31b1aa
Update README.md 2020-06-29 12:28:35 +02:00
Anton Hvornum 5ae18b80fd Starting to rework the entire codebase to be context friendly. Annotations is next after one successful install. 2020-06-29 08:55:25 +00:00
Anton Hvornum 89ecdee763
Update README.md 2020-06-28 18:35:03 +02:00
Anton Hvornum 0bff213f75
Added a new logo 2020-06-28 16:34:05 +00:00
Jay Bent 6c484a6b3f Fixed typo breaking local profiles 2020-04-03 13:57:13 +02:00
Anton Hvornum de3c865a04 Debugging 2020-03-16 23:48:07 +01:00
Anton Hvornum e39e8014a9 More debugging 2020-03-16 21:15:50 +01:00
Anton Hvornum e0f1e1b5fd Trying to weed out dual logging. 2020-03-16 20:49:15 +01:00
Anton Hvornum 0e8bbb946d Enhanced debug message. 2020-03-16 20:42:13 +01:00
Anton Hvornum 5d39c4b5c5 Added argument passing for set_locale() 2020-03-16 18:09:19 +01:00
Anton Hvornum 20d64e445a Fixing a more transparent argument passing all the way down to the actual command begin executed. Hoping this will enable better error output in the future 2020-03-16 17:51:13 +01:00
Anton Hvornum 940869da6c Fix for previous commit, indent issue and a missing else 2020-03-16 17:22:42 +01:00
Anton Hvornum cab78fee0a New feature: input_redirect in cleanup_args(). Since this function might be run from outside a tty, there's no way to get input. So an external input handler is required. This enables that functionality. Also some cleanup to get_instructions so that we can load them from some where else in the future. 2020-03-16 17:20:26 +01:00
Anton Hvornum 113c7c23b0 Moved set_locale() from configure_base_system as it is its own step in a way. 2020-03-16 16:28:10 +01:00
Anton Hvornum 9aebd49fdb Adding more debug output. 2020-03-16 15:20:18 +01:00
Anton Hvornum 3393c94f08 New function: add_custom_mirror(). Adds a custom mirror to /etc/pacman.conf with SigLevel set to Optional and TrustAll by default. 2020-03-16 15:06:36 +01:00
Anton Hvornum b5a9702230 New function: prerequisit_check(). Moved the exit-if-not-uefi logic into a function instead of hard-crashing whoever imports the library. This way tho, it's up to the user to run the check. TODO: Add a warning message if the function isn't run beforehand. 2020-03-16 11:46:57 +01:00
Anton Hvornum f800d44b2d New function: create_user(). Simple user creations, not many options for now. 2020-03-16 11:14:33 +01:00
Anton Hvornum ef088bc624 New function: set_locale(). Takes a format string of either a full locale-gen valid format such as 'en_US.UTF-8 UTF-8' or a shortened version 'US'. Currently only 'SE' is implemented tho.' 2020-03-16 10:31:42 +01:00
Anton Hvornum 2f283a4338 Changed client to worker, more correct. 2020-03-15 20:45:56 +00:00
Anton Hvornum 4e04badd65 Added a client field in kwargs, used when pushing on_output. 2020-03-15 20:33:01 +00:00
Anton Hvornum 3c0963a0a1 Added a new feature: on_output in sys_command. Passing a on_output function to sys_command forces it to send each output block to the callback. Useful to create progressbars etc. 2020-03-15 19:05:55 +00:00
Anton Hvornum 93780ba888 Added new function: set_password(). Sets a password for a given username. 2020-03-15 18:04:25 +00:00
Anton Hvornum fe69d970a3 Added somre more error handling and removed potentially unessecary code. 2020-03-15 17:32:04 +00:00
Anton Hvornum 2a3aa2738d New function: reboot(). Does what you think it does. Also does a sync tho just to be safe. 2020-03-15 16:29:41 +00:00
Anton Hvornum 4223631b80 Added more log entries to commandlog. 2020-03-15 16:13:40 +00:00
Anton Hvornum e9aadfa29b Added a new function: flush_all_mirrors(). Can be used to wipe default mirrors prior to adding specific ones. 2020-03-15 15:37:33 +00:00
Anton Hvornum 13a44243a8 Added a SAFETY_LOCK on a bunch of functions. 2020-03-15 15:33:49 +00:00
Anton Hvornum 7684ea1304 New function: add_specific_mirrors(). Adds specific mirrors by converting {url: country} into '# country\nServer = url' in /etc/pacman.d/mirrorlist. This can be done after filter_mirrors_by_country_list(). 2020-03-15 15:30:38 +00:00
Anton Hvornum 91da324df0 Error check on get_instructions to ignore .json at the end. 2019-12-26 14:08:20 +00:00
Anton Hvornum 40939d207e Added more logging 2019-12-26 11:43:17 +00:00
Anton Hvornum b3a3b9d772
Merge pull request #37 from Torxed/lab
Lab
2019-12-26 10:52:12 +01:00
Anton Hvornum a8eb3d5ead Added more logging 2019-12-26 10:51:51 +00:00
Anton Hvornum 2dcc92f844 Merge branch 'master' of github.com:Torxed/archinstall 2019-12-26 00:53:50 +00:00
Anton Hvornum 33f107255e Added more debugging to systemd journald 2019-12-26 00:53:43 +00:00
Anton Hvornum dc14d6114d
Merge pull request #36 from Torxed/cleanup
Cleanup
2019-12-25 18:52:02 +01:00
Anton Hvornum 906324026b Cleanup 2019-12-25 18:46:08 +00:00
Anton Hvornum 2f90c03afd Refreshing partitions function 2019-12-25 18:42:56 +00:00
jaybent 00d0a29c49
Update gitea.json
Typo's
2019-12-03 23:56:33 +01:00
jaybent 9d65f6eb2d
Rename gitea to gitea.json 2019-12-03 23:44:04 +01:00
Anton Hvornum f64a605449 Debug output 2019-11-29 18:55:55 +01:00
Anton Hvornum c9ccea233a
Merge pull request #35 from Torxed/lab
Lab, fixed #12
2019-11-29 17:23:24 +00:00
Anton Hvornum 42b697a4e3 Debugging 2019-11-29 18:02:11 +01:00