diff options
author | Evgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru> | 2022-09-21 16:20:33 +0300 |
---|---|---|
committer | Evgeny Alekseev (IBS Group) <ealekseev@ibs.sila.ru> | 2022-09-21 16:28:27 +0300 |
commit | 6392e134d6f3869620cea759eee4db87eccc59a0 (patch) | |
tree | c6149ae790a50430ef085f8bb84233bc584d8e79 | |
parent | e03ca906262c5161c27dfb4b892a0cbb0b9bde24 (diff) | |
download | openbmc-6392e134d6f3869620cea759eee4db87eccc59a0.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_%.bbappend | 4 |
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 + } |