From 0dde332c945bcb0d04ed116a01ca61687166ee26 Mon Sep 17 00:00:00 2001 From: Serhii Voloshynov Date: Thu, 21 Jan 2021 14:58:17 +0200 Subject: [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 --- recipes-core/base-files/base-files_3.0.14.bbappend | 5 +++-- 1 file 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 -- cgit v1.2.3