Anton Hvornum
|
da36b4f4e1
|
Started adding failure responses on commands for error checks.
|
2019-11-18 20:09:18 +00:00 |
Anton Hvornum
|
30752a49c6
|
Added refreshing of partitions into a function
|
2019-11-18 20:04:36 +00:00 |
Anton Hvornum
|
eb318c24db
|
Parameter missmatch on name
|
2019-11-18 17:18:50 +01:00 |
Anton Hvornum
|
997baca5fc
|
Added args, kwargs to a function
|
2019-11-18 17:17:58 +01:00 |
Anton Hvornum
|
27059f4f80
|
Added debug
|
2019-11-18 17:15:15 +01:00 |
Anton Hvornum
|
ac8393645c
|
Don't show drives unless we have some
|
2019-11-18 17:11:45 +01:00 |
Anton Hvornum
|
f679b49070
|
Cache password is now a function. This is so others can call it
|
2019-11-18 17:08:26 +01:00 |
Anton Hvornum
|
7f59f0fdd6
|
Test
|
2019-11-18 17:02:53 +01:00 |
Anton Hvornum
|
ece0b764bc
|
Corrected commandlog history emulated or not
|
2019-11-18 16:51:17 +01:00 |
Anton Hvornum
|
11d1e0f89c
|
More visible output
|
2019-11-18 16:50:05 +01:00 |
Anton Hvornum
|
c7bcba7a6a
|
More verbose output for unformatted drives.
|
2019-11-18 16:48:37 +01:00 |
Anton Hvornum
|
252dfb295b
|
Fix for unpartitioned drives.
|
2019-11-18 16:42:02 +01:00 |
Anton Hvornum
|
9cd0a4b73f
|
Fixed some stuff
|
2019-11-17 23:06:09 +00:00 |
Anton Hvornum
|
5f256b9e4a
|
Added tests. Also improved emulated commands.
|
2019-11-17 13:56:18 +00:00 |
Anton Hvornum
|
5833905e1b
|
Cleaning up some more
|
2019-11-17 13:30:29 +00:00 |
Anton Hvornum
|
7e80c916e8
|
Improved sys_command(). Also added a commandhistory-log and emulation mode
|
2019-11-17 13:15:40 +00:00 |
Anton Hvornum
|
42f6550879
|
Added new ways to get the disk size, since os.statvfs() won't work on unmounted drives. Also moving more stuff into functions.
|
2019-11-17 12:30:10 +00:00 |
Anton Hvornum
|
47fdf30fe1
|
Starting to move individual steps into functions instead, so that they can be called externally as a library instead. Useful for graphical frontends and what not
|
2019-11-15 23:57:57 +00:00 |
Anton Hvornum
|
da008c6284
|
Adding runas in options to POST commands. To be able to run AUR commands as a certain user since yay refuses to build as root
|
2019-11-13 23:36:22 +00:00 |
Anton Hvornum
|
9774daa2b6
|
Improving tracelog output on error
|
2019-11-13 23:26:49 +00:00 |
Anton Hvornum
|
dad1e444c0
|
Added debug output for the AUR step
|
2019-11-13 23:16:16 +00:00 |
Anton Hvornum
|
06873cbbea
|
Fixing sed command
|
2019-11-13 23:08:07 +00:00 |
Anton Hvornum
|
a10965c13c
|
Forgot ending "
|
2019-11-13 23:02:01 +00:00 |
Anton Hvornum
|
51523a4e6a
|
Improved aibuilder for building yay
|
2019-11-13 22:57:28 +00:00 |
Anton Hvornum
|
211fdee511
|
Fixed branch checking
|
2019-11-13 22:51:16 +00:00 |
Anton Hvornum
|
010e931aeb
|
Added debug
|
2019-11-13 22:48:33 +00:00 |
Anton Hvornum
|
9627e2079b
|
Improiving on git branch switching
|
2019-11-13 22:46:41 +00:00 |
Anton Hvornum
|
d08f9835a2
|
Fix for branch switching (?). Also fixed the su aibuilder command-oneliner
|
2019-11-13 22:43:28 +00:00 |
Anton Hvornum
|
7e1f2dc8ff
|
Adding git as base package if we're supporting AUR. Since we need this (until we move over to HTTPS)
|
2019-11-13 22:36:29 +00:00 |
Anton Hvornum
|
a16f7442a9
|
Deleting git-branch after use since it breaks the syntax later.
|
2019-11-13 22:21:41 +00:00 |
Anton Hvornum
|
1d06491e42
|
Moved the decoding logic for network data. - To the actual place where the network was executed.
|
2019-11-13 22:00:32 +00:00 |
Anton Hvornum
|
0ff066c813
|
Added /deployments/ twice. Silly me.
|
2019-11-13 21:59:20 +00:00 |
Anton Hvornum
|
3c10bbfe27
|
Forgot that isfile wasn't imported the way I normally do it.
|
2019-11-13 21:56:14 +00:00 |
Anton Hvornum
|
89a1a89a06
|
Syntax error on conditional assignment
|
2019-11-13 21:55:24 +00:00 |
Anton Hvornum
|
f61ffee65a
|
Syntax error on conditional assignment
|
2019-11-13 21:54:41 +00:00 |
Anton Hvornum
|
f9f6d890ae
|
Added fix for #23. Not tested
|
2019-11-13 21:52:33 +00:00 |
Anton Hvornum
|
679e1bf585
|
Adding fix for issue #15. Not tested.
|
2019-11-13 21:33:54 +00:00 |
Anton Hvornum
|
43242d93e1
|
Fixes and close issue #19
|
2019-11-13 21:22:21 +00:00 |
Anton Hvornum
|
ae66a45116
|
Added a workaround for systemd boot-install.
See discussion here: https://github.com/systemd/systemd/issues/13603
|
2019-11-13 11:51:51 +01:00 |
Anton Hvornum
|
bd38369e9b
|
Added linux linux-firmware.
As per https://www.archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/
|
2019-11-03 23:02:51 +01:00 |
Anton Hvornum
|
e848dfdd33
|
Fixed a issue where the cursor some times would move to far into the trace log of a subcommand. Causnig triggers not to occur. A ghost issue in terms of logic
|
2019-10-28 18:06:04 +01:00 |
Anton Hvornum
|
143cecd03f
|
Use which instead of whereis
|
2019-10-28 17:56:22 +01:00 |
Anton Hvornum
|
10c8915d10
|
Following a change on how base is installed, now /etc/localtime doesn't exist anymore?
|
2019-09-24 16:19:53 +02:00 |
Anton Hvornum
|
865d79a2aa
|
Enhanced the multi-drive prompt a little bit
|
2019-09-24 16:04:04 +02:00 |
Anton Hvornum
|
b66720b001
|
Tested #14, appears to be working now
|
2019-09-24 15:57:39 +02:00 |
Anton Hvornum
|
14a91f5f7c
|
More fixes for #14 and also #9 has been resolved.
|
2019-09-24 15:32:44 +02:00 |
Anton Hvornum
|
f973df9c39
|
Fixes issue #14. If multiple drives are found, do not swallow the whole disk at once.
|
2019-09-24 15:20:32 +02:00 |
Anton Hvornum
|
265a4ff73d
|
Password being inserted causes the subsystem to wait for it forever. Only add it back if we set a root password earlier than this
|
2019-06-20 21:12:46 +00:00 |
Anton Hvornum
|
de5ff70bb8
|
Minor fix
|
2019-06-20 21:03:41 +00:00 |
Anton Hvornum
|
d1b9a3fc7e
|
Enhanced sys_command
|
2019-06-20 20:33:18 +00:00 |
Anton Hvornum
|
d7fb83ad56
|
Support for <RND_STR> which generates a random string in argument value replacements
|
2019-06-20 19:41:27 +00:00 |
Anton Hvornum
|
d338b5f51e
|
Fixing some logic issues in sys_command
|
2019-06-20 19:01:34 +00:00 |
Anton Hvornum
|
6a0e906ac7
|
Fixing some logic issues in sys_command
|
2019-06-20 18:59:53 +00:00 |
Anton Hvornum
|
379113a015
|
Fixing some logic issues in sys_command
|
2019-06-20 18:52:46 +00:00 |
Anton Hvornum
|
bc7feda018
|
reverted last commit, and fixed proper import of time()
|
2019-06-20 18:42:18 +00:00 |
Anton Hvornum
|
6bfb19613c
|
Fixed inproper call to time()
|
2019-06-20 18:41:31 +00:00 |
Anton Hvornum
|
565218eed2
|
Forgot to import time.. fml
|
2019-06-20 18:40:53 +00:00 |
Anton Hvornum
|
4e5f811d75
|
Enhancing booted mode command calls
|
2019-06-20 18:39:45 +00:00 |
Anton Hvornum
|
809d6bf316
|
Wrong parameter order for rebooting with a new flag
|
2019-06-20 18:29:41 +00:00 |
Anton Hvornum
|
f928a4b72c
|
probihiting recursion bombs regarding git pull
|
2019-06-20 18:25:43 +00:00 |
Anton Hvornum
|
eb3a846be8
|
Recursive bomb issue
|
2019-06-20 18:23:20 +00:00 |
Anton Hvornum
|
41127daf58
|
Recursive bomb issue
|
2019-06-20 18:21:50 +00:00 |
Anton Hvornum
|
1d8c10613f
|
TODO: Remove this commit
|
2019-06-20 18:18:30 +00:00 |
Anton Hvornum
|
abaf778241
|
Faulty git update/pull logic. a reset and pull at the same time will make it contain a lot more information
|
2019-06-20 18:15:40 +00:00 |
Anton Hvornum
|
1ffde6ff9f
|
Added a umounter / luksclose before installation. In case of a rerun
|
2019-06-20 16:38:07 +00:00 |
Anton Hvornum
|
b859c519b0
|
Added a --ignore-rerun flag
|
2019-06-20 16:36:30 +00:00 |
Anton Hvornum
|
96732140b1
|
Fixing rerun
|
2019-06-20 16:32:09 +00:00 |
Anton Hvornum
|
ed9e93970a
|
Fixing rerun
|
2019-06-20 16:31:05 +00:00 |
Anton Hvornum
|
f355898af5
|
Fixing rerun
|
2019-06-20 16:28:37 +00:00 |
Anton Hvornum
|
a7cd978128
|
Fixing rerun
|
2019-06-20 16:28:08 +00:00 |
Anton Hvornum
|
7587f67a70
|
Fixing rerun
|
2019-06-20 16:26:06 +00:00 |
Anton Hvornum
|
6dacf539c9
|
Added a rerun feature. So we don't have to wait for pacstrap every debug run :P
|
2019-06-20 16:20:58 +00:00 |
Anton Hvornum
|
aa2871f3f6
|
Added a rerun feature. So we don't have to wait for pacstrap every debug run :P
|
2019-06-20 16:18:44 +00:00 |
Anton Hvornum
|
964502be7c
|
Fixed broken login with systemd-boot
|
2019-06-20 15:32:44 +00:00 |
Anton Hvornum
|
943ce56974
|
Some times systemd-boot splits output, so we gotta check trigger in the trace_log instead.
Slightly more taxing, but it yields better (accurate) results.
|
2019-06-20 15:25:29 +00:00 |
Anton Hvornum
|
bcb4a2d618
|
No need to join the result of simple_command
(Already in a bytes string)
|
2019-06-20 15:16:25 +00:00 |
Anton Hvornum
|
8cf4bde341
|
rankmirrors wasn't sys_command compatible. Changed to simple_command.
|
2019-06-20 15:13:36 +00:00 |
Anton Hvornum
|
2b8ec903b1
|
Update archinstall.py
Made sure "ranking mirrors" doesn't show up unless it's actually happening. And added an extra safe guard :) Can't just YOLO the country variable.
|
2019-06-20 14:46:11 +00:00 |
Anton Hvornum
|
d984f728cc
|
More debug output
|
2019-06-14 23:00:19 +02:00 |
Anton Hvornum
|
a10b28e9cc
|
Forcing overwriting exciting btrfs partition by doing -f
|
2019-06-09 22:16:15 +02:00 |
Anton Hvornum
|
27c630dc82
|
Modified partition debug output to not fool which order they come in
|
2019-06-09 22:13:45 +02:00 |
Anton Hvornum
|
d1f11e008d
|
Moved sorting logic
|
2019-06-09 21:48:58 +02:00 |
Anton Hvornum
|
0bd4beceba
|
Moved sorted logic for partitions
|
2019-06-09 21:38:03 +02:00 |
Anton Hvornum
|
5cdbb79ed6
|
Sorted partitions. Not just the drives
|
2019-06-09 21:35:38 +02:00 |
Anton Hvornum
|
f00e9ee9e3
|
Fixed size debug information. Apparently that comes part of lsblk.. heh
|
2019-06-09 21:30:17 +02:00 |
Anton Hvornum
|
d533e36b88
|
Enhancing debug information for failed command executions
|
2019-06-09 20:58:32 +02:00 |
Anton Hvornum
|
f7cb0b819a
|
Added partition size information in debug information printed
|
2019-06-09 20:46:23 +02:00 |
Anton Hvornum
|
55304a7cab
|
Invalid syntax fix
|
2019-06-09 20:30:04 +02:00 |
Anton Hvornum
|
9b1310ead8
|
Added sorted drives and partition debug information
|
2019-06-09 20:25:20 +02:00 |
Anton Hvornum
|
d0de593976
|
Added support to select --drive=<UUID> and it now maps to a drive. To ensure /dev/sda haven't changed location and the wrong drive gets wiped
|
2019-04-14 23:20:39 +02:00 |
Anton Hvornum
|
620db3623c
|
Added support to select --drive=<UUID> and it now maps to a drive. To ensure /dev/sda haven't changed location and the wrong drive gets wiped
|
2019-04-14 23:13:19 +02:00 |
Anton Hvornum
|
65aed10fa2
|
Added more templates and removed debugging
|
2019-04-14 21:30:35 +02:00 |
Anton Hvornum
|
35cfef9857
|
Something
|
2019-04-14 18:55:35 +02:00 |
Anton Hvornum
|
e3b60326e0
|
Debugging
|
2019-04-14 17:37:00 +02:00 |
Anton Hvornum
|
33610debef
|
Fixing login scenario
|
2019-04-14 17:27:19 +02:00 |
Anton Hvornum
|
968fad8f94
|
Testing application specific configratuin (might auto-trigger in the future
|
2019-04-14 16:06:35 +02:00 |
Anton Hvornum
|
311aa08958
|
More debugging
|
2019-04-11 23:36:16 +02:00 |
Anton Hvornum
|
a87b30d2f6
|
Swapped no-chroot to simple command. More expected behavior that way
|
2019-04-11 23:34:43 +02:00 |
Anton Hvornum
|
b326572578
|
First working copy of the new subsystem / boot / hacks
|
2019-04-11 23:23:59 +02:00 |
Anton Hvornum
|
f76f692483
|
Forgot formatting on hostname
|
2019-04-11 23:16:57 +02:00 |
Anton Hvornum
|
5f51f1afad
|
Live testing
|
2019-04-11 23:11:53 +02:00 |
Anton Hvornum
|
a2731924cb
|
Fixed some stuff
|
2019-04-11 23:06:34 +02:00 |
Anton Hvornum
|
0a4126d407
|
Misspelled Archinstall :P
|
2019-04-11 23:03:32 +02:00 |
Anton Hvornum
|
17de7d0ce4
|
Added a exit condition for the subsystem
|
2019-04-11 23:01:22 +02:00 |
Anton Hvornum
|
9e8179d25b
|
Live testing
|
2019-04-11 22:56:24 +02:00 |
Anton Hvornum
|
5c3089e7f9
|
Frikin dicts and sizes.. fixed
|
2019-04-11 22:50:13 +02:00 |
Anton Hvornum
|
90b6c5c8f7
|
Final touches on the new subsystem thing
|
2019-04-11 22:43:05 +02:00 |
Anton Hvornum
|
21322ecadb
|
misspelling
|
2019-04-11 22:36:31 +02:00 |
Anton Hvornum
|
b27c10907f
|
Testing live
|
2019-04-11 22:30:53 +02:00 |
Anton Hvornum
|
4f3388f363
|
misspelling
|
2019-04-11 22:25:02 +02:00 |
Anton Hvornum
|
fc4cad6c19
|
Forgot ENTER (new line) after subsystem input
|
2019-04-11 22:22:42 +02:00 |
Anton Hvornum
|
074efd4c1c
|
Live testing
|
2019-04-11 22:18:50 +02:00 |
Anton Hvornum
|
1e35a8b096
|
live testing
|
2019-04-11 22:13:09 +02:00 |
Anton Hvornum
|
efc7f0cc48
|
Handling login during pseudo-boot
|
2019-04-11 22:06:22 +02:00 |
Anton Hvornum
|
53c95fc1b8
|
Trying something else
|
2019-04-11 21:57:53 +02:00 |
Anton Hvornum
|
4c37e916f8
|
Writing needs to be bytes
|
2019-04-11 21:51:48 +02:00 |
Anton Hvornum
|
cc91766161
|
Increased read buffer from 1024 to 8192. Also added the command as a trigger
|
2019-04-11 21:46:14 +02:00 |
Anton Hvornum
|
69de48da7d
|
Swapped for simple_command on multiple pipe command.. it's to messy heh
|
2019-04-11 21:37:50 +02:00 |
Anton Hvornum
|
47feba166e
|
Almost there
|
2019-04-11 21:33:34 +02:00 |
Anton Hvornum
|
fdf01f0cf6
|
Skipping re-exec for when git repo is already up to date
|
2019-04-11 21:26:43 +02:00 |
Anton Hvornum
|
dd0f2f9d56
|
Forgot that iterators don't actually do anything unless you **try** to work with the output result. Optimizations ftw
|
2019-04-11 21:24:45 +02:00 |
Anton Hvornum
|
5b44456a55
|
Editing more outputs
|
2019-04-11 21:18:16 +02:00 |
Anton Hvornum
|
80d7fca43d
|
Fixed a output message
|
2019-04-11 21:15:17 +02:00 |
Anton Hvornum
|
3fb42df162
|
Forgot to place the output some where.. oh i know.. in output...
|
2019-04-11 21:13:25 +02:00 |
Anton Hvornum
|
687685809a
|
Error when removing a non-existing file.. duh..
|
2019-04-11 21:12:59 +02:00 |
Anton Hvornum
|
15cdae12cc
|
erm, echo was removed.. since it's part of the opts now
|
2019-04-11 21:11:57 +02:00 |
Anton Hvornum
|
2d4ae27454
|
Added back a simple_command() where path changes and stuff had to be done. For now.. this surely must work by doing os.chdir() or something
|
2019-04-11 21:11:20 +02:00 |
Anton Hvornum
|
f11d93e255
|
More git update experiments
|
2019-04-11 21:05:36 +02:00 |
Anton Hvornum
|
c33d382220
|
More status output
|
2019-04-11 20:50:17 +02:00 |
Anton Hvornum
|
ef489a0cb5
|
Improving on the git update
|
2019-04-11 20:45:52 +02:00 |
Anton Hvornum
|
416971160e
|
Doing live tests
|
2019-04-11 20:40:26 +02:00 |
Anton Hvornum
|
e932d6fe88
|
Trying to fix auto-git-update
|
2019-04-11 20:31:32 +02:00 |
Anton Hvornum
|
3863691b49
|
Forgot to decode the bytes data
|
2019-04-11 20:07:32 +02:00 |
Anton Hvornum
|
6e3e94d284
|
Failed to convert one more iterator
|
2019-04-11 19:52:50 +02:00 |
Anton Hvornum
|
58b9442569
|
Missed another join()
|
2019-04-11 19:44:02 +02:00 |
Anton Hvornum
|
47e788c557
|
Forgot to .exec()
|
2019-04-11 19:36:43 +02:00 |
Anton Hvornum
|
72b04d9291
|
Forgot to join the iterator in some places
|
2019-04-11 19:30:07 +02:00 |
Anton Hvornum
|
1f89be3a23
|
Swapping the run() command for something a little more potent
|
2019-04-11 19:20:44 +02:00 |
Anton Hvornum
|
317ed640f0
|
Forgot to send the options as actual options.
|
2019-04-10 18:21:08 +02:00 |
Anton Hvornum
|
434603a008
|
Forgot to send the options as actual options.
|
2019-04-10 18:18:47 +02:00 |
Anton Hvornum
|
1726a597aa
|
Testing a thing
|
2019-04-10 18:17:16 +02:00 |
Anton Hvornum
|
64f5dd30bb
|
Reorder of when password is set. And added a boot options to boot into the new OS without actually rebooting. To set up things like databases etc that needs services running
|
2019-04-10 16:30:50 +02:00 |
Anton Hvornum
|
4b7cabeab4
|
Added support to boot a installation
|
2019-04-10 16:10:21 +02:00 |
Anton Hvornum
|
7d06fef7e9
|
Changed some formatting and status output. Also added manual chroot-setup. It's highly unreliable tho
|
2019-04-10 12:46:53 +02:00 |
Anton Hvornum
|
73fd441734
|
Wrapping is not systemd-nspawn's coup of tea
|
2019-04-10 11:01:18 +02:00 |
Anton Hvornum
|
2037b6c0c1
|
Added psutil workaround in case it's not installed.
|
2019-04-10 10:56:04 +02:00 |
Anton Hvornum
|
fe9dfc4ffd
|
Added no-chroot option to commands, so that they can run outside in the live-cd environment. Mainly to fix a temporary issue with systemd-nspawn where I don't know how to redirect stdout etc using the command
|
2019-04-10 10:46:14 +02:00 |
Anton Hvornum
|
6b785a4b4e
|
Forgot to wrap the commands
|
2019-04-10 09:07:24 +02:00 |
Anton Hvornum
|
ee7dff7f84
|
Reworked according to the new data structure. Changing rooms still doesnt work. And some other things might not as well.. such as file uploads.. but meh, beta test time! Fix issue #10
|
2019-04-10 08:37:52 +02:00 |
Anton Hvornum
|
9c572a3204
|
Verified implementation for #6 and #7
|
2019-04-08 20:29:49 +02:00 |