Skip to content
This repository was archived by the owner on Apr 28, 2022. It is now read-only.

Commit 2b8b1c6

Browse files
author
Matti Kosola
committed
Merge branch 'jb43303_serial_number_T8' into 'master'
Fix T8 tablet serial number See merge request mer-core/nemo-qml-plugin-systemsettings!85
2 parents eaffeda + 0345e08 commit 2b8b1c6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/aboutsettings.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,13 @@ QString AboutSettings::serial() const
169169
QStringList serialFiles;
170170

171171
serialFiles
172-
// This file is specific to the Jolla Tablet;
172+
// Old location for serial number that was used by e.g.
173+
// Jolla Tablet, that should not be used anymore.
173174
<< "/config/serial/serial.txt"
175+
// Location for serialnumber file that should be preferred if no /sys
176+
// node or something for it. The means how the serialnumber ends to
177+
// this file are device specific.
178+
<< "/run/config/serial"
174179
// Some devices have serialno in this path.
175180
<< "/sys/firmware/devicetree/base/firmware/android/serialno";
176181

0 commit comments

Comments
 (0)