Commit Graph

689 Commits

Author SHA1 Message Date
Anton Hvornum 4b6e312cfa Flipped log level logic. 2021-05-11 11:41:43 +02:00
Anton Hvornum 20d9858cf6 Spelling errors, and filtered the output a bit. 2021-05-11 09:53:18 +02:00
Anton Hvornum dd52bfb3a7 Tested the workflow, and it works pretty decent. There's some kinks to work out. Added BlockDevice().size as well. 2021-05-10 19:21:05 +02:00
Anton Hvornum 4aaaa3208b Tested creating partitions and deleting them. Kinda works now. 2021-05-10 16:44:01 +02:00
Anton Hvornum 6d5d9a1798 Added Partition() properties: sector_size, start, end, boot, partition_type and a __dump__() function. As well as kept working on the partition logic of guided to have a more traditional workflow of adding/deleting partitions in a guided manner, as well as the ability to mark partitions as encrypted/boot and set target mountpoints. 2021-05-10 14:32:39 +02:00
Anton Hvornum 3e601ff9ab Added a soft-wrapper around parted logic. This logic will guide users through setting up partitions, if they chose to wipe a drive. We'll avoid doing to much auto-magic, and this is just a start. 2021-05-10 10:14:33 +02:00
Anton Hvornum d6f63375c6 Splitting up partitioning logic some more. 2021-05-07 16:38:46 +02:00
Anton Hvornum 8925be6c87 Adding in partition layout structure 2021-05-06 15:18:57 +02:00
Anton Hvornum c20be61e12 Removed obsolete variable in prep for multi-disk support. 2021-05-06 14:20:20 +02:00
Anton Hvornum ea0d0a8817 Merge branch 'master' of https://github.com/archlinux/archinstall into torxed-partitioning 2021-05-01 12:12:10 +02:00
Anton Hvornum b58bec202a
Merge pull request #405 from dylanmtaylor/patch-3
Tweak wording of superuser prompt for better consistency
2021-05-01 09:49:36 +00:00
Dylan M. Taylor 4efa01c4fd
Make the style of the word superuser consistent 2021-04-30 22:42:08 -04:00
Dylan M. Taylor feae13ac84
Tweak wording for superuser prompt a little bit 2021-04-30 22:34:54 -04:00
builder_247 8f4b8fd5ff
Fix syntax error 2021-05-01 00:36:40 +03:00
Anton Hvornum fcff362b9a
Merge pull request #398 from dylanmtaylor/patch-5
Partially revert hasUEFI grub/efibootmgr change to fix GRUB
2021-04-30 08:08:00 +00:00
Dylan M. Taylor e488ad8ec4
Change how efibootmgr is installed
Make changes suggested by Torxed
2021-04-29 20:03:25 -04:00
Dylan M. Taylor 4ce97aaa8c
Partially revert hasUEFI grub/efibootmgr change to fix GRUB 2021-04-29 16:59:43 -04:00
Dylan M. Taylor d6ec206d3e
typo: none 0 is incorrect grammar 2021-04-29 08:58:30 -04:00
Anton Hvornum 0ebc6be7ae
Added a postgresql application profile. (#383)
* Added a postgres application profile. Also introducing runas to the arch_chroot of the installation, to run commands as emulated users. This is highly WIP at the moment.

* Fixing top-level-listing of profiles. As well as testing some postgres installation steps.

* Removed dupe functions.

* Added safety check in case a comment mentions the top level profile thing.

* Patching namespace corruption.

* Avoiding runtime collision due to installation not being initiated yet.

* Allow for parameterization of filesystem in guided.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29 13:32:21 +02:00
Anton Hvornum 2d02e806f2
Cleaning up packages. (#374)
* Cleaning up packages. installer now relies on __packages__ definition. Which will work with external libs to more easily gather packages used by installer and profiles.

* Added back the logic for the log message, where we inform if we're adding the boot loader to root or boot.

* Added __package__ definition to profiles and the installer. These packages can be used as an indication from outside libraries of what could *possibly* be installed. For instance an offline-tool could source these, it would source more than it needed to, but it would give a quick rundown of what might be needed.

* Removed import of __base__packages__ as it's now just __packages__ after a lot of stream-lining.

* Explosion misspelling.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-29 10:18:43 +02:00
Anton Hvornum 4079eebc70
Added a mini curses class and generic-multi-select (#362)
* Added a mini curses class. It can do some simple tricks to iterate over menu options and indicate which ones are chosen using generic_multi_select().

* Include the default parameter if set.

* Modified 'select_kernel()' to use the new multi-select.

* Sneaky character got in.

* removed some debugging

* removed some debugging

* Spelling error

* Adding error handling and loop support.

* Enforce that 'default' is always selected if no other option is selected.

* Fixed backspace issues and ghosting.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-28 15:18:28 +02:00
Anton Hvornum 754e4b8b61 Corrected one indentation. 2021-04-28 14:30:12 +02:00
Anton Hvornum 04804e6edc Corrected error handling for log creation. 2021-04-28 14:28:21 +02:00
Anton Hvornum a13db6bffd Fixing permission error on non-root-runners accessing log() 2021-04-28 14:20:12 +02:00
Anton Hvornum 66197f08de
Added a default description 2021-04-28 09:10:29 +02:00
SecondThundeR 6cfaf30718 Update kernel select
Move select to separate function
Remove 'continue' option
Add hardened kernel as option
2021-04-28 09:41:47 +03:00
advaithm 3bf7a9e7af
removed pdb 2021-04-28 08:00:18 +05:30
advaithm db7632f55e
log diffrent values when in bios mode 2021-04-28 07:48:44 +05:30
advaithm 7922d82639
trying to fix always failing bootloader install 2021-04-28 07:41:34 +05:30
advaithm 464cee46ed
fixed kernel select 2021-04-28 07:08:35 +05:30
advaithm df86d2b80d
pdb traceing 2021-04-28 06:39:59 +05:30
Anton Hvornum e7a429db11
Merge pull request #344 from SecondThundeR/misc-cleanup
Misc. cleanup
2021-04-27 18:48:48 +00:00
Владислав bedd8a1241
Fixed a crash before choosing a video card driver 2021-04-27 21:26:58 +03:00
SecondThundeR a706a98151 Revert some merge resolve changes 2021-04-27 19:19:33 +03:00
Владислав bbe38025fb
Merge branch 'master' into misc-cleanup 2021-04-27 19:01:38 +03:00
Anton Hvornum 090b98b830
Moving away from custom log levels, to something that's well defined. (#360)
* Moving away from custom log levels, to something that's well defined.

* Added backward compability to log() as well.

* Added an option to force log messages out on screen even if the level is below the log level threashold.

* Added force log messages when wrong notation is used.

* Added some more length to the deprecated message

* Swapped all log levels to use logging.<level> instead.

Co-authored-by: Anton Hvornum <anton.feeds@gmail.com>
2021-04-27 16:43:17 +02:00
Владислав 492c44c916
Restore changes related to background properties 2021-04-27 15:39:32 +03:00
Dylan M. Taylor 5f9720ab1c
Use generic_select for driver selection 2021-04-27 08:22:36 -04:00
Владислав 0c6ebc7e80
Merge branch 'master' into misc-cleanup 2021-04-27 15:18:02 +03:00
SecondThundeR 985b7fac3f Revert "Update logging for some functions"
This reverts commit f5b6e7bafe.

Reverting commit due to currently redundant change and merge conflict
2021-04-27 15:14:28 +03:00
Anton Hvornum 6625f359d0
Merge PR #335: Merges in v2.2.0 work into master
Any future work against v2.2.0 will go straight into master, patch work will be done on separate branches instead.
2021-04-27 11:42:05 +00:00
Anton Hvornum 19c928df6a Forgot to hit save after merge conflict fixes. 2021-04-27 13:35:14 +02:00
Anton Hvornum 5852582bbf Pulled in latest changes from torxed-v2.2.0 2021-04-27 13:33:52 +02:00
Anton Hvornum 1230fdfe31 Synced latest changes from torxed-v2.2.0. 2021-04-27 12:30:00 +02:00
Anton Hvornum 847cb3d032
Spelling error 2021-04-27 12:27:49 +02:00
Anton Hvornum ea9d34e8fc
Re-phrased the wording a bit on the exp. warning. 2021-04-25 22:18:29 +02:00
Aggam Rahamim e250181317 Merge branch 'master' of https://github.com/AggamR/archinstall 2021-04-25 14:56:03 +03:00
Aggam Rahamim 5c9859d316 having ability to use multiple kernels 2021-04-25 14:55:39 +03:00
advaithm 85e4a85cdb
updated to lastest commit, fixed a conflict 2021-04-24 13:56:35 +05:30
Anton Hvornum 638985f17d
Merge pull request #345 from dylanmtaylor/patch-9
Ignore dotfiles and globs in timezone selection
2021-04-24 07:11:06 +00:00