kpmcore/src/plugins
Harald Sitter 984a4e9ace fix device RO check
Summary:
- mark deviceNode const
- copy it as deviceName
- mutate deviceName by removing `/dev/`
- use the new deviceName for the read-only check

this makes sure we emit the unmodified deviceNode (e.g. /dev/vda) rather
than the name (e.g. vda). unbreaks for example calamares which doesn't
know what to do with "vda".

CCBUG: 378607

Test Plan:
- without fix clamares fails to list devices
- with the fix calamares lists devices

Reviewers: stikonas

Reviewed By: stikonas

Differential Revision: https://phabricator.kde.org/D6414
2017-06-28 13:51:27 +02:00
..
dummy SVN_SILENT made messages (.desktop file) - always resolve ours 2017-02-05 06:03:02 +01:00
libparted fix device RO check 2017-06-28 13:51:27 +02:00
CMakeLists.txt Consistently use spaces instead of tabs in CMakeLists.txt files. 2015-07-02 15:21:46 +02:00
pmcorebackendplugin.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2017-06-11 04:31:47 +02:00