mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
recipes: Start WORKDIR -> UNPACKDIR transition
Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -37,8 +37,8 @@ EXTRA_OECONF = " \
|
||||
do_install:prepend() {
|
||||
install -d ${D}${sysconfdir}/default/
|
||||
install -d ${D}${sysconfdir}/init.d/
|
||||
install -m 0755 ${WORKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
|
||||
install -m 0755 ${WORKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
|
||||
install -m 0755 ${UNPACKDIR}/owhttpd ${D}${sysconfdir}/init.d/owhttpd
|
||||
install -m 0755 ${UNPACKDIR}/owserver ${D}${sysconfdir}/init.d/owserver
|
||||
}
|
||||
|
||||
PACKAGES =+ "owftpd owhttpd owserver owshell libowcapi libow libownet owmon owtap"
|
||||
|
||||
@@ -68,7 +68,7 @@ do_install:append() {
|
||||
# Install systemd related configuration file
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/modules-load.d
|
||||
install -m 0644 ${WORKDIR}/fuse.conf ${D}${sysconfdir}/modules-load.d
|
||||
install -m 0644 ${UNPACKDIR}/fuse.conf ${D}${sysconfdir}/modules-load.d
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ do_configure:prepend() {
|
||||
|
||||
do_configure:append () {
|
||||
install -d ${S}/include/linux/
|
||||
cp ${WORKDIR}/aufs_type.h ${S}/include/linux/
|
||||
cp ${UNPACKDIR}/aufs_type.h ${S}/include/linux/
|
||||
sed -i -e 's;__user;;' ${S}/include/linux/aufs_type.h
|
||||
}
|
||||
|
||||
|
||||
@@ -58,10 +58,10 @@ do_install() {
|
||||
|
||||
unionmount_target_dir=${D}${prefix}/xfstests/unionmount-testsuite
|
||||
install -d $unionmount_target_dir/tests
|
||||
install ${WORKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests
|
||||
install ${WORKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
|
||||
install ${WORKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
|
||||
install ${WORKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
|
||||
install ${UNPACKDIR}/unionmount-testsuite/tests/* -t $unionmount_target_dir/tests
|
||||
install ${UNPACKDIR}/unionmount-testsuite/*.py -t $unionmount_target_dir
|
||||
install ${UNPACKDIR}/unionmount-testsuite/run -t $unionmount_target_dir
|
||||
install ${UNPACKDIR}/unionmount-testsuite/README -t $unionmount_target_dir
|
||||
}
|
||||
|
||||
FILES:${PN} += "${prefix}/xfstests"
|
||||
|
||||
Reference in New Issue
Block a user