summaryrefslogtreecommitdiff
path: root/recipes-core/base-files/base-files_3.0.14.bbappend
blob: d7431add27aadb73c127aab1454277ae4f6c442e (plain)
1
2
3
4
5
6
7
8
9
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PR = "m1"

do_install_append() {
   if [ -d ${D}/media ] ; then
     rmdir ${D}/media  # So the next line does not nest the media link inside of media
   fi
   ln -snf /run/media ${D}/media
}