Anton Hvornum
faadc2b968
Fixed linting issue
2021-11-10 11:40:47 +00:00
Werner Llácer
671c7b3854
Solves issue #689 . Attribute Error.'None type' has no attribute 'format' ...
...
It seems the system does not syncronus update its internal information after a partitioning.
Two places are affected. Directly on filesystem.add_partition (the uuid of the new partition isn't available after the parted command)
and blockdevice.get_partition, where the list of partitions for the iterator might not be available in the query.
The patch places both sections under controlled loops, giving the system the chance to update the information.
Should be more controlled via application parameters
2021-11-10 11:20:38 +01:00
Anton Hvornum
b7fcbf13bc
Merge pull request #706 from archlinux/torxed-add-credentials
...
Adding in storage of user supplied credentials in a separate file.
2021-11-09 18:04:11 +00:00
Anton Hvornum
71a86f65aa
Forgot the disk encryption password, also escaped with !
2021-11-09 19:01:48 +01:00
Anton Hvornum
389aa1080b
Adding in storage of user supplied credentials. This separates credentials from user_configuration.json into user_credentials.json. As well as the JSON serializer will omit the credentials from the user_configuration.json by detecting ! in the dictionary keys (which is why they are important). UNSAFE_JSON will leave those keys in there, good for storing credentials in a separate file."
2021-11-09 17:43:28 +01:00
Anton Hvornum
d1716eeeef
Revert default automatic hostname in user_config.json, I realized it's better to use --silent than forcing something in there. Some users might want to get poked on every machine.
2021-11-09 17:20:48 +01:00
Anton Hvornum
07255391cc
Automatically fill the hostname in user_config.json
2021-11-09 17:16:25 +01:00
Anton Hvornum
cd07dafaac
Merge pull request #704 from archlinux/torxed-fix-689
...
Fix #689 by adding a exception to filesystem.parted() on failure
2021-11-09 14:46:57 +00:00
Anton Hvornum
75604a906d
Adding a exception to filesystem.parted() if it fails. We can't let these go by unoticed
2021-11-09 14:11:22 +00:00
Anton Hvornum
c9a4e38497
Linting fix
2021-11-09 11:10:19 +00:00
Anton Hvornum
992c945b52
Merge pull request #695 from wllacer/master
...
Solves issue #674
2021-11-09 07:49:30 +00:00
Anton Hvornum
8e5869d106
Merge pull request #703 from dylanmtaylor/patch-2
...
Fix user_interaction import as well - this is also in the parent directory
2021-11-09 06:35:25 +00:00
Dylan M. Taylor
4689d837e1
Fix user_interaction import as well - this is also in the parent directory.
2021-11-08 20:58:54 -05:00
Anton Hvornum
a6629815e3
Merge pull request #702 from dylanmtaylor/subvolume-disk-size
...
If using subvolumes, make root partition 100% instead of using home
2021-11-08 23:25:36 +00:00
Dylan M. Taylor
01b620ba81
If using subvolumes, make root partition 100% instead of using home
2021-11-08 17:57:27 -05:00
Anton Hvornum
68a1e42cfe
Merge pull request #699 from dylanmtaylor/patch-2
...
Fix luks import so that encryption works correctly
2021-11-08 22:16:02 +00:00
Dylan M. Taylor
e9e46f0dd7
Fix luks import so that encryption works correctly
2021-11-08 16:41:20 -05:00
Werner Llácer
80a406c930
Followup to the previous one. Output of size function is rounded to the first decimal so output doesn't look too cluttered
2021-11-08 19:58:11 +01:00
Werner Llácer
6d0c55e5d6
Solves issue #674
...
We turned the size query of the devices to byte mode in lsblk (lsblk -b)
It avoids problems with the localized output of the lsblk utility.
2021-11-08 14:32:47 +01:00
Anton Hvornum
565464c72d
Fixes #690 by Clearing storage['active_boot'] if shutdown was successful ( #691 )
...
* Clear storage variable if shutdown was successful
* Adding shutdown monitoring and debug output.
* It seams systemd-run gets a connection reset from running 'shutdown now', but in a good way - so it doesn't raise any exceptions. Or at least that's what it looks like.
2021-11-07 12:23:29 +01:00
Anton Hvornum
c62cef3cfd
Revert "Added a delay on systemd-nspawn", did not help
...
This reverts commit d9aa7e6b34 .
2021-11-06 21:49:57 +01:00
Anton Hvornum
d9aa7e6b34
Added a delay on systemd-nspawn
...
This to avoid "Transport endpoint is not connected"
2021-11-06 12:14:04 +01:00
Anton Hvornum
d363bad27c
Merged #679 - Fix #109 Wrapper to create files inside installation
...
Added a wrapper to create files inside the installation
2021-11-06 09:50:12 +00:00
Anton Hvornum
129326b93f
Merge branch 'master' of https://github.com/archlinux/archinstall into torxed-fix-109
2021-11-06 10:47:19 +01:00
Anton Hvornum
97a91aab60
Added mimic function for file operations
2021-11-06 09:48:42 +01:00
Anton Hvornum
0c1139ffaf
Update installer.py
2021-11-06 09:42:54 +01:00
Anton Hvornum
17fe62c641
Merge pull request #678 from archlinux/torxed-fix-175
...
Adding support for swap on zram
2021-11-06 00:08:13 +00:00
Anton Hvornum
0fed0b3ce5
Fixed default zram conf location and imports
2021-11-05 23:07:04 +01:00
Anton Hvornum
e29f440c0b
Fixed newline in zram conf
2021-11-05 22:09:51 +01:00
Anton Hvornum
dbe8ce9982
Fixed broken import from master
2021-11-05 22:04:45 +01:00
Anton Hvornum
a5730dec85
Misspelled variable name
2021-11-05 22:03:24 +01:00
Anton Hvornum
f1422d955f
Fixed broken import from master
2021-11-05 22:00:59 +01:00
Anton Hvornum
007e75b6f1
Fixed broken import from master (GRUB non-EFI might be wonky)
2021-11-05 21:59:09 +01:00
Anton Hvornum
93fcc4cb54
Fixed a broken import
2021-11-05 21:50:56 +01:00
Anton Hvornum
5259549466
Fixed some import errors that snuk in master
2021-11-05 21:47:30 +01:00
Anton Hvornum
5df69abfee
Stripped down the default zram configuration for zram-generator
2021-11-05 21:41:19 +01:00
Anton Hvornum
0067e34970
Merged latest master
2021-11-05 21:37:40 +01:00
Anton Hvornum
e411ff0abb
Merged PR #680 - improved installation.arch_chroot()
...
Improved run_as for installation.arch_chroot()
2021-11-05 16:33:41 +00:00
Anton Hvornum
bf52588926
Merged in master changes
2021-11-05 17:29:53 +01:00
Anton Hvornum
3e53d45413
Merge PR #684 - swap ntpd for systemd-timesyncd
...
Fix #682 - swap ntpd for systemd-timesyncd
2021-11-05 16:22:43 +00:00
Anton Hvornum
37c40b8894
Fix import systemd.Boot
2021-11-05 17:17:18 +01:00
Anton Hvornum
4f4842f6bf
Added more information to the NTP log line.
2021-11-05 17:05:20 +01:00
Anton Hvornum
93efce92a9
Renamed the ntp function, as it doesn't install/enable ntp any longer. Even tho it uses the NTP protocol.
2021-11-05 17:03:07 +01:00
Anton Hvornum
2f677e2e86
Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-682
2021-11-05 16:56:56 +01:00
Anton Hvornum
31a7a85e04
Merge pull request #688 from archlinux/torxed-fix-93
...
Fixed quotation marks
2021-11-05 15:56:16 +00:00
Anton Hvornum
f234b63169
Merge branch 'master' of github.com:archlinux/archinstall into torxed-fix-93
2021-11-05 16:52:19 +01:00
Anton Hvornum
5db146a0eb
Just swapped quotation marks. Easier to copy paste into JSON syntax highlighting.
2021-11-05 16:52:01 +01:00
Anton Hvornum
0071a06908
Merged PR #650 - flake8 fixes and tightening
...
Tighten up flake8 tests used by GitHub Action lint_python
2021-11-05 15:48:03 +00:00
Anton Hvornum
b6ab678631
Ignoring flake8 on blockdevice.py.
2021-11-05 16:44:51 +01:00
Anton Hvornum
2fcd8198b2
Cleaned up all flake8 issues/warnings. Did some code cleaning as well, mostly how we called things in guided.py but also some SysCommand calls
2021-11-05 16:27:01 +01:00