-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move operational data about software state from confd => yanger
Statd is now responsible for operational, move last big part (infix-system-software) to yanger.
- Loading branch information
1 parent
34f0c5a
commit 0b5a305
Showing
14 changed files
with
329 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
config BR2_PACKAGE_RAUC_INSTALLATION_STATUS | ||
bool rauc-installation-status | ||
help | ||
Simple tool to read the installation status and errors | ||
from rauc in a JSON format. | ||
|
||
https://github.com/kernelkit/infix |
20 changes: 20 additions & 0 deletions
20
package/rauc-installation-status/rauc-installation-status.mk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
################################################################################ | ||
# | ||
# rauc installation status | ||
# | ||
################################################################################ | ||
|
||
RAUC_INSTALLATION_STATUS_VERSION = 1.0 | ||
RAUC_INSTALLATION_STATUS_LICENSE = ISC | ||
RAUC_INSTALLATION_STATUS_LICENSE_FILES = LICENSE | ||
RAUC_INSTALLATION_STATUS_SITE_METHOD = local | ||
RAUC_INSTALLATION_STATUS_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/rauc-installation-status | ||
RAUC_INSTALLATION_STATUS_REDISTRIBUTE = NO | ||
RAUC_INSTALLATION_STATUS_AUTORECONF = YES | ||
RAUC_INSTALLATION_STATUS_DEPENDENCIES = host-pkgconf jansson libglib2 | ||
RAUC_INSTALLATION_STATUS_CONF_OPTS = --disable-silent-rules | ||
define RAUC_INSTALLATION_STATUS_CONF_ENV | ||
CFLAGS="$(INFIX_CFLAGS)" | ||
endef | ||
|
||
$(eval $(autotools-package)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Copyright (c) 2024 The KernelKit Authors | ||
|
||
Permission to use, copy, modify, and/or distribute this software for any purpose | ||
with or without fee is hereby granted, provided that the above copyright notice | ||
and this permission notice appear in all copies. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH | ||
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, | ||
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS | ||
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | ||
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF | ||
THIS SOFTWARE. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
AM_CPPFLAGS = -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -D_GNU_SOURCE | ||
bin_PROGRAMS = rauc-installation-status | ||
rauc_installation_status_SOURCES = rauc-installation-status.c | ||
|
||
rauc_installation_status_CFLAGS = \ | ||
$(glib_CFLAGS) \ | ||
$(jansson_CFLAGS) \ | ||
$(CFLAGS) | ||
rauc_installation_status_LDADD = \ | ||
$(glib_LIBS) \ | ||
$(jansson_LIBS) | ||
|
||
BUILT_SOURCES = $(rauc_installer_sources) | ||
EXTRA_DIST = de.pengutronix.rauc.Installer.xml | ||
|
||
rauc_installer_sources = rauc-installer.c rauc-installer.h | ||
$(rauc_installer_sources): de.pengutronix.rauc.Installer.xml | ||
$(AM_V_GEN) gdbus-codegen \ | ||
--generate-c-code rauc-installer \ | ||
--c-generate-autocleanup all \ | ||
--c-namespace Rauc \ | ||
--interface-prefix de.pengutronix.rauc. \ | ||
$< | ||
|
||
nodist_rauc_installation_status_SOURCES = $(rauc_installer_sources) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
AC_PREREQ(2.61) | ||
AC_INIT([rauc-installation-status], [1.0], [https://github.com/kernelkit/infix/issues]) | ||
AM_INIT_AUTOMAKE(1.11 foreign subdir-objects) | ||
AM_SILENT_RULES(yes) | ||
|
||
AC_CONFIG_FILES([ | ||
Makefile | ||
]) | ||
|
||
AC_PROG_CC | ||
AC_PROG_INSTALL | ||
LT_INIT | ||
|
||
|
||
PKG_PROG_PKG_CONFIG | ||
|
||
test "x$prefix" = xNONE && prefix=$ac_default_prefix | ||
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | ||
|
||
PKG_CHECK_MODULES([glib], [glib-2.0 >= 2.50 gio-2.0 gio-unix-2.0]) | ||
PKG_CHECK_MODULES([jansson], [jansson >= 2.0.0]) | ||
|
||
|
||
LIBDIR=`eval echo $libdir` | ||
LIBDIR=`eval echo $LIBDIR` | ||
|
||
AC_SUBST(LIBDIR) | ||
|
||
AC_OUTPUT |
Oops, something went wrong.