From c402fc92dc89e635aed09cafe1a346f577d281f6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mat=C3=ADas=20Fonzo?= Date: Mon, 22 Mar 2021 06:46:20 -0300 Subject: [PATCH] recipes: kernel/generic: Use 'rootdir' in post-install script MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Matías Fonzo --- recipes/kernel/generic/recipe | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/kernel/generic/recipe b/recipes/kernel/generic/recipe index e7318695..38e75501 100644 --- a/recipes/kernel/generic/recipe +++ b/recipes/kernel/generic/recipe @@ -1,6 +1,6 @@ # Build recipe for linux-libre (generic). # -# Copyright (c) 2017-2020 Matias Fonzo, . +# Copyright (c) 2017-2021 Matias Fonzo, . # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -19,7 +19,7 @@ set -e program=linux version=5.4.61 -release=1 +release=2 # Define a category for the output of the package name pkgcategory=kernel @@ -163,7 +163,7 @@ srcdir="${srcdir##*/}" ) # Generate or update the module dependency list -chroot . /sbin/depmod -a $strver +chroot "\$rootdir" /sbin/depmod -a $strver EOF } -- 2.11.4.GIT