Anton Hvornum
|
ff9475ffe4
|
Changed mount function, since libc can't handle loop devices automatically without some how probing partitions?
|
2020-07-06 16:43:29 +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
|
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 |
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
|
a8eb3d5ead
|
Added more logging
|
2019-12-26 10:51:51 +00:00 |
Anton Hvornum
|
f64a605449
|
Debug output
|
2019-11-29 18:55:55 +01:00 |
Anton Hvornum
|
42b697a4e3
|
Debugging
|
2019-11-29 18:02:11 +01:00 |
Anton Hvornum
|
bf32476bfd
|
Fixing password order for commnaads
|
2019-11-29 17:56:27 +01:00 |
Anton Hvornum
|
cb3d16b0bb
|
Fixed password prompt for nspawn
|
2019-11-29 17:47:21 +01:00 |
Anton Hvornum
|
9eb80c139f
|
Fixing rerun
|
2019-11-29 17:39:47 +01:00 |
Anton Hvornum
|
3ba199628b
|
Fixing issues with the spawning of containers.
|
2019-11-29 17:38:22 +01:00 |
Anton Hvornum
|
92d9af970d
|
Fixing issues with the spawning of containers.
|
2019-11-29 17:27:53 +01:00 |
Anton Hvornum
|
c5b44a6935
|
Fixing issues with the spawning of containers.
|
2019-11-29 17:23:04 +01:00 |
Anton Hvornum
|
198c47333e
|
Debugging
|
2019-11-29 17:10:04 +01:00 |
Anton Hvornum
|
cefe7e4f8b
|
Enhancing trigger values
|
2019-11-29 16:53:47 +01:00 |
Anton Hvornum
|
3769a3193b
|
Tweaking event input
|
2019-11-29 16:36:43 +01:00 |
Anton Hvornum
|
7b1968fa9a
|
Adding more debug output
|
2019-11-29 16:12:10 +01:00 |
Anton Hvornum
|
f537eee6b3
|
debugging
|
2019-11-29 15:37:44 +01:00 |
Anton Hvornum
|
253e52da22
|
debugging
|
2019-11-29 15:37:05 +01:00 |
Anton Hvornum
|
c2badea10b
|
Debugging
|
2019-11-29 15:35:37 +01:00 |
Anton Hvornum
|
b2f85c93e7
|
Fixing bytes conversion on JSON triggers on command lines
|
2019-11-29 15:33:00 +01:00 |
Anton Hvornum
|
b4f311584b
|
Fixing argument for boot command
|
2019-11-29 15:25:27 +01:00 |
Anton Hvornum
|
b0804b41d0
|
Fixing args
|
2019-11-29 15:17:31 +01:00 |
Anton Hvornum
|
6faeeb0bd3
|
Don't update git until we have some args
|
2019-11-29 15:10:49 +01:00 |