diff options
-rw-r--r-- | meta-app-framework/recipes-core/base-files/base-files_%.bbappend | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-app-framework/recipes-core/base-files/base-files_%.bbappend b/meta-app-framework/recipes-core/base-files/base-files_%.bbappend index 7e12bc829..0e93b4d65 100644 --- a/meta-app-framework/recipes-core/base-files/base-files_%.bbappend +++ b/meta-app-framework/recipes-core/base-files/base-files_%.bbappend @@ -4,6 +4,13 @@ RDEPENDS_${PN}_append_smack = " smack-userspace" do_install_append() { install -d ${D}/${sysconfdir}/skel/app-data install -d ${D}/${sysconfdir}/skel/.config + install -m 0755 -d ${D}/var + if [ -d ${D}/usr/local ]; then + mv ${D}/usr/local ${D}/var + else + install -m 0755 -d ${D}/var/local + fi + ln -s ../../var/local ${D}/usr/local } do_install_append_smack () { |