Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-22Forgot some imports that didn't show up on a static run without going ↵Anton Hvornum
through a few of the menu's
2021-10-22Forgot some imports that didn't show up on a static run without going ↵Anton Hvornum
through a few of the menu's
2021-10-22Removed the old disk.pyAnton Hvornum
2021-10-22Restructured disk.py into lib/disk/<splits>.py instead. Shouldn't be any ↵Anton Hvornum
broken links as we expose all the functions through __init__.py - but you never know so I'll keep an eye for issues with this.
2021-10-22use_mirrors: return None instead of TrueOleksandr Zinkevych
2021-10-21Improve type hintRichard Neumann
2021-10-21Generalize CPU vendor detectionRichard Neumann
Implement has_amd_cpu() and has_intel_cpu() as partials.
2021-10-21Remove useless initialization of mem_info = {}Richard Neumann
2021-10-21Update type hintsRichard Neumann
meminfo() returns ints.
2021-10-15Fix use_mirrorsOleksandr Zinkevych
2021-10-15Fix re_rank_mirrorsOleksandr Zinkevych
2021-10-14max-complexity = 40Christian Clauss
2021-10-14Tweaked the ignores and made it less forgivingAnton Hvornum
2021-10-14Merge pull request #644 from JakobDev/cutefishtermAnton Hvornum
Remove Konsole from cutefish profile
2021-10-14Merge pull request #643 from Svintooo/svintooo-fixAnton Hvornum
Various bug fixes
2021-10-12Remove duplicate packagetheaeonsolution
2021-10-04Tighten up flake8 tests used by lint_python GitHub ActionChristian Clauss
2021-09-25Remove Konsole from cutefish profileJakobDev
2021-09-21Fix Bug: 'Suggest partition layout' crashesHugo Ankarloo
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and 'Suggest partition layout' is selected, the installer crashes. REASON Bug was introduced in commit 9e67ce3, when partition layout was changed to use device.path as keys (instead of device). It seems all necessary changes were made for this, except this one.
2021-09-20Merge branch 'master' into svintooo-fixHugo Ankarloo
Sync branch svintooo-fix with latest code changes on master.
2021-09-20Fix Bug: Cannot get partuuid from loop deviceHugo Ankarloo
File: lib/disk.py When installing on a loopback device (a.k.a loop device), function Filesystem.partuuid_to_index() crashes with a JSON parsing error. REASON 1) For loop devices, the property BlockDevice.device returns the actual image file (back-file) of the loop device instead of the /dev/X device. 2) Function Filesystem.partuuid_to_index() executes `lsblk --json` against BlockDevice.device . 3) `lsblk` fails and prints the error "not a block device" to stderr. This causes the output to not be valid JSON. 4) Code crashes when JSON parser tries to parse the output. SOLUTION - Make sure property BlockDevice.device only returns a valid block device. - Create new function BlockDevice.device_or_backfile that mimics the present behaviour of BlockDevice.device. - Use BlockDevice.device_or_backfile in function BlockDevice.__repr__(). SOLUTION REASONING I can only see one reason behind BlockDevice.device returning the back-file of a loop device, and that is to show the back-file to the user (instead of /dev/X) when printing the string representation of a BlockDevice. All other parts of the code can use the /dev/X file just fine. And IMO it makes more sense that a property named `device` only returns devices, and not normal files.
2021-09-20Fix Bug: Set filesystem crashes if no partitionsHugo Ankarloo
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and no partitions are configured, and 'Set desired filesystem for a partition' is selected, the installer crashes.
2021-09-20Fix Bug: config b0rked by Suggest partition layoutHugo Ankarloo
File: lib/user_interaction.py When function manage_new_and_existing_partitions() is used, and 'Suggest partition layout' is selected, the partition info is not correctly stored in the config. Instead of: {"partitions": [{...}, {...}]} You get: {"partitions": {"partitions": [{...}, {...}], "wipe":True}}
2021-09-20Fix Bug: Timezone is ignored, always same as hostHugo Ankarloo
Bug affects normal interactive usage (example/guided.py). The timezone configured in the installer is not the timezone that ends up in the new installed system. Instead, the timezone used in the host system (from where the installer is run) is the one that finally ends up being used. Reason: systemd-nspawn by default copies the host timezone into the target. And systemd-nspawn is run when keyboard-layout is changed (which is done after changing the timezone). Solution: Add option `--timezone=off` to systemd-nspawn, which hinders affecting the timezone in the target.
2021-09-19Merge pull request #642 from SecondThundeR/misc-fixesAnton Hvornum
general: remove all found white-spaces
2021-09-19general: remove all found white-spacesSecondThundeR
Also this change adds new line at the end for some scripts
2021-09-18Refactoring and cleaning up a bitAnton Hvornum
I'm making sure that the JSON structure of the user config can get a say in how the subvolumes should be used later on. As well as splitting up where the logic should be to make it easier to maintain.
2021-09-18Adding network applet support in xfce #639 from falieri/patch-1Anton Hvornum
Update xfce4.py
2021-09-18Update xfce4.pyFalieri
add network support to the xfce panel
2021-09-18Preparing to split up ./lib/disk.pyAnton Hvornum
And added some sane(?) defaults, which I'll massage into code some how.
2021-09-18Adding in options for BTRFS subvolumesAnton Hvornum
2021-09-18Removing hardcoded btrfs for suggested partition layouts.Anton Hvornum
2021-09-17Merge pull request #636 from archlinux/torxed-fix-616Anton Hvornum
Removing /tmp from fstab
2021-09-17Removing /tmp from fstabAnton Hvornum
Since systemd takes care of mounting /tmp as a tmpt, there's no point in having a manual entry in fstab.
2021-09-17Merge pull request #635 from archlinux/torxed-fix-593Anton Hvornum
Added gvfs to fix "trash" in xfce4
2021-09-17Added gvfs to fix "trash" in xfce4Anton Hvornum
https://wiki.archlinux.org/title/Xfce#Trash_icon_not_visible_and_trash_applet_does_not_work
2021-09-15Adding linux -headers for nvidia-dkmsAnton Hvornum
This should address #585, as I don't see any nvidia-dkms other than when linux-zen and linux-lts is chosen, I chose to put the -headers logic in the same section. If this is needed for vanilla `linux` kernel as well, then move the logic one line up.
2021-09-15Making sure the drive paths are in the JSON structure, and not the class ↵Anton Hvornum
object, as it won't work seamlessly to access for instance storage['disk_layouts'][ClassInstance()] if it's not the identical mem copy of the object we're accessing, so strings are better for storage/comparisons.
2021-09-15Tweaked the logic for parsing the --harddrives parameter.Anton Hvornum
2021-09-15Fixing type issue with conversion to multiple disk logic.Anton Hvornum
2021-09-15More error handling and fixed a spelling error.Anton Hvornum
2021-09-15Might be redundant, but if the JSON file given to --config contains a list ↵Anton Hvornum
it will break the .split(), but if --harddrives is given as an argument, then we need to split. So adding a type-check
2021-09-15Updating support for --disk_layouts. It now supports file paths as well as ↵Anton Hvornum
JSON in string format via --disk_layouts=<json>
2021-09-15Reverted last change, and improved it. By passing it through load_config and ↵Anton Hvornum
tweaking the read structure a bit, it worked out better if the accessed values are in archinstall.storage instead.
2021-09-15Changed from internal storage to parameter-friendly arguments for ↵Anton Hvornum
disk_layouts, so we can support JSON for disk layouts on the new logic.
2021-09-14Added a 'hidden' variable called --disk-sleep for delaying disk partition up ↵Anton Hvornum
time before continuing after a format. This is an ugly hack to get around some disk issues, for now.
2021-09-14Moved --noconfirm at the end of the pacstrap command to get piped properly ↵Anton Hvornum
to pacman inside pacstrap.
2021-09-13Merging latest changesAnton Hvornum
2021-09-13Added --noconfirm to pacstrap and increased logging verbosity when packages ↵Anton Hvornum
fail, and adding a exception so that the installation doesn't continue silently. This causes too much confusion (even tho I liked the idea that people could recover the missing parts without having to re-run the installer for subsequent steps.
2021-09-12Removed legacy need to add_bootloaderAnton Hvornum
`add_bootloader` no longer needs to have a harddrive given as a argument. It will (and should) auto-detect what's mounted in the `self.target` (aka mountpoint) of the installation.