diff options
author | Jose Ignacio Tornos Martinez <jtornosm@redhat.com> | 2024-03-11 17:22:38 +0100 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-03-19 02:30:51 +0900 |
commit | 097f1200bf7ea19fb39ccf538a07a153260a7763 (patch) | |
tree | 5838fb679116c1e68ba72240d3397e73b4e0c30a /security/landlock/fs.c | |
parent | b27a91383abc4acca39f4402cdcc74ce4a476d8e (diff) | |
download | linux-stable-097f1200bf7ea19fb39ccf538a07a153260a7763.tar.gz linux-stable-097f1200bf7ea19fb39ccf538a07a153260a7763.tar.bz2 linux-stable-097f1200bf7ea19fb39ccf538a07a153260a7763.zip |
kbuild: rpm-pkg: add dtb files in kernel rpm
Some architectures, like aarch64 ones, need a dtb file to configure the
hardware. The default dtb file can be preloaded from u-boot, but the final
and/or more complete dtb file needs to be able to be loaded later from
rootfs.
Add the possible dtb files to the kernel rpm and mimic Fedora shipping
process, storing the dtb files in the module directory. These dtb files
will be copied to /boot directory by the install scripts, but add fallback
just in case, checking if the content in /boot directory is correct.
Mark the files installed to /boot as %ghost to make sure they will be
removed when the package is uninstalled.
Tested with Fedora Rawhide (x86_64 and aarch64) with dnf and rpm tools.
In addition, fallback was also tested after modifying the install scripts.
Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'security/landlock/fs.c')
0 files changed, 0 insertions, 0 deletions