Commit Graph

630 Commits

Author SHA1 Message Date
Anton Hvornum 850d0d2ec9 Version bump. 2020-07-30 23:21:17 +00:00
Anton Hvornum 196d4a178e Added add_custom_mirrors(). The function appends custom mirrors to /etc/pacman.conf 2020-07-30 23:15:51 +00:00
Anton Hvornum 5b0f4f99d6 Version bump to: v2.0.4rc2 2020-07-22 14:22:42 +00:00
Anton Hvornum 6c5c24ecef Added a function to the installer, also added a function to make it easier to enable it in a installation, after which can be called. 2020-07-22 14:19:41 +00:00
Anton Hvornum 0cd088572d New feature: application profiles now support .py as well. Also fixed a sys.path issue where an installed version of archinstall would have precedence over the local version when profiles were being executed (because profiles were living in a unknown relative working directory, the caller to those profiles have to make sure .archinstall exists in sys.path before calling said profile) 2020-07-22 01:03:14 +00:00
Anton Hvornum c884a25237 Added a set_timezone() and fixed set_locale() in the Installer() class. Also added a mirrors.py helper to rudimentary set mirror data on the installer host 2020-07-21 19:03:24 +00:00
Anton Hvornum 06f8c46b3d Added some more documentation. Also added a __init__.py in the git repo so that cloning enables importing as well. This should enable both git clone to work as well as pypi. 2020-07-21 11:01:48 +00:00
Anton Hvornum e438e1bbde Merge branch 'master' of github.com:Torxed/archinstall 2020-07-21 08:18:06 +02:00
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 a7515e4a98
Update README.md 2020-07-13 13:47:24 +02:00
Anton Hvornum 1213e260df Added binary option. 2020-07-10 12:00:40 +00:00
Anton Hvornum 45268df2e7 Added the arch to the build 2020-07-10 11:06:41 +00:00
Anton Hvornum 6ac2858816 Fixed the build to include the examples in the right location. 2020-07-10 11:01:49 +00:00
Anton Hvornum 2e0295d501 Added a build script for my own sanity 2020-07-10 08:46:00 +00:00
Anton Hvornum cc0f1210ad Added a PKGBUILD which requires a pre-built nuitka3 version. More on this later. 2020-07-10 08:41:08 +00:00
Anton Hvornum 84410113c2 Spelling error 2020-07-10 08:40:23 +00: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