-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: fix support for multi-arch packages on apt-based systems (#54)
* tests.pkg: fix missing quoting around $@ While fixing that, fix the "remove many packages" subcommand not to quote all the list as one large argument. Signed-off-by: Zygmunt Krynicki <[email protected]> * tests.pkg: fix handling of architecture specific packages The tests.pkg file, when using an apt backend, would easily get confused when a test had installed a package from another architecture, such as i386, as the architecture would be discarded by the logic. This could easily lead to attempt to remove the amd64 version of the package, causing utter havoc. Signed-off-by: Zygmunt Krynicki <[email protected]> * tests.pkg: use --allow-remove-essential This allows removal of base i386 packages that got pulled in on an amd64 host while installing multi-arch packages. Signed-off-by: Zygmunt Krynicki <[email protected]> * tests: test multi-arch logic Signed-off-by: Zygmunt Krynicki <[email protected]> * adapt packages by system and fix test --------- Signed-off-by: Zygmunt Krynicki <[email protected]> Co-authored-by: Sergio Cazzolato <[email protected]>
- Loading branch information
1 parent
33aa8d1
commit 8743cea
Showing
3 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters