• spiiroin's avatar
    [ssusysinfo] Intial implementation. Fixes JB#36977 · 5427ef39
    spiiroin authored
    Device details such as model, designation, manufacturer and pretty name
    are needed by low level system daemons. The SSU D-Bus interface can't be
    used early in the boot and libssu is a Qt C++  library - which makes it
    difficult to use from scripts / daemons written in in plain C.
    
    Provide libssusysinfo that duplicates some logic in libssu and makes it
    possible to query device details without requiring D-Bus IPC or Qt code.
    
    Provide ssusysinfo command line utility that can be used to query the
    information from script files.
    
    The intent is that the library and associated binaries can be used both
    from open source and proprietary components - thus all new code is
    licensed under LGPL v2.1.
    
    Code dealing with ini-file handling is taken from "profiled" tree and
    uses separate (BSD) license, see lib/inifile.[ch] and lib/symtab.[ch].
    Signed-off-by: spiiroin's avatarSimo Piiroinen <simo.piiroinen@jollamobile.com>
    5427ef39