summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru>2022-09-21 16:20:33 +0300
committerEvgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru>2022-09-21 16:26:34 +0300
commitd54078634e0838917c9cfb3c78dceccd86046ea1 (patch)
treed14eb1ccfce4ef83640aec5ca56fa2b47c197c72
parent0fb267e6c45c5f2a0a3545821345e28b90101955 (diff)
downloadopenbmc-d54078634e0838917c9cfb3c78dceccd86046ea1.tar.xz
IBS: add symlink from /usr/bin to /sbin on fw_*env
-rw-r--r--meta-ibs/meta-common/recipes-bsp/u-boot/libubootenv_%.bbappend4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-ibs/meta-common/recipes-bsp/u-boot/libubootenv_%.bbappend b/meta-ibs/meta-common/recipes-bsp/u-boot/libubootenv_%.bbappend
index 39e097fdd1..6aaec4accc 100644
--- a/meta-ibs/meta-common/recipes-bsp/u-boot/libubootenv_%.bbappend
+++ b/meta-ibs/meta-common/recipes-bsp/u-boot/libubootenv_%.bbappend
@@ -5,6 +5,10 @@ SRC_URI:append = " file://fw_env.config \
do_install:append() {
install -d ${D}${sysconfdir}
+ install -d ${D}/sbin
install -m 0444 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
install -m 0444 ${WORKDIR}/u-boot-initial-env ${D}${sysconfdir}/u-boot-initial-env
+ ln -s -r ${D}/usr/bin/fw_setenv ${D}/sbin/fw_setenv
+ ln -s -r ${D}/usr/bin/fw_printenv ${D}/sbin/fw_printenv
+
}