Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
firmware
FFS Gluon
Commits
4afdc227
Unverified
Commit
4afdc227
authored
2 months ago
by
Matthias Schiffer
Committed by
GitHub
2 months ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3496 from herbetom/respondd-taget-info
package/gluon-respondd: add target information
parents
5dc5301a
adcedf15
Branches
Branches containing commit
Tags
experimental-2025-05-05-base
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/gluon-respondd/src/respondd-nodeinfo.c
+3
-0
3 additions, 0 deletions
package/gluon-respondd/src/respondd-nodeinfo.c
with
3 additions
and
0 deletions
package/gluon-respondd/src/respondd-nodeinfo.c
+
3
−
0
View file @
4afdc227
...
@@ -101,6 +101,9 @@ struct json_object * respondd_provider_nodeinfo(void) {
...
@@ -101,6 +101,9 @@ struct json_object * respondd_provider_nodeinfo(void) {
struct
json_object
*
software_firmware
=
json_object_new_object
();
struct
json_object
*
software_firmware
=
json_object_new_object
();
json_object_object_add
(
software_firmware
,
"base"
,
gluon_version
());
json_object_object_add
(
software_firmware
,
"base"
,
gluon_version
());
json_object_object_add
(
software_firmware
,
"release"
,
gluonutil_wrap_and_free_string
(
gluonutil_read_line
(
"/lib/gluon/release"
)));
json_object_object_add
(
software_firmware
,
"release"
,
gluonutil_wrap_and_free_string
(
gluonutil_read_line
(
"/lib/gluon/release"
)));
json_object_object_add
(
software_firmware
,
"target"
,
gluonutil_wrap_string
(
platforminfo_get_target
()));
json_object_object_add
(
software_firmware
,
"subtarget"
,
gluonutil_wrap_string
(
platforminfo_get_subtarget
()));
json_object_object_add
(
software_firmware
,
"image_name"
,
gluonutil_wrap_string
(
platforminfo_get_image_name
()));
json_object_object_add
(
software
,
"firmware"
,
software_firmware
);
json_object_object_add
(
software
,
"firmware"
,
software_firmware
);
json_object_object_add
(
ret
,
"software"
,
software
);
json_object_object_add
(
ret
,
"software"
,
software
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment