diff options
author | Jonathan Schwender <55576758+jschwe@users.noreply.github.com> | 2024-09-02 08:56:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-02 06:56:38 +0000 |
commit | c9548d82efc5568ec66f67940b543f4709ceb152 (patch) | |
tree | 42855a0312681bf1243628a9b247f1488e96a85b /components/canvas/webgl_thread.rs | |
parent | 35ca050bfb82b27cac0fe142768a4876759fced0 (diff) | |
download | servo-c9548d82efc5568ec66f67940b543f4709ceb152.tar.gz servo-c9548d82efc5568ec66f67940b543f4709ceb152.zip |
bootstrap: Avoid needless sudo when pkgs are installed (#33281)
- Previously on fedora `./mach bootstrap` would always detect it needs to
reinstall packages and require root permissions.
- use custom queryformat for `rpm -qa` to to just get the package name
(e.g. `openssl-libs` instead of `openssl-libs-3.2.2-3.fc40.i686`
- Use a list to store the output result instead of one string
- Fedora (40) installs `zlib-ng` instead of `zlib` and `libjpeg-turbo` instead
of `libjpeg`, meaning that `rpm` / dnf commands report `zlib` as not installed.
Specifying the actually installed package avoids this problem.
Signed-off-by: Jonathan Schwender <jonathan.schwender@huawei.com>
Diffstat (limited to 'components/canvas/webgl_thread.rs')
0 files changed, 0 insertions, 0 deletions