Skip to content
Snippets Groups Projects
Commit 0a2878cc authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

linux: enable features recommended by RAUC

RAUC recommends using the "verity" format for update bundles.
Those put additional requirements on available kernel features.

Use configuration recommended by RAUC documentation setting:
CONFIG_{MD,BLK_DEV_{DM,LOOP},DM_VERITY,SQUASHFS}=y.

Closes: https://git.ostc-eu.org/distro/oniro/-/issues/157


Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 5e889c5f
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
SRC_URI += "file://squashfs.cfg"
SRC_URI += "\
file://squashfs.cfg \
file://rauc.cfg \
"
......@@ -18,6 +18,7 @@ SRC_URI += "file://hardening_memory.cfg"
SRC_URI += "file://hardening_toolchain.cfg"
SRC_URI += "file://hardening_usercopy.cfg"
SRC_URI += "file://hardening_validation_checks.cfg"
SRC_URI += "file://rauc.cfg"
# For the gcc-plugins build of the kernel we need to ensure the right include
# path for headers is picked up to use the natively build dependencies.
......
......@@ -10,4 +10,5 @@ require linux-raspberrypi_5.10.inc
SRC_URI += "\
file://powersave.cfg \
file://android-drivers.cfg \
file://rauc.cfg \
"
......@@ -4,4 +4,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/linux:"
SRC_URI += "file://squashfs.cfg"
SRC_URI += "\
file://squashfs.cfg \
file://rauc.cfg \
"
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
# Enable support for RAUC verity bundle format.
# https://rauc.readthedocs.io/en/v1.5.1/integration.html#kernel-configuration
CONFIG_MD=y
CONFIG_BLK_DEV_DM=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_DM_VERITY=y
CONFIG_SQUASHFS=y
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment