Commit Graph

615 Commits

Author SHA1 Message Date
Anton Hvornum 2b14aa68d0 Created a __dump__ function in BlockDevice. Can be used to safely dump the class into a JSON object. Building a json_encoder which checks if the object hasattr(obj, '__dump__') before calling would be ideal 2020-07-21 08:17:31 +02:00
Anton Hvornum 3c0f4cebce Pre-built ISO's are back. Updating readme to reflect this change. 2020-07-09 21:18:38 +02:00
Anton Hvornum 047aa0d15a Release party: 2.0.3 is tested. 2020-07-08 22:51:43 +00:00
Anton Hvornum 13e9953630 removed some non-essnetial packages. re-structured the guided installer to ask for stuff first, then fire away. Tested encrypted/non-encrypted and both works. 2020-07-08 22:51:21 +00:00
Anton Hvornum b0ca5c9107 versionbump in setup.py 2020-07-08 22:23:01 +00:00
Anton Hvornum ebcb5ae795 Fixed a bug where minimal_installation() didn't return anything. 2020-07-08 22:22:24 +00:00
Anton Hvornum ef7ebfc394 Added debugging 2020-07-08 22:11:22 +00:00
Anton Hvornum dbbb52de3e versionbump in setup.py 2020-07-08 21:56:47 +00:00
Anton Hvornum d7a9310a3a versionbump in setup.py 2020-07-08 21:12:40 +00:00
Anton Hvornum 6c3be5de95 Fixed issue with filename replacing variable. 2020-07-08 21:12:29 +00:00
Anton Hvornum 466b892fe8 versionbump in setup.py 2020-07-08 21:07:49 +00:00
Anton Hvornum a59efc40a7 Added missing btrfs to mkinitcpio. Also added a bunch of locale stuff and genfstab which I forgot 2020-07-08 21:07:16 +00:00
Anton Hvornum 1fabd5c566 Swapped crypted and unencrypted logic. 2020-07-08 17:57:04 +00:00
Anton Hvornum a53483ee8f Version bump in setup.py 2020-07-08 17:46:31 +00:00
Anton Hvornum 9fc13d0449 Reflecting change in /boot change 2020-07-08 17:46:20 +00:00
Anton Hvornum 5ab238569d mixed up the mount of /boot, now correctly mounts /boot before running pacstrap 2020-07-08 17:45:25 +00:00
Anton Hvornum bc8f6ce448 Added a sleep for testing 2020-07-08 17:10:03 +00:00
Anton Hvornum a5f8dc6c68 Version bump in setup.py 2020-07-08 16:43:00 +00:00
Anton Hvornum d47fbf191c mkinitcpio was no longer a part of linux or base, had to be installed seperately 2020-07-08 16:42:35 +00:00
Anton Hvornum a8b2e9d80b Added debug to pacstrap of base and linux 2020-07-08 16:28:25 +00:00
Anton Hvornum 27d0da9b30 Version bump in setup.py 2020-07-08 16:13:14 +00:00
Anton Hvornum c271e4c0d7 Added a encrypted flag to the Partition() object. So that certain checks can be done by the Installer() later on, for instance when adding a bootloader. There's also a now which tries to find the parent device to the unlocked encrypted device. 2020-07-08 16:12:57 +00:00
Anton Hvornum 078567f81c Using two different methods for encrypted/non encrypted drives. 2020-07-08 15:43:54 +00:00
Anton Hvornum 99944634e3 Version bump in setup.py 2020-07-08 15:18:24 +00:00
Anton Hvornum 46c8e74a73 Trying to sort out a boot issue 2020-07-08 15:15:53 +00:00
Anton Hvornum 24a384cddb Version bump in setup.py 2020-07-08 14:51:29 +00:00
Anton Hvornum fdff7cf04c Using PARTUUID instead of disk UUID 2020-07-08 14:51:16 +00:00
Anton Hvornum 61f2e3c04b Version change 2020-07-08 14:31:14 +00:00
Anton Hvornum ef5cbac118 Fixed an issue where the boot loader tried to point the / boot towards the /boot partition in the loader entry. 2020-07-08 14:31:01 +00:00
Anton Hvornum 614d6374b8 Forgot to split the path, assumed it was a list 2020-07-08 13:42:48 +00:00
Anton Hvornum 3e97b1e93c rc6: Fixed an issue where 'which' doesn't return the binary absolute path. This due to which being a builtin bash thing, and for whatever reason that stopped working when running as a module, so created locate_binary(name:str) which uses the PATH variable just as which does to find the binary's absolute path 2020-07-08 13:38:15 +00:00
Anton Hvornum fc4790b33c Added symlinks instead of copying when building. Also mofied the __file__ path in __main__.py as it was pointing a bit off for some reason 2020-07-08 13:22:05 +00:00
Anton Hvornum 4f18ac473a Removing temporary build scripts 2020-07-08 12:35:02 +00:00
Anton Hvornum 027f6695bf Adding symlink to examples. 2020-07-08 12:34:22 +00:00
Anton Hvornum aecd333ea3 v2.0.3 prep release. Profile now fully support python scripting instead of JSON. They also support importing archinstall and doing whatever the examples are doing - with one tiiiny TODO/hack/magic, the 'installer' session that is contextulized gets hard-inserted into the globals() scope. Since the child script won't actually have the global instance of the parent, we need to insert it to be known due to the way we import stuff 2020-07-08 10:46:52 +00:00
Anton Hvornum 3ed8db5ef0 Added support for .py profiles. Added a simple 'desktop.py' for now that is just a mock to make sure it's working. 2020-07-08 10:22:25 +00:00
Anton Hvornum a695607326 Merge branch 'master' of github.com:Torxed/archinstall 2020-07-08 09:38:08 +00:00
Anton Hvornum 6e6707116f Changed the cache directory to be under ~/.cache instead. Having it in a archinstall folder directly under the users catalogue caused some issues when doing 'import archinstall' when standing in the home directory after trying to uninstall archinstall heh 2020-07-08 09:38:03 +00:00
Anton Hvornum c0fb9a9488 Updating readme to reflect v2.0.2 2020-07-08 00:02:10 +00:00
Anton Hvornum 4fd34c9754 v2.0.2 2020-07-07 23:57:04 +00:00
Anton Hvornum 60f581319f Added pythons -m module support. __main__.py is the main module entry path, and setup.py now includes the examples (which as been renamed for more convenient module importing) which - enables __main__.py to locate the examples and import them via importlib and execute them. 2020-07-07 23:56:17 +00:00
Anton Hvornum e17fac498a Updated readme with a boot instruction that is partially correct but incomplete. This is because some EFI magic that I can't sort out in a oneliner.. but gives you an idea 2020-07-07 23:24:55 +00:00
Anton Hvornum 3b3456b6f9 Added a raise on sys_command exit code being bad. Also updated readme to show how to test this locally 2020-07-07 22:24:56 +00:00
Anton Hvornum 702085fb97
Update README.md 2020-07-08 00:13:49 +02:00
Anton Hvornum 0bc24699c1 Added colored output. Also tested non-encrypted installations and added ext4 support. 2020-07-07 21:59:09 +00:00
Anton Hvornum 78d4fe4fa1 Adding a guided installation profile. 2020-07-07 16:10:54 +00:00
Anton Hvornum 1790d92df8 A more honest README for now. 2020-07-07 00:46:33 +02:00
Anton Hvornum 7ecdcdec75 A more honest README for now. 2020-07-07 00:43:48 +02:00
Anton Hvornum 181d4097c8 A more honest README for now. 2020-07-07 00:42:24 +02:00
Anton Hvornum 2dbfa42926 Updated the script example. 2020-07-06 23:22:45 +02:00