table of contents
- bullseye 1.5.1-1
- testing 1.8-2
- unstable 1.8-2
- experimental 1.9-1
RAUC(1) | General Commands Manual | RAUC(1) |
NAME¶
rauc - safe and secure updating
SYNOPSIS¶
rauc [OPTIONS...] bundle INPUTDIR BUNDLE
rauc [OPTIONS...] resign INBUNDLE OUTBUNDLE
rauc [OPTIONS...] extract BUNDLE OUTPUTDIR
rauc [OPTIONS...] convert INBUNDLE OUTBUNDLE
rauc [OPTIONS...] install BUNDLE
rauc [OPTIONS...] info BUNDLE
rauc [OPTIONS...] status [SLOTNAME | mark-{good,bad,active} [booted|other|SLOTNAME]]
rauc [OPTIONS...] write-slot SLOTNAME IMAGEFILE
DESCRIPTION¶
RAUC is a lightweight update client that runs on an Embedded Linux device and reliably controls the procedure of updating the device with a new firmware.
RAUC is also the tool on the host system that is used to create, inspect and modify update artifacts for the device.
This manual page documents briefly the rauc command line utility.
It was written for the Debian GNU/Linux distribution to satisfy the packaging requirements. Thus it should only serve as a summary, reading the comprehensive online manual (https://rauc.readthedocs.io/) is recommended.
OPTIONS¶
The following general options can be used with most commands, however not all combinations make sense.
- -c FILENAME, --conf=FILENAME
- use the given config file instead of the one at the compiled-in default path
- --cert=PEMFILE|PKCS11-URL
- use given certificate file or the certificate referenced by the given PKCS#11 URL
- --key=PEMFILE|PKCS11-URL
- use given private key file or the key referenced by the given PKCS#11 URL
- --keyring=PEMFILE
- use specific keyring file
- --intermediate=PEMFILE
- intermediate CA file name
- --mount=PATH
- mount prefix
- --override-boot-slot=BOOTNAME
- overrides auto-detection of booted slot
- --handler-args=ARGS
- pass extra handler arguments
- -d, --debug
- enable debug output
- --version
- display version
- -h, --help
- print usage
COMMANDS¶
bundle INPUTDIR BUNDLE
Options:
- --signing-keyring=PEMFILE
- verification keyring file
- --mksquashfs-args=ARGS
- mksquashfs extra args
resign INBUNDLE OUTBUNDLE
Options:
- --no-verify
- disable bundle verification
- --signing-keyring=PEMFILE
- verification keyring file
extract BUNDLE OUTPUTDIR
convert INBUNDLE OUTBUNDLE
Options:
- --signing-keyring=PEMFILE
- verification keyring file
- --mksquashfs-args=ARGS
- mksquashfs extra args
- --casync-args=ARGS
- casync extra args
install BUNDLE
Options:
- --ignore-compatible
- disable compatible check
- --progress
- show progress bar
info BUNDLE
Options:
- --no-verify
- disable bundle verification
- --output-format=[readable|shell|json|json-pretty]
- select output format
- --dump-cert
- dump certificate
status [SLOTNAME | mark-{good,bad,active} [booted|other|SLOTNAME]]
The subcommands mark-good and mark-bad can be used to set the state of a slot explicitly. These subcommands usually operate on the currently booted slot if not specified per additional parameter.
The subcommand mark-active allows one to manually switch to a different slot. Here too, the desired slot can be given per parameter, otherwise the currently booted one is used.
Options:
- --detailed
- show more status details
- --output-format=[readable|shell|json|json-pretty]
- select output format
write-slot SLOTNAME IMAGEFILE
ENVIRONMENT¶
- RAUC_PKCS11_MODULE
- Library filename for PKCS#11 module (signing only)
- RAUC_PKCS11_PIN
- PIN to use for accessing PKCS#11 keys (signing only)
FILES¶
- /etc/rauc/system.conf
-
The system configuration file is the central configuration in RAUC that abstracts the loosely coupled storage setup, partitioning and boot strategy of your board to a coherent redundancy setup world view for RAUC.
RAUC expects its central configuration file /etc/rauc/system.conf to describe the system it runs on in a way that all relevant information for performing updates and making decisions are given.
Similar to other configuration files used by RAUC, the system configuration uses a key-value syntax (similar to those known from .ini files).
AUTHORS¶
rauc is developed by Jan Luebbe, Enrico Joerns, Juergen Borleis and contributors.
This manual page was written by Michael Heimpold <mhei@heimpold.de>, for the Debian GNU/Linux system (but may be used by others).