Skip to content
This repository was archived by the owner on Feb 16, 2025. It is now read-only.

Beginners Questions #3472

@poldi871

Description

@poldi871

Hello,

I am evaluating libelektra for an embedded system under BuildRoot. And as noted in the FAQ of libelektra "ask before you search too long", I'll do that now ;-)
In advance, after reading a lot (but not yet all) of the documentation and viewed the youtube videos, it seems to be a great work, even a kind of a developer's dream, if it will work for me.

Here are my problems / questions:

  • My evaluation system is a Leap-15.2. Unfortunately there are only versions of 0.8.20 out there. I've searched for SRPM's of newer versions, because I would not use an old version for my system. I have some "hen egg problem" here. On the one hand my build under BuildRoot was successful at the first look, but at runtime there are still problems (warnings C01200), so the build recipe will need some more efforts. On the other hand I don't want to invest too much, in case it turns out that libelektra is not suitable after all. I've also looked through "libelektra4 aus Projekt home:bekun:devel", but there are also only old versions. Is there any RPM or SRPM for the 0.9.2 version?

  • By the way BuildRoot:
    I found a recipe for OpenWrt. Does a recipe exist for BuildRoot already?

  • On a first simple test, I have an entry in a mounted "ini"-file like this:
    Parameter = "[10,20]; [11,35]"
    Reading the value with "kdb get" results in: [10,20]; [11,35]
    Writing that value back to the configuration file results in: [10,20]; [11,35] (without the quotes)
    It is not possible to quote this entry with \" or "". If I do a double quoting, double quotes are written:
    kdb set /users/Parameter ""[10,20]; [11,35]""
    writes: Parameter = ""[10,20]; [11,35]"" to the file.

  • On a second test I was not able to process structured "ini"-files.
    Example:
    [Services]
    [Services:html]
    port = 80
    [Services:ssh]
    port = 22
    On a "kdb ls /user/example" I get:
    ...
    /user/example/Services/[Services:html]
    but I don't get the "port" key.
    If I do a "kdb get /user/example/Services/[Services:html]" I get a "duplicated key entry in INI file"
    What's wrong?

Thanks in advance.

Poldi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions