]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 30 Jun 2021 05:59:37 +0000 (13:59 +0800)
commit0fc4e10250e69a67c5250ce48bfc632d90a34097
tree65077fe35bb9d721c8fbf0917386cce675343adc
parent7d453c460572c86531bb6f84171a2ee9be002efb
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>
(cherry picked from commit db2b1da511ea3d4daef136a8b1d85b7040a46632)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/uboot-sign.bbclass