summaryrefslogtreecommitdiff
path: root/recipes-core
diff options
context:
space:
mode:
authorSerhii Voloshynov <serhii.voloshynov@globallogic.com>2021-01-21 14:58:17 +0200
committerJohn Klug <john.klug@multitech.com>2021-01-21 09:54:07 -0600
commite8b82553e01f6a459dd373e7ac4595711e70ac05 (patch)
treeeee22f19264ac63352a5f60c68b16496be7343e3 /recipes-core
parent991bce55e69e5f3b1a3e513b4903f4f6ce47501a (diff)
downloadmeta-mlinux-e8b82553e01f6a459dd373e7ac4595711e70ac05.tar.gz
meta-mlinux-e8b82553e01f6a459dd373e7ac4595711e70ac05.tar.bz2
meta-mlinux-e8b82553e01f6a459dd373e7ac4595711e70ac05.zip
[MTX-3757][GP-982] mPower R.5.4: Reset to Default does not remove /tmp folder (which is a symbolic link) and error message occurs "rm: can't remove '/tmp': Invalid argument" - GP-982
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/base-files/base-files_3.0.14.bbappend5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend
index 4221344..74fb040 100644
--- a/recipes-core/base-files/base-files_3.0.14.bbappend
+++ b/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -1,5 +1,5 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
-PR = "m2"
+PR = "m3"
CONFFILES_${PN}_remove = "${sysconfdir}/fstab"
FILES_${PN}_remove = "${sysconfdir}/fstab"
@@ -14,7 +14,8 @@ do_install_append() {
rm ${D}/${sysconfdir}/fstab
fi
set +x
-
+ rm -rf ${D}/tmp
+ ln -snf /var/tmp ${D}/tmp
cat >> ${D}${sysconfdir}/profile << 'EOT'
for g in $(groups) ; do