Debian: Create worker's correct mount path dir for /opt/platform

There is a typo on the path

Story: 2010211
Task: 46259

Signed-off-by: Andre Fernando Zanella Kantek <AndreFernandoZanella.Kantek@windriver.com>
Change-Id: I78775801f7e288c1452cf9da54c50bf918649655
This commit is contained in:
Andre Fernando Zanella Kantek 2022-09-09 15:07:09 -03:00
parent c26aacc831
commit ec6bb72bd3
1 changed files with 1 additions and 1 deletions

View File

@ -2413,7 +2413,7 @@ if [ ${controller} = true ] ; then
mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/platform-backup
echo -e "LABEL=platform_backup\t/var/rootdirs/opt/platform-backup\text4\tdefaults\t1 2" >> ${IMAGE_ROOTFS}/etc/fstab
elif [ ${worker} = true ] ; then
mkdir -p ${IMAGE_ROOTFS}/var/rootdir/opt/platform
mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/platform
echo -e "controller-platform-nfs:/opt/platform\t/opt/platform\tnfs\ttimeo=30,udp,rsize=1024,wsize=1024,_netdev 0 0" >> ${IMAGE_ROOTFS}/etc/fstab
fi