diff options
author | Serhii Voloshynov <serhii.voloshynov@globallogic.com> | 2021-01-21 14:58:17 +0200 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2021-01-21 09:54:07 -0600 |
commit | e8b82553e01f6a459dd373e7ac4595711e70ac05 (patch) | |
tree | eee22f19264ac63352a5f60c68b16496be7343e3 | |
parent | 991bce55e69e5f3b1a3e513b4903f4f6ce47501a (diff) | |
download | meta-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
-rw-r--r-- | recipes-core/base-files/base-files_3.0.14.bbappend | 5 |
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 |