Rafael Fontenelle
5a321d6ce5
Update repo to archlinux/archinstall
2021-04-04 11:52:51 -03:00
Anton Hvornum
b2927a5067
This should fix #151 , by using lsblk instead of /dev/disk/by-partuuid. It also cleaned up the installer code quite a bit during the bootloader installation. Will do the same for encrypted drives later on by implementing UUID on a BlockDevice (disk) level.
2021-04-03 16:22:09 +02:00
Anton Hvornum
37ad64147f
Added some more useful debug data to the log.
2021-03-28 23:10:23 +02:00
Anton Hvornum
37a6018aae
Fixed a path-check issue with Time Zones.
2021-03-28 22:36:47 +02:00
Anton Hvornum
fd4594d08c
Added a mkinitcpio configuration for non-btrfs volumes but where encryption is still used. Also added keymap to the HOOKS so that we can get non-us layouts depending on the locale chosen during installation.
2021-03-21 20:56:15 +01:00
Anton Hvornum
dbe086024d
Moved some info logs into debug instead to minimize user splash.
2021-03-21 16:58:27 +01:00
Anton Hvornum
2fab088314
Added some debugging to help identify why archinstall cannot find unencrypted devices when setting up the boot loader.
2021-03-21 16:48:22 +01:00
Anton Hvornum
35e774f5f6
Spelling error on variable.
2021-03-21 15:28:11 +01:00
Anton Hvornum
93faf07b69
Moved the globalization of 'installation' variable. Since Profile() might be created before the installation instance, we need to move the global variable declaration after installation has begun and there's an installation instance.
2021-03-21 15:25:24 +01:00
Anton Hvornum
b67257233f
Fixed #64 . installation.set_timezone() already excisted since earlier versions of archinstall in the library section. The guided.py example simply never asked for a time-zone. There's still no NTP option, which I'll add in later. Mostly because there's a lot of settings one can do to a time-client configuration, and I'm not sure all users want the default time servers etc.
2021-03-20 17:26:48 +01:00
Anton Hvornum
b90820c1c0
Made add_bootloader() a little bit more robust, it shouldn't overwrite the existing loader.conf completely, only the default option. We're still left with a lot of garbage entries if installed multiple times on the same boot partition. #51
2021-03-14 14:58:42 +01:00
Anton Hvornum
abd15f9ff5
Added error handling for install_profile() if string vs Profile() is given as an argument.
2021-03-14 14:41:13 +01:00
Anton Hvornum
5483b218fd
Removing hardcoded boot-loader config name. #51 .
2021-03-14 11:53:59 +01:00
Anton Hvornum
1167cf589b
Fixed mirror-region parameter selection. Converting to actual mirrors.
2021-03-09 14:09:17 +01:00
Philipp Schaffrath
15714ebb86
don't pass encoding in locale argument, it is appended separately in set_locale
2021-01-30 23:28:35 +01:00
Giancarlo Razzolini
66293c15f6
installer: Make sure networkd and resolved are enabled
...
Fixed the logic so systemd-networkd and systemd-resolved will always be enabled when the user
picks the option to copy files from the ISO. The previous behavior was to enable them only if
a wireless network was configured with iwd.
2021-01-26 10:18:56 -03:00
Anton Hvornum
2885da3f71
Merge pull request #90 from Reiddragon/master
...
Added basic F2FS support
2021-01-26 00:02:13 +01:00
Anton Hvornum
165d4ebc7f
Synced over the install log to the install medium upon Installer() __exit__. Default storage is /var/log/archinstall/install.log but can be configured in storage.py. This will include crash dumps and a identical copy is found in the ISO as well, in case the users starts looking in /var/log/archinstall in the ISO medium.
2021-01-26 00:44:34 +01:00
Anton Hvornum
65e6b8fe31
Merge branch 'master' of github.com:Torxed/archinstall into improved-logging
2021-01-26 00:33:28 +01:00
Anton Hvornum
3db8e3abbc
Error in copy paste of function name.
2021-01-26 00:22:10 +01:00
Anton Hvornum
5bc878d58c
Added enabling of systemd-networkd and systemd-resolvd in the copying of the ISO network configuration.
2021-01-26 00:13:40 +01:00
Anton Hvornum
a3d9ad9f3f
Corrected a error in the installation of iwd. The package was added to base_packages, which is never installed if the installer has already finished installing the base packages before this function was called. copy_ISO_network_config() there for now properly checks if the installation is complete and if so, simply straps in the package. Otherwise adds it to the base packages and waits for the base to roll through.
2021-01-26 00:11:17 +01:00
Anton Hvornum
405794d53f
Adding copy mode for #95 ( #82 ). I wouldn't say this is a hacky way of doing it, but using a string as identifier is the only way I can think of currently in guided.py. When user is prompted to select a interface to configure for networking, there's now a zero-option to copy existing ISO configuration to the install medium. This enables advance configuration prior to running the installer - and simply copy it straight over to the install medium. Two requirements: 1: That iwd is used for wifi configuration and config for passwords etc are stored in /var/lib/iwd 2: That systemd-networkd is used to configure networking/IP/DHCP as anything under /etc/systemd/networkd/* is copied over.
2021-01-25 15:39:27 +01:00
Anton Hvornum
1c80a893ac
Adding copy mode for #95 ( #82 ). I wouldn't say this is a hacky way of doing it, but using a string as identifier is the only way I can think of currently in guided.py. When user is prompted to select a interface to configure for networking, there's now a zero-option to copy existing ISO configuration to the install medium. This enables advance configuration prior to running the installer - and simply copy it straight over to the install medium. Two requirements: 1: That iwd is used for wifi configuration and config for passwords etc are stored in /var/lib/iwd 2: That systemd-networkd is used to configure networking/IP/DHCP as anything under /etc/systemd/networkd/* is copied over.
2021-01-25 15:34:35 +01:00
Anton Hvornum
7eaee2cd48
Added a little print out to inform the user about where to find the log file on a crash.
2021-01-25 00:25:15 +01:00
Anton Hvornum
435d2f687e
Added some more fields to the configuration output, as well as added a better fail safe for the logging output. Any exception during the installation will be caught by __exit__ in Installer(), hopefully.
2021-01-25 00:09:34 +01:00
Anton Hvornum
828a09b9c8
Simpligied installer.log() to wrap output.log() with it's changes.
2021-01-24 22:57:16 +01:00
Anton Hvornum
f31d5e34cd
Trying to centralize the configuration for logging. Phasing out some parameters which also affects the current ability to create multiple log files for multiple runs. This will be re-introduced when logging is made into a class object in a later version
2021-01-24 22:42:07 +01:00
Reid
eb7f44d03d
Added basic F2FS support
2021-01-22 16:40:46 +02:00
advaithm
a54c6e3c2f
replced slef.part with self.partition
2021-01-22 17:08:35 +05:30
advaithm
eb35265234
fixex spaces in installer.py
2021-01-22 16:57:33 +05:30
advaithm
40c6aad0ed
xfs as partition option
2021-01-22 15:32:29 +05:30
Anton Hvornum
c5250fbe3e
Installer.mount() had accedental hard coded mountpoint.
2020-12-09 10:33:32 +01:00
Anton Hvornum
5cf09c6641
Removing debug output
2020-12-07 20:38:51 +01:00
Anton Hvornum
21cfe5708c
Fixing a strip glitch in `sys_command()` causing certain output to get truncated in unwanted places (like fstab)
2020-12-07 20:36:06 +01:00
Anton Hvornum
5c8d24a329
Minor tweaks
2020-12-07 20:33:09 +01:00
Anton Hvornum
ada7a0515b
More debugging
2020-12-07 20:31:18 +01:00
Anton Hvornum
881d77064c
Debug data
2020-12-07 20:27:45 +01:00
Anton Hvornum
5e62b409b4
Type mismatch in genfstab()
2020-12-07 20:21:47 +01:00
Anton Hvornum
0de302c47d
Updated fstab to better match the given input
2020-12-07 20:18:47 +01:00
Anton Hvornum
ba863c341d
fstab incorrectly updated since many version ago
...
Updated `genfstab()` to approprately generate a correct fstab for mounted filesystems used in `installation.mountpoint`.
2020-12-07 19:56:51 +01:00
Anton Hvornum
7097fb9ce3
Debugging
2020-12-07 19:36:18 +01:00
Anton Hvornum
584219e847
Updated debug log output
2020-12-07 19:28:36 +01:00
Anton Hvornum
c3336dcb70
Added some more log output regarding fstab.
2020-12-07 19:22:48 +01:00
Anton Hvornum
fb429fc866
Reverted genfstab changes.
...
But placed genfstab in the Installation() __exit__ as the last action performed.
2020-12-07 16:45:49 +01:00
Anton Hvornum
67ce208d25
Debugging
2020-12-07 16:42:08 +01:00
Anton Hvornum
63c6e0464b
Making sure installation.mount() also triggers genfstab.
...
Since it's a installation specific mount, we need to re-create genfstab. Also corrected genfstab flags as well as added an option to override the >> (append) operator to become a write-over operator.
2020-12-07 16:36:35 +01:00
Anton Hvornum
17883fcb9f
Check if directory exists before mounting
2020-12-06 23:08:12 +01:00
Anton Hvornum
c7228910a7
Swapped order of partition vs mountpoint in installation.mount()
2020-12-06 22:45:59 +01:00
Anton Hvornum
ace6beb209
Attempting to select drives by size and/or id
2020-12-06 20:59:32 +00:00