FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" SRC_URI += "file://defaut-env.sh" do_install:append(){ install -d ${D}/${sysconfdir}/profile.d/ install -m 0755 ${S}/defaut-env.sh ${D}/${sysconfdir}/profile.d/ }