Commit Graph

2043 Commits

Author SHA1 Message Date
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 3d659dead8
Merge pull request #251 from advaithm/torxed-v2.2.0
Split drivers from xorg and create a seprate profile for wayland. Remove the use of sddm from sway and raise issues with the nvidia drivers
2021-04-09 08:08:53 +00: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
advaithm b85514ae5e renamed driver.py to gfx_driver.py. also explictly check if we are using the propritery nvidia drivers 2021-04-09 13:28:12 +05:30
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
advaithm 349c3ec5b4 Update sway.py 2021-04-09 13:16:39 +05:30
advaithm 8a39bdde4b added information on how to start sway 2021-04-09 12:13:41 +05:30
advaithm 1a760c591f Update sway.py 2021-04-09 12:05:51 +05:30
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
Dylan Taylor 0d194e2606 Initial implementation of LXQt 2021-04-08 15:54:54 -04:00
Anton Hvornum ef89010efe
Merge pull request #243 from archlinux/torxed-patch-master
Re-working examples/minimal.py
2021-04-08 19:51:05 +00:00
Anton Hvornum 154e048179
Merge pull request #239 from dylanmtaylor/patch-1
Remove nano from base packages
2021-04-08 19:43:35 +00:00
Anton Hvornum 70de1ffbd9
Merge pull request #242 from dylanmtaylor/cinnamon
Pull in Cinnamon and XFCE4 Commits from 2.2.0 into Master
2021-04-08 19:43:06 +00:00
Dylan Taylor 72f3423798 Integrate XFCE4 with master 2021-04-08 15:41:08 -04:00
Dylan M. Taylor 84e6db27bb Fix another incorrect comment on XFCE4 profile 2021-04-08 15:40:20 -04:00
m1ten eb7497f2aa Update xfce4.py 2021-04-08 15:40:09 -04:00
m1ten c2c1126254 xfce4 2021-04-08 15:39:44 -04:00
Dylan Taylor dfec4b77fd Integrate cinnamon with changes on master. 2021-04-08 15:35:33 -04:00
Dylan M. Taylor 5ec1e1d4f5 Fix incorrect comment. Cinnamon doesn't have any Wayland support yet. 2021-04-08 15:34:21 -04:00
Anton Hvornum ab2a43e19f Forgot a variable. 2021-04-08 21:33:49 +02:00