Skip to content
Snippets Groups Projects

sysota: generate RAUC configuration file from template

Merged Zygmunt Krynicki requested to merge zyga/oniro:feature/sysota-config-gen into kirkstone
All threads resolved!
5 files
+ 53
52
Compare changes
  • Side-by-side
  • Inline
Files
5
  • As we add support for additional boards, doing it by copying and
    modifying a file with relatively few parts changing got tedious.
    
    The change adds half a dozen new variables for selecting the boot loader
    type, various strings and directories. The defaults are safe, even if
    unused, for all kinds of boards. The machine-specific overrides tune the
    bootloader used by each board and provide proper identification strings.
    
    Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
[OTA]
BootLoaderType=GRUB
BootPartitionMountDir=/run/mount/boot
[GRUB]
EnvPath=/run/mount/boot/EFI/BOOT/grubenv
[Device]
Maker=Oniro Project
Model=QEMU Virtual Machine
[Compatible]
Machine=qemux86
[Quirks]
RebootDelay=180
Loading