Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions board/aarch64/rootfs/etc/rauc/system.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ mountprefix=/var/lib/rauc/mnt
bundle-formats=-plain
max-bundle-download-size=1073741824

[log.event-log]
filename=/var/log/upgrade-json.log
format=json-pretty
max-size=1M
max-files=5

[keyring]
directory=/etc/rauc/keys

Expand Down
2 changes: 1 addition & 1 deletion board/common/rootfs/etc/finit.d/available/rauc.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
set G_MESSAGES_DEBUG=nocolor
service [2345] <service/dbus/running> \
env:-/etc/default/rauc log:prio:user.notice \
env:-/etc/default/rauc \
rauc service $RAUC_ARGS -- Software update service

6 changes: 6 additions & 0 deletions board/riscv64/rootfs/etc/rauc/system.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ mountprefix=/var/lib/rauc/mnt
bundle-formats=-plain
max-bundle-download-size=1073741824

[log.event-log]
filename=/var/log/upgrade-json.log
format=json-pretty
max-size=1M
max-files=5

[keyring]
directory=/etc/rauc/keys

Expand Down
6 changes: 6 additions & 0 deletions board/x86_64/rootfs/etc/rauc/system.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ mountprefix=/var/lib/rauc/mnt
bundle-formats=-plain
max-bundle-download-size=1073741824

[log.event-log]
filename=/var/log/upgrade-json.log
format=json-pretty
max-size=1M
max-files=5

[keyring]
directory=/etc/rauc/keys

Expand Down
1 change: 1 addition & 0 deletions doc/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ All notable changes to the project are documented in this file.
- cli: new `terminal reset` and `terminal resize` convenience commands

### Fixes
- Fix #1080: Error message in log from rauc, deprecated 'Install' D-Bus method
- Fix #1100: Reduce DHCP client logging verbosity by 70% and include interface
names in log messages for easier troubleshooting
- Fix #1119: CLI UX regression, restore proper behavior for `no enabled` command
Expand Down
6 changes: 5 additions & 1 deletion src/confd/src/infix-system-software.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,18 @@ static int infix_system_sw_install(sr_session_ctx_t *session, uint32_t sub_id,
sr_error_t srerr = SR_ERR_OK;
GError *raucerr = NULL;
RaucInstaller *rauc;
GVariant *args;

DEBUG("url:%s", url);

rauc = infix_system_sw_new_rauc();
if (!rauc)
return SR_ERR_INTERNAL;

rauc_installer_call_install_sync(rauc, url, NULL, &raucerr);
/* Empty args dictionary for InstallBundle method, for now. */
args = g_variant_new("a{sv}", NULL);

rauc_installer_call_install_bundle_sync(rauc, url, args, NULL, &raucerr);
if (raucerr) {
sr_session_set_netconf_error(session, "application", "operation-failed",
NULL, NULL, raucerr->message, 0);
Expand Down
Loading