Skip to content
Snippets Groups Projects
Commit 7414665a authored by Davide Gardenal's avatar Davide Gardenal Committed by Marta Rybczynska
Browse files

oniro-modprobe: Add modprobe config file


Add modeprobe.bb recipe
Create oniro-kernel-mod.conf as the modprob config file
Update packagegroup-oniro-core.bb to account for the new recipe

Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
parent 75953cf6
No related branches found
No related tags found
No related merge requests found
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
SUMMARY = "Oniro project specific modprobe settings"
SECTION = "base"
DESCTIPTION = "This recipes provides a set of Oniro Project specific settings for managing kernel module"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
SRC_URI = " \
file://oniro-kernel-mod.conf \
"
inherit allarch
do_configure[noexec] = "1"
do_compile[noexec] = "1"
do_install() {
install -d "${D}/${sysconfdir}/modprobe.d"
install -m 0644 "${WORKDIR}/oniro-kernel-mod.conf" "${D}${sysconfdir}/modprobe.d/"
}
FILES:${PN} += "${sysconfdir}/modeprobe.d/oniro-kernel-mod.conf"
# SPDX-FileCopyrightText: Huawei Inc.
#
# SPDX-License-Identifier: Apache-2.0
#
# This file contains modprobe config
......@@ -11,4 +11,5 @@ PACKAGES = "packagegroup-oniro-core"
RDEPENDS:packagegroup-oniro-core = "\
oniro-mounts \
oniro-sysctl \
oniro-modprobe \
"
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