Anton Hvornum
e49b73cef4
Attempting to correct some inconsitencies in disk-parent reporting.
2021-04-09 23:12:47 +02:00
Anton Hvornum
c7b2133376
Attempting to correct some inconsitencies in disk-parent reporting.
2021-04-09 22:58:41 +02:00
Anton Hvornum
8f096001b6
Attempting to correct some inconsitencies in disk-parent reporting.
2021-04-09 22:34:26 +02:00
Anton Hvornum
0370c44ed8
Enabled skipping partitioning in minimal. It now can take /mnt just as guided as it's destination, and skips partitioning all together. Which makes it go straight to installation.
2021-04-09 22:08:33 +02:00
Anton Hvornum
97540293b8
Removed some debugging auto-unmount
2021-04-09 22:06:17 +02:00
Anton Hvornum
5099376dcd
Attempting to fix auto-detection of encrypted drives. So that #124 can perform reverse detection on partitions and detect encryption.
2021-04-09 21:50:53 +02:00
Anton Hvornum
bd134c5db0
Moved the 'use /mnt' logic to during disk selection.
2021-04-09 17:33:44 +02:00
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