summaryrefslogtreecommitdiff
path: root/recipes-core/base-files
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-06-22 09:10:28 -0500
commit0dde332c945bcb0d04ed116a01ca61687166ee26 (patch)
treeb80823260567208bcbbe477bbbdee56be4438fab /recipes-core/base-files
parent9c2d0c0d6cf0c4bafce393c76b5035632aed37dd (diff)
downloadmeta-mlinux-0dde332c945bcb0d04ed116a01ca61687166ee26.tar.gz
meta-mlinux-0dde332c945bcb0d04ed116a01ca61687166ee26.tar.bz2
meta-mlinux-0dde332c945bcb0d04ed116a01ca61687166ee26.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/base-files')
-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