Skip to content

Commit

Permalink
Merge pull request #1771 from hiagofranco/backport-use_root_home_yoct…
Browse files Browse the repository at this point in the history
…o_var

imx-test: Use ROOT_HOME instead of hardcoded home directory
  • Loading branch information
otavio authored Mar 14, 2024
2 parents e24321c + 65c92d5 commit d6092d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recipes-bsp/imx-test/imx-test_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ do_install() {
if [ -e ${WORKDIR}/clocks.sh ]; then
install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh
fi
install -d -m 0755 ${D}/home/root/
install -m 0644 ${WORKDIR}/memtool_profile ${D}/home/root/.profile
install -d -m 0755 ${D}${ROOT_HOME}/
install -m 0644 ${WORKDIR}/memtool_profile ${D}${ROOT_HOME}/.profile
}

FILES:${PN} += "/unit_tests /home/root/.profile"
FILES:${PN} += "/unit_tests ${ROOT_HOME}/.profile"
RDEPENDS:${PN} = "bash"

FILES:${PN}-dbg += "/unit_tests/.debug"

0 comments on commit d6092d7

Please sign in to comment.