Ads 468x60px

##EasyReadMore##

06 12月, 2017

recipe 語法:

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# FILESEXTRAPATHS_prepend = patch 檔案位置
# ${THISDIR} = bb,bbappend file 所在位置
# ${PN} = Packet Name

install -m 0644 ${WORKDIR}/mosquitto.conf ${D}${sysconfdir}/mosquitto/
# -m = move
# ${D} = tmp/work/i586-nlp-32-poky-linux/mosquitto/1.4.14-r0/sysroot-destdir
# ${sysconfdir} = /etc
# ${WORKDIR} = files

install -d ${D}${systemd_unitdir}/system/
# -d = add dir
# ${systemd_unitdir} = /lib/systemd/system

0 意見:

張貼留言

 
Blogger Templates