udev: mount.sh: force to find files in /tmp

Our /tmp file is a symbolic link to /var/tmp, therefore a "find /tmp" returns
nothing. Force to search files inside tmp folder by using "find /tmp/".

https://onedigi.atlassian.net/browse/DEL-8410

Signed-off-by: Isaac Hermida <isaac.hermida@digi.com>
This commit is contained in:
Isaac Hermida 2023-03-02 12:51:18 +01:00
parent e76027fd85
commit 484214dc71
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ do_install:append() {
# evbug debug tool # evbug debug tool
install -m 0644 ${WORKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d install -m 0644 ${WORKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d
fi fi
# Fix mount.sh to force to find files in /tmp as symlink
sed -i -e 's|find /tmp|find -L /tmp|g' ${D}${sysconfdir}/udev/scripts/mount.sh
} }
do_install:append:ccmp1() { do_install:append:ccmp1() {