diff options
author | Dan McGee <dan@archlinux.org> | 2021-04-21 14:47:13 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-04-21 16:15:21 +0200 |
commit | 3179db108a83104d9de6d1d607f55f8118e92160 (patch) | |
tree | 2141a5a0a565bbfc8261bbc434bcfa53830115a1 /lib/libalpm/handle.h | |
parent | abdb4d7fa699ae3b8ff09ba79656f6853b9a1357 (diff) | |
download | pacman-3179db108a83104d9de6d1d607f55f8118e92160.tar.gz pacman-3179db108a83104d9de6d1d607f55f8118e92160.tar.xz |
Add support for multiple 'Architecture' values
This allows architecture to be multivalued. On x86-64 machines, this
could be something like:
Architecture = x86-64-v3 x86-64
We use the first specified Architecture value in mirrorlist $arch
variable replacement, as this is backwards-compatible and sane.
Original-patch-by: Dan McGee <dan@archlinux.org>
Patch-updated-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/handle.h')
-rw-r--r-- | lib/libalpm/handle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/handle.h b/lib/libalpm/handle.h index 2d8d0f9e..52dc2125 100644 --- a/lib/libalpm/handle.h +++ b/lib/libalpm/handle.h @@ -96,7 +96,7 @@ struct __alpm_handle_t { alpm_list_t *assumeinstalled; /* List of virtual packages used to satisfy dependencies */ /* options */ - char *arch; /* Architecture of packages we should allow */ + alpm_list_t *architectures; /* Architectures of packages we should allow */ int usesyslog; /* Use syslog instead of logfile? */ /* TODO move to frontend */ int checkspace; /* Check disk space before installing */ char *dbext; /* Sync DB extension */ |