Commit Graph

189 Commits

Author SHA1 Message Date
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