Commit Graph

1435 Commits

Author SHA1 Message Date
Anton Hvornum 0dafeacabd
Removed some debugging 2021-04-09 15:42:35 +02:00
Anton Hvornum ce04406448
Added some debugging 2021-04-09 15:40:48 +02:00
Anton Hvornum f298b9e393
Added a 'use /mnt' option to the formatted #124. This has not yet been tested, but the logic should work according to the new API layout for Installation(). 2021-04-09 15:27:22 +02:00
Anton Hvornum 740eccb213
Removed 'getpass' from imports. 2021-04-09 15:06:34 +02:00
Anton Hvornum 5e0a192a9a
Bringing in changes from master 2021-04-09 14:01:34 +02:00
Anton Hvornum da12f36305
Forgot to give a password during encryption. 2021-04-09 13:59:55 +02:00
Anton Hvornum 4664bcf29d
Merge pull request #252 from dylanmtaylor/patch-4
As pointed out to me, sway doesn't officially support display managers
2021-04-09 11:47:03 +00:00
Anton Hvornum e9c8a51168
Merge pull request #253 from dylanmtaylor/patch-6
Add the sway packages from advaithm's 2.2.0 sway work
2021-04-09 11:46:33 +00:00
Anton Hvornum cea8892c7c
Setting .encrypted flag in minimal. 2021-04-09 13:44:03 +02:00
Anton Hvornum 9ebd8b8719
Change of variables to support new partition lookup. 2021-04-09 13:13:14 +02:00
Anton Hvornum 72ad1ad5e0
Fixed some log output logic for the boot partition. 2021-04-09 13:07:08 +02:00
Anton Hvornum 56239d89b5
Fixed some log output logic for the boot partition. 2021-04-09 13:06:47 +02:00
Anton Hvornum fdcaeae6f2
Syntax error 2021-04-09 13:01:22 +02:00
Anton Hvornum ee89c55466
Started patching HOOKS and MODULES based on partition iteration. Also fixed some pseudo code. 2021-04-09 13:01:01 +02:00
Dylan M. Taylor 02f4392c22 As pointed out to me, sway doesn't officially support display managers 2021-04-09 06:52:18 -04:00
Dylan M. Taylor d50b26498e Add the sway packages from advaithm's 2.2.0 sway work
Remove sddm
2021-04-09 06:51:43 -04:00
Anton Hvornum 5c8d210f5f Wrong use of hostname in the set_hostname() function. 2021-04-09 12:43:14 +02:00
Anton Hvornum 59e3408de8
Fixed set_hostname() default. 2021-04-09 12:28:52 +02:00
Anton Hvornum 276414079b
Reworked Installation() to have self.target instead of self.mountpoint, to be more consistent and remove the hits that it has anything to do with partitions/hardware. 2021-04-09 12:00:51 +02:00
Anton Hvornum 7f62205281
Reworked Installation() to have self.target instead of self.mountpoint, to be more consistent and remove the hits that it has anything to do with partitions/hardware. 2021-04-09 11:58:12 +02:00
Anton Hvornum db7b3c8cca
Attempting default value None for block device to partition. 2021-04-09 11:56:35 +02:00
Anton Hvornum eb7ed1126b
Wrong variable name 2021-04-09 11:54:48 +02:00
Anton Hvornum eb0ae8b1c3
Added disk helper function get_partitions_in_use(). Which returns which partions are being used at a given mount location, including children. 2021-04-09 11:53:54 +02:00
Anton Hvornum 1395f0888c
Wrong variable. 2021-04-09 11:45:45 +02:00
Anton Hvornum 05e848ce62
Made sure the mount target path exists before mounting. 2021-04-09 11:45:06 +02:00
Anton Hvornum e5c118239b
Merge pull request #250 from insanemal/insanemal-patch-2
OOB in generic_selection
2021-04-09 08:05:42 +00:00
Anton Hvornum f45429b099
Merge pull request #247 from dylanmtaylor/patch-3
draft: Cherry-Pick i3 Profiles and Make Common i3 Package
2021-04-09 08:05:12 +00:00
Anton Hvornum bfb342dc2d
Merge pull request #246 from dylanmtaylor/patch-2
Add vim to desktop packages as having different editors to choose from is good
2021-04-09 08:03:34 +00:00
Anton Hvornum ad25f92c38
Merge pull request #249 from goggle/patch-248
Fix typo that causes crash when creating encrypted LUKS partition (closes #248)
2021-04-09 07:57:39 +00:00
Insanemal acc2dac652
Off by one in generic_selection out of bounds check
Out of bounds check in generic_selection is using >= on list. Lists are zero based. If you put in a value that equals the number of items in the list you get an out of bounds error. 

Removed the equals part of the test as last item in list/dictionary items is len(list)-1 not len(list)
2021-04-09 13:44:51 +10:00
Alexander Seiler 437315669f
Fix typo that causes crash when creating encrypted LUKS partition (closes #248) 2021-04-09 05:00:43 +02:00
Dylan Taylor 82c5241946 This might work to make the i3 profiles as small as possible 2021-04-08 21:24:21 -04:00
Dylan Taylor 7e161d187c Remove post-install hooks from i3 profiles 2021-04-08 21:20:00 -04:00
Dylan Taylor 6a6439daa9 Move more logic into common profile 2021-04-08 21:11:33 -04:00
Dylan Taylor a5eb815b3e Move common packages to common i3 profile 2021-04-08 21:00:55 -04:00
Dylan Taylor 37db6b8973 Add is_top_level_profile = False to i3 profiles 2021-04-08 20:58:52 -04:00
Anton Hvornum 8f7d8df89f Swapped print for log and added return values 2021-04-08 20:57:46 -04:00
Dylan M. Taylor e3ea46ce5c Noticed that some KDE instances weren't changed to i3 when copying
Another one
2021-04-08 20:57:12 -04:00
Anton Hvornum 8c5af80c93 Some language correction and function handling
I more or less copied the language from i3-wm as it was more correct.
Also converted `print()` into `installation.log()` so that we can get some color control and end up in the debug log.
Finally, I added a try/except to handle potential crashes and return return values, since otherwise this would happen every run:
 * https://github.com/archlinux/archinstall/pull/190/files#diff-98d75a109b5337cd7d7c948d2cfc2379bcc51be22dfa3ca6491765f0e0bcaaabR349-R355
2021-04-08 20:57:04 -04:00
advaithm 230c5709cc added _post_install hook. 2021-04-08 20:56:45 -04:00
advaithm 6b5b3180f3 add i3-wm and i3-gaps support 2021-04-08 20:55:54 -04:00
Dylan M. Taylor 6f4b35c4e8
Add i3 profile to desktop.py 2021-04-08 20:54:34 -04:00
Dylan M. Taylor 32c902a4d8
draft: Make i3 package to select i3 configuration 2021-04-08 20:52:47 -04:00
Dylan M. Taylor 8ec18d94bb
Add vim to desktop packages as not everyone likes nano 2021-04-08 18:28:13 -04:00
Anton Hvornum 08cf788eaa
Reworked the mkinitcpio configuration to be more robust according to the logic behind #91 and in prep for #145. Also in prep for #124 the lookup of partitions have been prepared here. We now need a reverse-lookup function. 2021-04-08 22:58:45 +02:00
Anton Hvornum e717a72a10
Starting implementing #124. The installer will be detatched from block devices and partitions. Instead it will rely on a given destination to pacstrap to. From there, it should be able to do reverse-lookups on the target and base it's information and choises from there. This removes any form of partitioning logic, hardware logic and other things from the initialization of the installer. These things should be explicitly called from the installers functions instead. Such as .set_hostname() instead of passing it as a initiation variable. 2021-04-08 22:47:13 +02:00
Anton Hvornum 99d75c2831
Merge pull request #244 from dylanmtaylor/lxqt
Implementation of LXQt
2021-04-08 20:36:33 +00:00
Dylan M. Taylor 51f533539d
Change xscreensaver to slock 2021-04-08 16:34:17 -04:00
Dylan M. Taylor 9545680459
breeze-icons and oxygen-icons are both needed to not have missing icons 2021-04-08 16:21:46 -04:00
Dylan M. Taylor adb73f5ba6
It was far too minimal to be usable before. 2021-04-08 16:10:33 -04:00