https://bugs.kde.org/show_bug.cgi?id=378607

--- Comment #13 from Harald Sitter <sit...@kde.org> ---
Git commit 984a4e9acee45dca1aa5bcc69294b536930a20c2 by Harald Sitter.
Committed on 28/06/2017 at 11:51.
Pushed by sitter into branch 'master'.

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".

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

M  +4    -2    src/plugins/libparted/libpartedbackend.cpp

https://commits.kde.org/kpmcore/984a4e9acee45dca1aa5bcc69294b536930a20c2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to