Build changes

- Add support for embedded Linux without X, dbus, udisks, ntp, etc.
- Misc minor changes
This commit is contained in:
Floris Bos 2020-05-25 00:36:16 +02:00
parent 71eefa47cf
commit 5b072f3196
13 changed files with 189 additions and 222 deletions

View file

@ -103,6 +103,12 @@ namespace Drivelist
bdev["vendor"].toString().trimmed(),
bdev["model"].toString().trimmed()
};
if (name == "/dev/mmcblk0")
{
dp.removeAll("");
if (dp.empty())
dp.append(QObject::tr("Internal SD card reader"));
}
QString mp = bdev["mountpoint"].toString();
if (!mp.isEmpty())