diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2017-11-23 10:15:29 -0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2019-02-13 17:04:26 +0000 |
commit | 2520aea647c8e0ce39b750b0758db8b770eafdcb (patch) | |
tree | 6b6b01e72ca8837a61825acdff68f84fd8418869 /.gitlab-ci.yml | |
parent | cd0954be34dd383cc6227ff400ba16370683679e (diff) | |
download | gnome-control-center-2520aea647c8e0ce39b750b0758db8b770eafdcb.tar.gz |
info: use UDisks to retrieve disk size
The current code relies on GLib API and uses the
available mounts to calculate the available partition
size. This is because this code assumes that more
than one OS can be installed in the same drive, and
wouldn't make sense to show the whole disk size in
this situation.
That, however, clashes with the general purpose of
the panel, for it is meant to show general information
about the user's computer, and it is not reporting
the full disk size.
Fix that by using the UDisks API to get the real size
of the full disks.
https://bugzilla.gnome.org/show_bug.cgi?id=639376
Slighly modified by Iain Lane <iainl@gnome.org> to
port to meson and add udisks2 to CI deps.
Fixes #285.
Fixes #302.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be9c9b555..09af64afc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ build: stage: build script: - - dnf -y install gsound-devel # FIXME: Remove when new images built + - dnf -y install libudisks2-devel # FIXME: Remove when new images built - *environment_information - *build_procedure @@ -78,6 +78,7 @@ test: script: - *environment_information + - dnf -y install libudisks2-devel # FIXME: Remove when new images built - | if [[ -n "${CI_COMMIT_TAG}" ]]; then @@ -263,7 +264,7 @@ stop_review: stage: manual when: manual script: - - dnf -y install gsound-devel # FIXME: Remove when new images built + - dnf -y install libudisks2-devel # FIXME: Remove when new images built - *environment_information - *build_procedure - *run_tests |