Merge branch 'master' into calamares

Deprecate the master branch.
This commit is contained in:
Adriaan de Groot 2020-06-12 11:29:13 +02:00
commit 992079bac1
2 changed files with 22 additions and 4 deletions

12
CHANGES
View File

@ -6,14 +6,18 @@ website will have to do for older versions.
# 3.2.26 (unreleased) #
This release contains contributions from (alphabetically by first name):
- No external contributors yet
- Pablo Ovelleiro Corral
## Core ##
- No core changes yet
- External modules can now be built again, outside of the Calamares
source and build-tree.
## Modules ##
- No module changes yet
- *locale* put some more places into the correct timezone **visually**;
for instance Norfolk Island gave up UTC+11.5 in 2015 and is now
UTC+11, but Calamares still showed it in a zone separate from UTC+11.
- *packages* gained support for the Void Linux package manager,
*xbps*. (thanks Pablo)
# 3.2.25 (2020-06-06) #

View File

@ -274,6 +274,20 @@ class PMApt(PackageManager):
# Doesn't need to update the system explicitly
pass
class PMXbps(PackageManager):
backend = "xbps"
def install(self, pkgs, from_local=False):
check_target_env_call(["xbps-install", "-Sy"] + pkgs)
def remove(self, pkgs):
check_target_env_call(["xbps-remove", "-Ry", "--noconfirm"] + pkgs)
def update_db(self):
check_target_env_call(["xbps-install", "-S"])
def update_system(self):
check_target_env_call(["xbps", "-Suy"])
class PMPacman(PackageManager):
backend = "pacman"