From: antohami@basealt.ru To: devel-kernel@lists.altlinux.org Subject: [d-kernel] [PATCH 2/2] Replace devicetree from /lib to /boot Date: Mon, 18 Apr 2022 22:42:00 +0700 Message-ID: <28f172c59486e85b07771d2f764a3501b1705645.1650295032.git.antohami@altlinux.org> (raw) In-Reply-To: <cover.1650295032.git.antohami@altlinux.org> From: Anton Midyukov <antohami@altlinux.org> To bootload with a separate patition /boot, it is required to devicetree on the same partition. --- kernel-image.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/kernel-image.spec b/kernel-image.spec index da2739fc46df..ca6e562dfc81 100644 --- a/kernel-image.spec +++ b/kernel-image.spec @@ -423,13 +423,15 @@ mv %buildroot%modules_dir/kernel/drivers/media/dvb-core/dvb-core.ko %buildroot%m mv %buildroot%modules_dir/kernel/drivers/media/radio/tea575x.ko %buildroot%modules_dir/kernel/drivers/media-core/ %ifarch aarch64 %arm -make dtbs_install INSTALL_DTBS_PATH=%buildroot/lib/devicetree/$KernelVer +make dtbs_install INSTALL_DTBS_PATH=%buildroot/boot/devicetree/$KernelVer %ifarch aarch64 -pushd %buildroot/lib/devicetree/$KernelVer/ +pushd %buildroot/boot/devicetree/$KernelVer/ find . -mindepth 2 -type f | \ while read f; do ln -srv "$f" "$(basename $f)"; done popd %endif +mkdir -p %buildroot/lib/devicetree +ln -s /boot/devicetree/$KernelVer %buildroot/lib/devicetree/$KernelVer %endif mkdir -p %buildroot%kbuild_dir/arch/%arch_dir @@ -592,6 +594,7 @@ check-pesign-helper %ghost %modules_dir/modules.symbols.bin %ghost %modules_dir/modules.builtin.bin %ifarch aarch64 %arm +/boot/devicetree/%kversion-%flavour-%krelease /lib/devicetree/%kversion-%flavour-%krelease %endif -- 2.33.0
prev parent reply other threads:[~2022-04-18 15:42 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-18 15:41 [d-kernel] [PATCH 0/2] Replace devicetree antohami 2022-04-18 15:41 ` [d-kernel] [PATCH 1/2] /lib/devicetree/<name.dtb> -> /lib/devicetree/<vendor>/<name.dtb> for aarch64 antohami 2022-04-18 15:42 ` antohami [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=28f172c59486e85b07771d2f764a3501b1705645.1650295032.git.antohami@altlinux.org \ --to=antohami@basealt.ru \ --cc=devel-kernel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git