]> code.ossystems Code Review - openembedded-core.git/commit
uboot-sign.bbclass: fix some install commands
authorMing Liu <liu.ming50@gmail.com>
Mon, 21 Jun 2021 11:29:39 +0000 (13:29 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Jun 2021 14:17:06 +0000 (15:17 +0100)
commitdb2b1da511ea3d4daef136a8b1d85b7040a46632
treef83c8f47c7457fb4fa7d2b41864cdc6b755aa649
parent8628a276a01e994e84d3c6ac8397860e8e2bbb5b
uboot-sign.bbclass: fix some install commands

A "install -d" command is missing when dealing with
${UBOOT_NODTB_BINARY} in install_spl_helper function, this can lead
to invalid install error saying:

| install: cannot create .../usr/share/u-boot-nodtb-2021.04-r0.bin': No such file or directory

Let's drop all "install -d" and replace them with "install -Dm" in
install_helper/install_spl_helper functions.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/uboot-sign.bbclass