mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +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:
@@ -70,13 +70,13 @@ do_install:append() {
|
||||
|
||||
install -m 0755 -d ${D}${sysconfdir}
|
||||
install -m 0755 -d ${D}${sysconfdir}/lirc
|
||||
install -m 0644 ${WORKDIR}/lircd.conf ${D}${sysconfdir}/lirc/
|
||||
install -m 0644 ${WORKDIR}/lirc_options.conf ${D}${sysconfdir}/lirc/
|
||||
install -m 0644 ${UNPACKDIR}/lircd.conf ${D}${sysconfdir}/lirc/
|
||||
install -m 0644 ${UNPACKDIR}/lirc_options.conf ${D}${sysconfdir}/lirc/
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -m 0755 -d ${D}${systemd_unitdir}/system ${D}${libdir}/tmpfiles.d
|
||||
install -m 0644 ${WORKDIR}/lircd.service ${D}${systemd_unitdir}/system/
|
||||
install -m 0755 ${WORKDIR}/lircexec.init ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${WORKDIR}/lirc.tmpfiles ${D}${libdir}/tmpfiles.d/lirc.conf
|
||||
install -m 0644 ${UNPACKDIR}/lircd.service ${D}${systemd_unitdir}/system/
|
||||
install -m 0755 ${UNPACKDIR}/lircexec.init ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${UNPACKDIR}/lirc.tmpfiles ${D}${libdir}/tmpfiles.d/lirc.conf
|
||||
else
|
||||
rm -rf ${D}/lib
|
||||
fi
|
||||
|
||||
+4
-4
@@ -55,13 +55,13 @@ do_install:append(){
|
||||
|
||||
install -d ${D}${sysconfdir}/thingsboard-gateway/config
|
||||
|
||||
for file in $(find ${WORKDIR} -maxdepth 1 -type f -name *.json); do
|
||||
for file in $(find ${UNPACKDIR} -maxdepth 1 -type f -name *.json); do
|
||||
install -m 0644 "$file" ${D}${sysconfdir}/thingsboard-gateway/config
|
||||
done
|
||||
|
||||
install -m 0644 ${WORKDIR}/tb_gateway.yaml ${D}${sysconfdir}/thingsboard-gateway/config
|
||||
install -m 0644 ${WORKDIR}/logs.conf ${D}${sysconfdir}/thingsboard-gateway/config
|
||||
install -m 0644 ${UNPACKDIR}/tb_gateway.yaml ${D}${sysconfdir}/thingsboard-gateway/config
|
||||
install -m 0644 ${UNPACKDIR}/logs.conf ${D}${sysconfdir}/thingsboard-gateway/config
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${WORKDIR}/thingsboard-gateway.service ${D}${systemd_system_unitdir}/thingsboard-gateway.service
|
||||
install -m 0644 ${UNPACKDIR}/thingsboard-gateway.service ${D}${systemd_system_unitdir}/thingsboard-gateway.service
|
||||
}
|
||||
|
||||
@@ -34,9 +34,9 @@ LDFLAGS:append:libc-musl = " -largp"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon
|
||||
install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/rasdaemon
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/rasdaemon.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${UNPACKDIR}/rasdaemon.service ${D}${systemd_unitdir}/system
|
||||
}
|
||||
|
||||
FILES:${PN} += "${sbindir}/rasdaemon \
|
||||
|
||||
+6
-6
@@ -14,17 +14,17 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-start ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-cleanup ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-start ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-cleanup ${D}${bindir}
|
||||
|
||||
if [ -r ${WORKDIR}/android-gadget-setup.machine ] ; then
|
||||
if [ -r ${UNPACKDIR}/android-gadget-setup.machine ] ; then
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/android-gadget-setup.machine ${D}${sysconfdir}
|
||||
install -m 0644 ${UNPACKDIR}/android-gadget-setup.machine ${D}${sysconfdir}
|
||||
fi
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
|
||||
install -m 0644 ${WORKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
|
||||
install -m 0644 ${UNPACKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
|
||||
}
|
||||
|
||||
FILES:${PN} += " \
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ SRC_URI = "file://android-gadget-setup"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
|
||||
}
|
||||
|
||||
python () {
|
||||
|
||||
+1
-1
@@ -153,7 +153,7 @@ do_install() {
|
||||
fi
|
||||
|
||||
# Outside the if statement to avoid errors during do_package
|
||||
install -D -p -m0644 ${WORKDIR}/android-tools-adbd.service \
|
||||
install -D -p -m0644 ${UNPACKDIR}/android-tools-adbd.service \
|
||||
${D}${systemd_unitdir}/system/android-tools-adbd.service
|
||||
|
||||
install -d ${D}${libdir}/android/
|
||||
|
||||
@@ -37,8 +37,8 @@ do_install() {
|
||||
|
||||
install -m 0755 ${S}/iozone ${D}${bindir}
|
||||
install -m 0755 ${S}/fileop ${D}${bindir}
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
|
||||
install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/iozone.1 ${D}${mandir}/man1/
|
||||
install -m 0644 ${UNPACKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
|
||||
|
||||
install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples
|
||||
install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples
|
||||
@@ -48,9 +48,9 @@ do_install() {
|
||||
install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples
|
||||
install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples
|
||||
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
|
||||
install -m 0644 ${S}/../../docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/doc/${PN}/copyright.txt"
|
||||
|
||||
@@ -2,7 +2,7 @@ DESCRIPTION = "LINPACK Benchmarks are a measure of a system's floating point com
|
||||
SUMMARY = "LINPACK is a software library for performing numerical linear algebra on digital computers"
|
||||
|
||||
LICENSE = "PD"
|
||||
LIC_FILES_CHKSUM ="file://${WORKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87"
|
||||
LIC_FILES_CHKSUM ="file://${UNPACKDIR}/linpacknew.c;beginline=1;endline=23;md5=aa025e3bc44190c71e4c5e3b084fed87"
|
||||
|
||||
SRC_URI = "http://www.netlib.org/benchmark/linpackc.new;downloadfilename=linpacknew.c \
|
||||
file://0001-linpack-Define-DP-only-when-SP-is-not-defined.patch \
|
||||
|
||||
@@ -75,7 +75,7 @@ do_install () {
|
||||
DESTDIR="${D}" \
|
||||
-C src install
|
||||
mv ${D}${bindir}/line ${D}${bindir}/lm_line
|
||||
install -m 0755 ${WORKDIR}/lmbench-run ${D}${bindir}/
|
||||
install -m 0755 ${UNPACKDIR}/lmbench-run ${D}${bindir}/
|
||||
install -m 0755 ${S}/bin/${TARGET_SYS}/cache ${D}${bindir}/
|
||||
sed -i -e 's,^SHAREDIR=.*$,SHAREDIR=${datadir}/${BPN},;' \
|
||||
-e 's,^CONFIG=.*$,CONFIG=`$SCRIPTSDIR/config`,;' \
|
||||
|
||||
@@ -48,7 +48,7 @@ RDEPENDS:${PN}:append = " \
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 644 ${WORKDIR}/edac.service ${D}/${systemd_unitdir}/system
|
||||
install -m 644 ${UNPACKDIR}/edac.service ${D}/${systemd_unitdir}/system
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}/${systemd_unitdir}/system/edac.service
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,6 @@ do_configure:prepend() {
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/firmwared.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/firmwared.service ${D}${systemd_system_unitdir}
|
||||
sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/firmwared.service
|
||||
}
|
||||
|
||||
@@ -60,5 +60,5 @@ do_install () {
|
||||
done
|
||||
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
|
||||
install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME}
|
||||
}
|
||||
|
||||
@@ -70,11 +70,11 @@ do_install() {
|
||||
install -d ${D}${INIT_D_DIR}
|
||||
|
||||
# Install fancontrol init script
|
||||
install -m 0755 ${WORKDIR}/fancontrol.init ${D}${INIT_D_DIR}/fancontrol
|
||||
install -m 0755 ${UNPACKDIR}/fancontrol.init ${D}${INIT_D_DIR}/fancontrol
|
||||
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'sensord', 'true', 'false', d)}; then
|
||||
# Install sensord init script
|
||||
install -m 0755 ${WORKDIR}/sensord.init ${D}${INIT_D_DIR}/sensord
|
||||
install -m 0755 ${UNPACKDIR}/sensord.init ${D}${INIT_D_DIR}/sensord
|
||||
fi
|
||||
|
||||
# Insall sensord service script
|
||||
|
||||
@@ -22,8 +22,8 @@ do_install:append() {
|
||||
rm -rf ${D}/usr/share/gammu
|
||||
#install default configuration files
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/gammurc ${D}${sysconfdir}/gammurc
|
||||
install -m 0644 ${WORKDIR}/gammu-smsdrc ${D}${sysconfdir}/gammu-smsdrc
|
||||
install -m 0644 ${UNPACKDIR}/gammurc ${D}${sysconfdir}/gammurc
|
||||
install -m 0644 ${UNPACKDIR}/gammu-smsdrc ${D}${sysconfdir}/gammu-smsdrc
|
||||
}
|
||||
|
||||
EXTRA_OECONF = " \
|
||||
|
||||
@@ -29,7 +29,7 @@ SYSTEMD_SERVICE:${PN} = "hostapd.service"
|
||||
SYSTEMD_AUTO_ENABLE:${PN} = "disable"
|
||||
|
||||
do_configure:append() {
|
||||
install -m 0644 ${WORKDIR}/defconfig ${B}/.config
|
||||
install -m 0644 ${UNPACKDIR}/defconfig ${B}/.config
|
||||
}
|
||||
|
||||
do_compile() {
|
||||
@@ -43,8 +43,8 @@ do_install() {
|
||||
install -m 0644 ${B}/hostapd.conf ${D}${sysconfdir}
|
||||
install -m 0755 ${B}/hostapd ${D}${sbindir}
|
||||
install -m 0755 ${B}/hostapd_cli ${D}${sbindir}
|
||||
install -m 755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hostapd
|
||||
install -m 0644 ${WORKDIR}/hostapd.service ${D}${systemd_unitdir}/system/
|
||||
install -m 755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/hostapd
|
||||
install -m 0644 ${UNPACKDIR}/hostapd.service ${D}${systemd_unitdir}/system/
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/hostapd.service
|
||||
}
|
||||
|
||||
|
||||
@@ -74,8 +74,8 @@ do_install:append() {
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||
mkdir -p ${D}/${sysconfdir}/init.d ${D}/${sysconfdir}/default
|
||||
install -m 0755 ${WORKDIR}/etc/init.d/* ${D}/${sysconfdir}/init.d
|
||||
install -m 0644 ${WORKDIR}/etc/default/* ${D}/${sysconfdir}/default
|
||||
install -m 0755 ${UNPACKDIR}/etc/init.d/* ${D}/${sysconfdir}/init.d
|
||||
install -m 0644 ${UNPACKDIR}/etc/default/* ${D}/${sysconfdir}/default
|
||||
|
||||
mkdir -p ${D}/${sysconfdir}/default/volatiles
|
||||
echo "d root root 0755 ${localstatedir}/run/krb5kdc none" \
|
||||
@@ -90,11 +90,11 @@ do_install:append() {
|
||||
> ${D}${sysconfdir}/tmpfiles.d/krb5.conf
|
||||
|
||||
mkdir -p ${D}/${sysconfdir}/default
|
||||
install -m 0644 ${WORKDIR}/etc/default/* ${D}/${sysconfdir}/default
|
||||
install -m 0644 ${UNPACKDIR}/etc/default/* ${D}/${sysconfdir}/default
|
||||
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/krb5-admin-server.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/krb5-kdc.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/krb5-admin-server.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/krb5-kdc.service ${D}${systemd_system_unitdir}
|
||||
fi
|
||||
|
||||
sed -e 's@[^ ]*-ffile-prefix-map=[^ "]*@@g' \
|
||||
|
||||
@@ -46,10 +46,10 @@ do_install() {
|
||||
install -d ${D}/${systemd_unitdir}/system/
|
||||
for service in ${LINUXPTP_SYSTEMD_SERVICES}; do
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' \
|
||||
${WORKDIR}/systemd/$service.in
|
||||
${UNPACKDIR}/systemd/$service.in
|
||||
sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
||||
${WORKDIR}/systemd/$service.in
|
||||
install -m 644 ${WORKDIR}/systemd/$service.in \
|
||||
${UNPACKDIR}/systemd/$service.in
|
||||
install -m 644 ${UNPACKDIR}/systemd/$service.in \
|
||||
${D}/${systemd_unitdir}/system/$service
|
||||
done
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ CONFFILES:${PN} += "${sysconfdir}/ser2net/ser2net.yaml"
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/ser2net.service ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${UNPACKDIR}/ser2net.service ${D}${systemd_unitdir}/system/
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/ser2net.service
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -32,9 +32,9 @@ TRANSMISSION_GROUP ??= "root"
|
||||
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||
sed -i '/USERNAME=/c\USERNAME=${TRANSMISSION_USER}' ${WORKDIR}/transmission-daemon
|
||||
sed -i '/USERNAME=/c\USERNAME=${TRANSMISSION_USER}' ${UNPACKDIR}/transmission-daemon
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0744 ${WORKDIR}/transmission-daemon ${D}${sysconfdir}/init.d/
|
||||
install -m 0744 ${UNPACKDIR}/transmission-daemon ${D}${sysconfdir}/init.d/
|
||||
chown ${TRANSMISSION_USER}:${TRANSMISSION_GROUP} ${D}${sysconfdir}/init.d/transmission-daemon
|
||||
fi
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ do_configure:prepend() {
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/zabbix-agent.service ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${UNPACKDIR}/zabbix-agent.service ${D}${systemd_unitdir}/system/
|
||||
sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/zabbix-agent.service
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ do_compile() {
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -Dm 0755 ${WORKDIR}/${BPN}.initd ${D}${sysconfdir}/init.d/${BPN}
|
||||
install -Dm 0755 ${UNPACKDIR}/${BPN}.initd ${D}${sysconfdir}/init.d/${BPN}
|
||||
install -Dm 0755 ${S}/nbcat ${D}${bindir}/nbcat
|
||||
install -Dm 0755 ${S}/mkemlog ${D}${bindir}/mkemlog
|
||||
}
|
||||
|
||||
@@ -31,8 +31,6 @@ SRC_URI[sha256sum] = "5239a245ed90517e96396605cd01ccd8f73cd7442d1b3076b6ffe25811
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://github.com/MariaDB/server/releases"
|
||||
|
||||
S = "${WORKDIR}/mariadb-${PV}"
|
||||
|
||||
BINCONFIG_GLOB = "mysql_config"
|
||||
|
||||
inherit cmake gettext binconfig update-rc.d systemd multilib_script pkgconfig
|
||||
@@ -163,18 +161,18 @@ do_install() {
|
||||
oe_runmake 'DESTDIR=${D}' install
|
||||
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -m 0644 ${WORKDIR}/my.cnf ${D}/${sysconfdir}/
|
||||
install -m 0755 ${WORKDIR}/install_db ${D}/${sysconfdir}/init.d/
|
||||
install -m 0644 ${UNPACKDIR}/my.cnf ${D}/${sysconfdir}/
|
||||
install -m 0755 ${UNPACKDIR}/install_db ${D}/${sysconfdir}/init.d/
|
||||
mv ${D}/${sysconfdir}/init.d/mysql ${D}/${sysconfdir}/init.d/mysqld
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/mysqld.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/install_db.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${UNPACKDIR}/mysqld.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${UNPACKDIR}/install_db.service ${D}${systemd_unitdir}/system
|
||||
sed -i -e 's,@BINDIR@,${bindir},g' -e 's,@PREFIX@,${prefix},g' ${D}${systemd_unitdir}/system/mysqld.service \
|
||||
${D}${systemd_unitdir}/system/install_db.service
|
||||
|
||||
install -d ${D}${bindir}
|
||||
install -m 755 ${WORKDIR}/mysql-systemd-start ${D}${bindir}
|
||||
install -m 755 ${UNPACKDIR}/mysql-systemd-start ${D}${bindir}
|
||||
install -d ${D}${datadir}/doc/${PN}
|
||||
if [ -f ${D}${datadir}/doc/README ]; then
|
||||
mv ${D}${datadir}/doc/README ${D}${datadir}/doc/${PN}/
|
||||
|
||||
@@ -198,24 +198,24 @@ do_install:append() {
|
||||
|
||||
# install dirs and server init
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/${BPN}.init ${D}${sysconfdir}/init.d/${BPN}-server
|
||||
install -m 0755 ${UNPACKDIR}/${BPN}.init ${D}${sysconfdir}/init.d/${BPN}-server
|
||||
sed -i -e "s/^PGVERSION=.*$/PGVERSION=${PV}/g" ${D}${sysconfdir}/init.d/${BPN}-server
|
||||
install -m 0755 ${WORKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup
|
||||
install -m 0755 ${UNPACKDIR}/${BPN}-setup ${D}${bindir}/${BPN}-setup
|
||||
install -d -m 700 ${D}${localstatedir}/lib/${BPN}/data
|
||||
install -d -m 700 ${D}${localstatedir}/lib/${BPN}/backups
|
||||
install -m 644 ${WORKDIR}/${BPN}-profile ${D}${localstatedir}/lib/${BPN}/.profile
|
||||
install -m 644 ${UNPACKDIR}/${BPN}-profile ${D}${localstatedir}/lib/${BPN}/.profile
|
||||
chown -R postgres:postgres ${D}${localstatedir}/lib/${BPN}
|
||||
# multiple server config directory
|
||||
install -d -m 700 ${D}${sysconfdir}/default/${BPN}
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/pam.d
|
||||
install -m 644 ${WORKDIR}/postgresql.pam ${D}${sysconfdir}/pam.d/postgresql
|
||||
install -m 644 ${UNPACKDIR}/postgresql.pam ${D}${sysconfdir}/pam.d/postgresql
|
||||
fi
|
||||
|
||||
# Install systemd unit files
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/postgresql.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${UNPACKDIR}/postgresql.service ${D}${systemd_unitdir}/system
|
||||
sed -i -e 's,@BINDIR@,${bindir},g' \
|
||||
${D}${systemd_unitdir}/system/postgresql.service
|
||||
# Remove the build path
|
||||
|
||||
@@ -14,17 +14,17 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-start ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-cleanup ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-start ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-cleanup ${D}${bindir}
|
||||
|
||||
if [ -r ${WORKDIR}/android-gadget-setup.machine ] ; then
|
||||
if [ -r ${UNPACKDIR}/android-gadget-setup.machine ] ; then
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/android-gadget-setup.machine ${D}${sysconfdir}
|
||||
install -m 0644 ${UNPACKDIR}/android-gadget-setup.machine ${D}${sysconfdir}
|
||||
fi
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
|
||||
install -m 0644 ${WORKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
|
||||
install -m 0644 ${UNPACKDIR}/10-adbd-configfs.conf ${D}${systemd_unitdir}/system/android-tools-adbd.service.d
|
||||
}
|
||||
|
||||
FILES:${PN} += " \
|
||||
|
||||
@@ -9,7 +9,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir}
|
||||
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
|
||||
}
|
||||
|
||||
python () {
|
||||
|
||||
@@ -88,7 +88,7 @@ TOOLS:class-native = "fastboot ext4_utils mkbootimg"
|
||||
TOOLS:class-nativesdk = "fastboot ext4_utils mkbootimg"
|
||||
|
||||
do_compile() {
|
||||
cp ${WORKDIR}/gitignore ${S}/.gitignore
|
||||
cp ${UNPACKDIR}/gitignore ${S}/.gitignore
|
||||
|
||||
# Setting both variables below causing our makefiles to not work with
|
||||
# implicit make rules
|
||||
@@ -123,7 +123,7 @@ do_compile() {
|
||||
|
||||
for tool in ${TOOLS}; do
|
||||
mkdir -p ${B}/${tool}
|
||||
oe_runmake -f ${B}/${tool}.mk -C ${B}/${tool}
|
||||
oe_runmake -f ${UNPACKDIR}/${BPN}/${tool}.mk -C ${B}/${tool}
|
||||
done
|
||||
}
|
||||
|
||||
@@ -151,7 +151,7 @@ do_install() {
|
||||
fi
|
||||
|
||||
# Outside the if statement to avoid errors during do_package
|
||||
install -D -p -m0644 ${WORKDIR}/android-tools-adbd.service \
|
||||
install -D -p -m0644 ${UNPACKDIR}/android-tools-adbd.service \
|
||||
${D}${systemd_unitdir}/system/android-tools-adbd.service
|
||||
|
||||
if echo ${TOOLS} | grep -q "fastboot" ; then
|
||||
|
||||
@@ -24,7 +24,7 @@ do_install:append() {
|
||||
|
||||
do_install:append:class-target() {
|
||||
install -d ${D}${sysconfdir}/yum.repos.d
|
||||
install -m 0644 ${WORKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
|
||||
install -m 0644 ${UNPACKDIR}/oe-remote.repo.sample ${D}${sysconfdir}/yum.repos.d
|
||||
}
|
||||
|
||||
do_install:append:class-nativesdk() {
|
||||
|
||||
@@ -42,7 +42,7 @@ do_compile() {
|
||||
do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
install -D -m 0644 -p ${S}/iptraf-ng-logrotate.conf ${D}${sysconfdir}/logrotate.d/iptraf-ng
|
||||
install -Dm 0644 ${WORKDIR}/iptraf-ng-tmpfiles.conf ${D}${libdir}/tmpfiles.d/iptraf-ng-tmpfiles.conf
|
||||
install -Dm 0644 ${UNPACKDIR}/iptraf-ng-tmpfiles.conf ${D}${libdir}/tmpfiles.d/iptraf-ng-tmpfiles.conf
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir}/tmpfiles.d"
|
||||
|
||||
@@ -182,19 +182,19 @@ do_install:append:class-target() {
|
||||
rm -rf ${D}/.[a-z]*
|
||||
rm -rf ${D}/var
|
||||
rm -f ${D}/${sysconfdir}/php-fpm.conf.default
|
||||
install -m 0644 ${WORKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf
|
||||
install -m 0644 ${UNPACKDIR}/php-fpm.conf ${D}/${sysconfdir}/php-fpm.conf
|
||||
install -d ${D}/${sysconfdir}/apache2/conf.d
|
||||
install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
|
||||
install -m 0644 ${UNPACKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
sed -i 's:=/usr/sbin:=${sbindir}:g' ${B}/sapi/fpm/init.d.php-fpm
|
||||
sed -i 's:=/etc:=${sysconfdir}:g' ${B}/sapi/fpm/init.d.php-fpm
|
||||
sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm
|
||||
install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm
|
||||
install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
|
||||
install -m 0644 ${UNPACKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)};then
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/php-fpm.service ${D}${systemd_system_unitdir}/php-fpm.service
|
||||
install -m 0644 ${UNPACKDIR}/php-fpm.service ${D}${systemd_system_unitdir}/php-fpm.service
|
||||
sed -i -e 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${systemd_system_unitdir}/php-fpm.service
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/php-fpm.service
|
||||
sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_system_unitdir}/php-fpm.service
|
||||
@@ -203,7 +203,7 @@ do_install:append:class-target() {
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/apache2/modules.d
|
||||
install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION}
|
||||
install -m 644 ${WORKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf ${D}${sysconfdir}/apache2/modules.d
|
||||
install -m 644 ${UNPACKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf ${D}${sysconfdir}/apache2/modules.d
|
||||
sed -i s,lib/,${libexecdir}/, ${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf
|
||||
cat ${S}/php.ini-production | \
|
||||
sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \
|
||||
|
||||
@@ -27,6 +27,6 @@ inherit autotools ptest
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}
|
||||
install -m 0644 ${WORKDIR}/ptest.out.expected ${D}${PTEST_PATH}/ptest.out.expected
|
||||
install -m 0644 ${UNPACKDIR}/ptest.out.expected ${D}${PTEST_PATH}/ptest.out.expected
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ EXTRA_OECONF = " \
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/collectd.init ${D}${sysconfdir}/init.d/collectd
|
||||
install -m 0755 ${UNPACKDIR}/collectd.init ${D}${sysconfdir}/init.d/collectd
|
||||
sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${sysconfdir}/init.d/collectd
|
||||
sed -i 's!/etc/!${sysconfdir}/!g' ${D}${sysconfdir}/init.d/collectd
|
||||
sed -i 's!/var/!${localstatedir}/!g' ${D}${sysconfdir}/init.d/collectd
|
||||
@@ -77,7 +77,7 @@ do_install:append() {
|
||||
|
||||
# Install systemd unit files
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/collectd.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${UNPACKDIR}/collectd.service ${D}${systemd_unitdir}/system
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' \
|
||||
${D}${systemd_unitdir}/system/collectd.service
|
||||
}
|
||||
|
||||
@@ -50,14 +50,14 @@ EXTRA_OECONF = " \
|
||||
"
|
||||
|
||||
do_compile:prepend() {
|
||||
install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
|
||||
install -m 0644 ${UNPACKDIR}/qtplot-0.2/qtopia.trm ${S}/term/
|
||||
}
|
||||
|
||||
do_install:append:class-target() {
|
||||
install -d ${D}${datadir}/applications/
|
||||
install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}${datadir}/applications/
|
||||
install -m 0644 ${UNPACKDIR}/gnuplot.desktop ${D}${datadir}/applications/
|
||||
install -d ${D}${datadir}/pixmaps/
|
||||
install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
|
||||
install -m 0644 ${UNPACKDIR}/gnuplot.png ${D}${datadir}/pixmaps/
|
||||
}
|
||||
|
||||
PACKAGES =+ "${PN}-x11"
|
||||
|
||||
@@ -8,5 +8,5 @@ do_configure[noexec] = "1"
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
do_install() {
|
||||
install -Dm 0644 ${WORKDIR}/inputattach.conf ${D}${sysconfdir}/inputattach.conf
|
||||
install -Dm 0644 ${UNPACKDIR}/inputattach.conf ${D}${sysconfdir}/inputattach.conf
|
||||
}
|
||||
|
||||
@@ -50,11 +50,11 @@ do_compile() {
|
||||
do_install() {
|
||||
oe_runmake install
|
||||
|
||||
install -Dm 0644 ${WORKDIR}/51-these-are-not-joysticks-rm.rules ${D}${nonarch_base_libdir}/udev/rules.d/51-these-are-not-joysticks-rm.rules
|
||||
install -Dm 0644 ${WORKDIR}/60-joystick.rules ${D}${nonarch_base_libdir}/udev/rules.d/60-joystick.rules
|
||||
install -Dm 0644 ${UNPACKDIR}/51-these-are-not-joysticks-rm.rules ${D}${nonarch_base_libdir}/udev/rules.d/51-these-are-not-joysticks-rm.rules
|
||||
install -Dm 0644 ${UNPACKDIR}/60-joystick.rules ${D}${nonarch_base_libdir}/udev/rules.d/60-joystick.rules
|
||||
|
||||
install -Dm 0644 ${WORKDIR}/inputattach.service ${D}${systemd_system_unitdir}/inputattach.service
|
||||
install -Dm 0755 ${WORKDIR}/inputattachctl ${D}${bindir}/inputattachctl
|
||||
install -Dm 0644 ${UNPACKDIR}/inputattach.service ${D}${systemd_system_unitdir}/inputattach.service
|
||||
install -Dm 0755 ${UNPACKDIR}/inputattachctl ${D}${bindir}/inputattachctl
|
||||
}
|
||||
|
||||
PACKAGES += "inputattach joystick-jscal joystick"
|
||||
|
||||
@@ -47,7 +47,7 @@ SRCREV_FORMAT .= "_expected-lite_range-v3_magic-enum_cxxopts_gsl-lite_date_asio_
|
||||
SRC_URI[ossp-uuid.sha256sum] = "11a615225baa5f8bb686824423f50e4427acd3f70d394765bdff32801f0fd5b0"
|
||||
SRC_URI[libsodium.sha256sum] = "018d79fe0a045cca07331d37bd0cb57b2e838c51bc48fd837a1472e50068bbea"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
S = "${UNPACKDIR}/git"
|
||||
|
||||
inherit pkgconfig cmake systemd
|
||||
|
||||
@@ -162,7 +162,7 @@ do_install() {
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -m 755 -d ${D}${sysconfdir}/tmpfiles.d
|
||||
install -m 644 ${WORKDIR}/systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/minifi.conf
|
||||
install -m 644 ${UNPACKDIR}/systemd-volatile.conf ${D}${sysconfdir}/tmpfiles.d/minifi.conf
|
||||
sed -i "s|@MINIFI_LOG@|${MINIFI_LOG}|g" ${D}${sysconfdir}/tmpfiles.d/minifi.conf
|
||||
|
||||
install -m 755 -d ${D}${systemd_system_unitdir}
|
||||
@@ -174,7 +174,7 @@ do_install() {
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/default/volatiles
|
||||
install -m 0644 ${WORKDIR}/sysvinit-volatile.conf ${D}${sysconfdir}/default/volatiles/99_minifi
|
||||
install -m 0644 ${UNPACKDIR}/sysvinit-volatile.conf ${D}${sysconfdir}/default/volatiles/99_minifi
|
||||
|
||||
sed -i "s|@MINIFI_LOG@|${MINIFI_LOG}|g" ${D}${sysconfdir}/default/volatiles/99_minifi
|
||||
fi
|
||||
|
||||
@@ -26,8 +26,8 @@ do_install:append() {
|
||||
rmdir ${D}${libdir} || true
|
||||
|
||||
install -d -m 0755 ${D}${sbindir}
|
||||
install -m 0755 ${WORKDIR}/bridge-stp ${D}${sbindir}
|
||||
install -m 0755 ${UNPACKDIR}/bridge-stp ${D}${sbindir}
|
||||
|
||||
install -d -m 0755 ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/mstpd.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/mstpd.service ${D}${systemd_system_unitdir}
|
||||
}
|
||||
|
||||
@@ -57,7 +57,7 @@ do_install:append() {
|
||||
chmod 755 ${D}/${sysconfdir}/openwsman/owsmangencert.sh
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}/${systemd_unitdir}/system
|
||||
install -m 644 ${WORKDIR}/openwsmand.service ${D}/${systemd_unitdir}/system
|
||||
install -m 644 ${UNPACKDIR}/openwsmand.service ${D}/${systemd_unitdir}/system
|
||||
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/openwsmand.service
|
||||
sed -i -e 's,@SYSCONFDIR@,${sysconfdir},g' ${D}${systemd_unitdir}/system/openwsmand.service
|
||||
|
||||
@@ -7,7 +7,7 @@ require polkit-group-rule.inc
|
||||
SRC_URI = "file://50-org.freedesktop.timedate1.rules"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/50-org.freedesktop.timedate1.rules ${D}${sysconfdir}/polkit-1/rules.d
|
||||
install -m 0755 ${UNPACKDIR}/50-org.freedesktop.timedate1.rules ${D}${sysconfdir}/polkit-1/rules.d
|
||||
}
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
|
||||
@@ -7,7 +7,7 @@ require polkit-group-rule.inc
|
||||
SRC_URI = "file://50-org.freedesktop.NetworkManager.rules"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/50-org.freedesktop.NetworkManager.rules ${D}${sysconfdir}/polkit-1/rules.d
|
||||
install -m 0755 ${UNPACKDIR}/50-org.freedesktop.NetworkManager.rules ${D}${sysconfdir}/polkit-1/rules.d
|
||||
}
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
|
||||
@@ -10,7 +10,7 @@ SRC_URI = "file://50-org.freedesktop.udiskie.rules"
|
||||
RDEPENDS:${PN} += "udisks2"
|
||||
|
||||
do_install() {
|
||||
install -m 0755 ${WORKDIR}/50-org.freedesktop.udiskie.rules ${D}${sysconfdir}/polkit-1/rules.d
|
||||
install -m 0755 ${UNPACKDIR}/50-org.freedesktop.udiskie.rules ${D}${sysconfdir}/polkit-1/rules.d
|
||||
}
|
||||
|
||||
USERADD_PACKAGES = "${PN}"
|
||||
|
||||
@@ -36,10 +36,10 @@ do_install() {
|
||||
install -m 755 rarpd.init ${D}${sysconfdir}/init.d/rarpd
|
||||
install -m 755 rarpd ${D}${sbindir}/rarpd
|
||||
install -m 644 rarpd.8 ${D}${mandir}/man8/rarpd.8
|
||||
install -m 644 ${WORKDIR}/ethers.sample ${D}${sysconfdir}/ethers
|
||||
install -m 644 ${UNPACKDIR}/ethers.sample ${D}${sysconfdir}/ethers
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/rarpd.service ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${UNPACKDIR}/rarpd.service ${D}${systemd_unitdir}/system/
|
||||
}
|
||||
|
||||
inherit systemd
|
||||
|
||||
@@ -43,14 +43,14 @@ do_install() {
|
||||
export PREFIX=${D}/${prefix}
|
||||
oe_runmake install
|
||||
install -d ${D}/${sysconfdir}/redis
|
||||
install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
|
||||
install -m 0644 ${UNPACKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
|
||||
install -m 0755 ${UNPACKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
|
||||
install -d ${D}/var/lib/redis/
|
||||
chown redis.redis ${D}/var/lib/redis/
|
||||
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/redis.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/redis.service ${D}${systemd_system_unitdir}
|
||||
sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/redis.service
|
||||
|
||||
if [ "${REDIS_ON_SYSTEMD}" = true ]; then
|
||||
|
||||
@@ -46,14 +46,14 @@ do_install() {
|
||||
export PREFIX=${D}/${prefix}
|
||||
oe_runmake install
|
||||
install -d ${D}/${sysconfdir}/redis
|
||||
install -m 0644 ${WORKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
|
||||
install -m 0644 ${UNPACKDIR}/redis.conf ${D}/${sysconfdir}/redis/redis.conf
|
||||
install -d ${D}/${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
|
||||
install -m 0755 ${UNPACKDIR}/init-redis-server ${D}/${sysconfdir}/init.d/redis-server
|
||||
install -d ${D}/var/lib/redis/
|
||||
chown redis.redis ${D}/var/lib/redis/
|
||||
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/redis.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/redis.service ${D}${systemd_system_unitdir}
|
||||
sed -i 's!/usr/sbin/!${sbindir}/!g' ${D}${systemd_system_unitdir}/redis.service
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
|
||||
@@ -137,9 +137,9 @@ do_install_ptest() {
|
||||
do_install:append() {
|
||||
install -d "${D}${sysconfdir}/init.d"
|
||||
install -d "${D}${sysconfdir}/logrotate.d"
|
||||
install -m 755 ${WORKDIR}/initscript ${D}${sysconfdir}/init.d/syslog
|
||||
install -m 644 ${WORKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
|
||||
install -m 644 ${WORKDIR}/rsyslog.logrotate ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
|
||||
install -m 755 ${UNPACKDIR}/initscript ${D}${sysconfdir}/init.d/syslog
|
||||
install -m 644 ${UNPACKDIR}/rsyslog.conf ${D}${sysconfdir}/rsyslog.conf
|
||||
install -m 644 ${UNPACKDIR}/rsyslog.logrotate ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
|
||||
sed -i -e "s#@BINDIR@#${bindir}#g" ${D}${sysconfdir}/logrotate.d/logrotate.rsyslog
|
||||
|
||||
if ${@bb.utils.contains('PACKAGECONFIG', 'imjournal', 'true', 'false', d)}; then
|
||||
@@ -152,7 +152,7 @@ do_install:append() {
|
||||
fi
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 644 ${WORKDIR}/rsyslog.service ${D}${systemd_system_unitdir}
|
||||
install -m 644 ${UNPACKDIR}/rsyslog.service ${D}${systemd_system_unitdir}
|
||||
sed -i -e "s,@sbindir@,${sbindir},g" ${D}${systemd_system_unitdir}/rsyslog.service
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ do_install() {
|
||||
oe_runmake DESTDIR=${D} install
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service
|
||||
install -m 0644 ${UNPACKDIR}/sfcb.service ${D}${systemd_unitdir}/system/sblim-sfcb.service
|
||||
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
mv ${D}${sysconfdir}/init.d/sfcb ${D}${sysconfdir}/init.d/sblim-sfcb
|
||||
|
||||
@@ -24,7 +24,7 @@ EXTRA_OEMAKE += "CC='${CC}' CFLAGS='${CFLAGS} -D_LARGEFILE64_SOURCE=1' sbindir=$
|
||||
|
||||
do_configure:append() {
|
||||
oe_runmake -C mdadm.d mdadm-1.3.0
|
||||
patch -p0 < ${WORKDIR}/mdadm.patch
|
||||
patch -p0 < ${UNPACKDIR}/mdadm.patch
|
||||
}
|
||||
INITSCRIPT_PACKAGES = "${PN}-diskmon ${PN}-raidmon"
|
||||
INITSCRIPT_NAME:${PN}-diskmon = "sgdisk"
|
||||
|
||||
@@ -33,13 +33,13 @@ SYSTEMD_AUTO_ENABLE = "disable"
|
||||
do_install:append () {
|
||||
#install the init.d/smartd
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -p -m 0755 ${WORKDIR}/initd.smartd ${D}${sysconfdir}/init.d/smartd
|
||||
install -p -m 0755 ${UNPACKDIR}/initd.smartd ${D}${sysconfdir}/init.d/smartd
|
||||
install -d ${D}${sysconfdir}/default
|
||||
install -p -m 0644 ${WORKDIR}/smartmontools.default ${D}${sysconfdir}/default/smartmontools
|
||||
install -p -m 0644 ${UNPACKDIR}/smartmontools.default ${D}${sysconfdir}/default/smartmontools
|
||||
|
||||
#install systemd service file
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/smartd.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${UNPACKDIR}/smartd.service ${D}${systemd_unitdir}/system
|
||||
sed -i -e 's,@BASE_BINDIR@,${base_bindir},g' \
|
||||
-e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
||||
-e 's,@SBINDIR@,${sbindir},g' \
|
||||
|
||||
@@ -50,7 +50,7 @@ do_configure () {
|
||||
do_install:append () {
|
||||
if [ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', '', d)} = yes ]; then
|
||||
install -d -m 0755 ${D}/${sysconfdir}/pam.d
|
||||
install -m 0644 ${WORKDIR}/vlock_pam ${D}${sysconfdir}/pam.d/vlock
|
||||
install -m 0644 ${UNPACKDIR}/vlock_pam ${D}${sysconfdir}/pam.d/vlock
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -21,17 +21,17 @@ do_install () {
|
||||
# Install systemd related configuration file
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/zram
|
||||
install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/zram
|
||||
fi
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -d ${D}${libexecdir}
|
||||
install -m 0755 ${WORKDIR}/zram-swap-init ${D}${libexecdir}
|
||||
install -m 0755 ${WORKDIR}/zram-swap-deinit ${D}${libexecdir}
|
||||
install -m 0755 ${UNPACKDIR}/zram-swap-init ${D}${libexecdir}
|
||||
install -m 0755 ${UNPACKDIR}/zram-swap-deinit ${D}${libexecdir}
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/zram-swap.service ${D}${systemd_unitdir}/system/zram-swap.service
|
||||
install -m 0644 ${UNPACKDIR}/zram-swap.service ${D}${systemd_unitdir}/system/zram-swap.service
|
||||
sed -i -e "s,@LIBEXECDIR@,${libexecdir},g" ${D}${systemd_unitdir}/system/zram-swap.service
|
||||
install -m 0644 ${WORKDIR}/dev-zram0.swap ${D}${systemd_unitdir}/system/dev-zram0.swap
|
||||
install -m 0644 ${UNPACKDIR}/dev-zram0.swap ${D}${systemd_unitdir}/system/dev-zram0.swap
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -19,5 +19,5 @@ export ac_cv_have_iconv_detect_h="yes"
|
||||
export ac_cv_sys_file_offset_bits="64"
|
||||
|
||||
do_configure:append () {
|
||||
cp ${WORKDIR}/iconv-detect.h ${S}
|
||||
cp ${UNPACKDIR}/iconv-detect.h ${S}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ PROVIDES = "gnome-doc-utils"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/aclocal/
|
||||
install ${WORKDIR}/gnome-doc-utils.m4 ${D}${datadir}/aclocal/
|
||||
install ${UNPACKDIR}/gnome-doc-utils.m4 ${D}${datadir}/aclocal/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
|
||||
@@ -29,10 +29,10 @@ do_install() {
|
||||
cp -R --no-dereference --preserve=mode,links ${S}/glm ${D}${includedir}
|
||||
cp -R --no-dereference --preserve=mode,links ${S}/doc ${D}${docdir}/glm
|
||||
rm ${D}${includedir}/glm/CMakeLists.txt
|
||||
sed "s/@VERSION@/${PV}/" ${WORKDIR}/glmConfigVersion.cmake.in > ${D}${libdir}/cmake/glm/glmConfigVersion.cmake
|
||||
sed "s/@VERSION@/${PV}/" ${WORKDIR}/glmConfig.cmake.in > ${D}${libdir}/cmake/glm/glmConfig.cmake
|
||||
sed "s/@VERSION@/${PV}/" ${WORKDIR}/glm.pc.in > ${D}${libdir}/pkgconfig/glm.pc
|
||||
install -Dm644 ${WORKDIR}/glmTargets.cmake ${D}${libdir}/cmake/glm/glmTargets.cmake
|
||||
sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glmConfigVersion.cmake.in > ${D}${libdir}/cmake/glm/glmConfigVersion.cmake
|
||||
sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glmConfig.cmake.in > ${D}${libdir}/cmake/glm/glmConfig.cmake
|
||||
sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glm.pc.in > ${D}${libdir}/pkgconfig/glm.pc
|
||||
install -Dm644 ${UNPACKDIR}/glmTargets.cmake ${D}${libdir}/cmake/glm/glmTargets.cmake
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ do_configure:append() {
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/udev/rules.d/
|
||||
install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
|
||||
install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
|
||||
}
|
||||
|
||||
PACKAGES =+ "libgphotoport libgphoto2-camlibs"
|
||||
|
||||
@@ -67,7 +67,7 @@ do_configure:prepend() {
|
||||
do_install:append:class-nativesdk() {
|
||||
# graphviz-setup.sh must be executed at SDK installation
|
||||
install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
|
||||
install -m 0755 ${WORKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d
|
||||
install -m 0755 ${UNPACKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d
|
||||
}
|
||||
FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}"
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
do_configure:prepend () {
|
||||
rm -f ${S}/m4/init.m4
|
||||
cp -f ${WORKDIR}/Makevars ${S}/po/
|
||||
cp -f ${UNPACKDIR}/Makevars ${S}/po/
|
||||
}
|
||||
|
||||
do_install:append () {
|
||||
|
||||
@@ -61,12 +61,12 @@ do_compile:append() {
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${localstatedir}/lib/lxdm
|
||||
install -m 644 ${WORKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm
|
||||
install -m 644 ${UNPACKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
|
||||
# ArchLinux version of pam config has the following advantages:
|
||||
# * simple setup of passwordless login
|
||||
# * in XFCE powerdown/restart enabled in logoff dialog
|
||||
install -m 644 ${WORKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm
|
||||
install -m 644 ${UNPACKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.11-branch;protocol=ht
|
||||
XORG_PN ?= "xorg-server"
|
||||
XORG_PV ?= "1.20.6"
|
||||
SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg"
|
||||
XORG_S = "${WORKDIR}/${XORG_PN}-${XORG_PV}"
|
||||
XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}"
|
||||
SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b"
|
||||
SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1"
|
||||
|
||||
|
||||
@@ -53,12 +53,12 @@ PACKAGECONFIG[one-wire-ts-input] = "--enable-one-wire-ts-input,--disable-one-wir
|
||||
PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
|
||||
|
||||
do_install:prepend() {
|
||||
install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf
|
||||
install -m 0644 ${UNPACKDIR}/ts.conf ${S}/etc/ts.conf
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/profile.d/
|
||||
install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
|
||||
install -m 0755 ${UNPACKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
|
||||
}
|
||||
|
||||
RPROVIDES:tslib-conf = "libts-0.0-conf"
|
||||
|
||||
@@ -16,7 +16,7 @@ S = "${WORKDIR}/source-code-pro-2.030R-ro-1.050R-it"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${WORKDIR}/44-source-code-pro-fonts-fontconfig.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${UNPACKDIR}/44-source-code-pro-fonts-fontconfig.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
|
||||
install -d ${D}${datadir}/fonts/truetype/
|
||||
find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
||||
|
||||
@@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${WORKDIR}/44-source-han-sans-cn.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${UNPACKDIR}/44-source-han-sans-cn.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
|
||||
install -d ${D}${datadir}/fonts/truetype/
|
||||
find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
||||
|
||||
@@ -18,7 +18,7 @@ SRC_URI[sha256sum] = "1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf98027
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${WORKDIR}/44-source-han-sans-jp.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${UNPACKDIR}/44-source-han-sans-jp.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
|
||||
install -d ${D}${datadir}/fonts/truetype/
|
||||
find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
||||
|
||||
@@ -15,10 +15,11 @@ SRC_URI = " \
|
||||
file://44-source-han-sans-kr.conf \
|
||||
"
|
||||
SRC_URI[sha256sum] = "02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe"
|
||||
S = "${UNPACKDIR}/branches"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${WORKDIR}/44-source-han-sans-kr.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${UNPACKDIR}/44-source-han-sans-kr.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
|
||||
install -d ${D}${datadir}/fonts/truetype/
|
||||
find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
||||
|
||||
@@ -15,10 +15,11 @@ SRC_URI = " \
|
||||
file://44-source-han-sans-tw.conf \
|
||||
"
|
||||
SRC_URI[sha256sum] = "11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806"
|
||||
S = "${UNPACKDIR}/SourceHanSansTW"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${WORKDIR}/44-source-han-sans-tw.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${UNPACKDIR}/44-source-han-sans-tw.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
|
||||
install -d ${D}${datadir}/fonts/truetype/
|
||||
find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
|
||||
|
||||
@@ -23,7 +23,7 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dejavu/files/dejavu/"
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 ${UNPACKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
|
||||
}
|
||||
|
||||
PACKAGES = "\
|
||||
|
||||
@@ -3,23 +3,23 @@ require ttf.inc
|
||||
SUMMARY = "Inconsolata font - TTF Version"
|
||||
HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html"
|
||||
LICENSE = "OFL-1.1"
|
||||
LIC_FILES_CHKSUM = "file://../OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed"
|
||||
|
||||
SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
|
||||
file://OFL.txt"
|
||||
|
||||
S = "${WORKDIR}/ttf-inconsolata-${PV}"
|
||||
S = "${UNPACKDIR}/ttf-inconsolata-${PV}"
|
||||
|
||||
FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
|
||||
${datadir}/doc/ttf-inconsolata/*"
|
||||
|
||||
do_configure() {
|
||||
cp -fr ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf
|
||||
cp -fr ${UNPACKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/doc/ttf-inconsolata/
|
||||
install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/
|
||||
install -m 0644 ${UNPACKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/
|
||||
}
|
||||
|
||||
SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf"
|
||||
|
||||
@@ -22,7 +22,7 @@ do_install:append () {
|
||||
install -d ${D}${datadir}/fonts/TTF/
|
||||
install -d ${D}${sysconfdir}/fonts/conf.d/
|
||||
install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/
|
||||
install -D -m 0644 ${WORKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf
|
||||
install -D -m 0644 ${UNPACKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf
|
||||
install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE
|
||||
# normal liberation fonts come from ttf-liberation recipe so delete here
|
||||
rm -rf ${D}${datadir}/fonts/truetype
|
||||
|
||||
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.paratype.com/public/"
|
||||
SECTION = "x11/fonts"
|
||||
|
||||
LICENSE = "ParaTypeFFL-1.3"
|
||||
LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
|
||||
|
||||
inherit allarch fontcache
|
||||
|
||||
@@ -16,9 +16,10 @@ SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans
|
||||
SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
|
||||
SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
|
||||
|
||||
S = "${UNPACKDIR}"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${datadir}/fonts/X11/TTF/
|
||||
cd ..
|
||||
for i in *.ttf; do
|
||||
install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
|
||||
done
|
||||
|
||||
@@ -3,7 +3,7 @@ require ttf.inc
|
||||
SUMMARY = "Thai Linux Working Group Fonts"
|
||||
HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg"
|
||||
LICENSE = "GPL-2.0-only & TLWG"
|
||||
LIC_FILES_CHKSUM = "file://../fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd"
|
||||
|
||||
SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \
|
||||
http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf"
|
||||
|
||||
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "b596168c4ed2f1023212dc828ce49cbe82a0bbd1aac3c5e2958154d788
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${nonarch_base_libdir}/udev/rules.d
|
||||
install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/
|
||||
install -m 0644 ${UNPACKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${nonarch_base_libdir}/udev"
|
||||
|
||||
@@ -38,7 +38,7 @@ CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking ${@
|
||||
EXTRA_OECONF:remove = "--disable-static"
|
||||
|
||||
do_install:append() {
|
||||
install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service
|
||||
install -D ${UNPACKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service
|
||||
for f in xscreensaver-getimage-file xscreensaver-getimage-video webcollage xscreensaver-text vidwhacker
|
||||
do
|
||||
sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" ${D}/${libexecdir}/${PN}/$f
|
||||
|
||||
@@ -37,8 +37,8 @@ S = "${WORKDIR}/git"
|
||||
inherit autotools pkgconfig
|
||||
|
||||
do_install:append() {
|
||||
if [ -e ${WORKDIR}/iana-enterprise-numbers ]; then
|
||||
install -Dm 0755 ${WORKDIR}/iana-enterprise-numbers ${D}${datadir}/misc/enterprise-numbers
|
||||
if [ -e ${UNPACKDIR}/iana-enterprise-numbers ]; then
|
||||
install -Dm 0755 ${UNPACKDIR}/iana-enterprise-numbers ${D}${datadir}/misc/enterprise-numbers
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ SUMMARY = "Kernel selftest for Linux"
|
||||
DESCRIPTION = "Kernel selftest for Linux"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
|
||||
DEPENDS = "rsync-native llvm-native"
|
||||
|
||||
@@ -120,7 +120,7 @@ do_install() {
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
install -D -m 0644 ${WORKDIR}/COPYING ${S}/COPYING
|
||||
install -D -m 0644 ${UNPACKDIR}/COPYING ${S}/COPYING
|
||||
}
|
||||
|
||||
do_patch[prefuncs] += "copy_kselftest_source_from_kernel remove_unrelated"
|
||||
|
||||
@@ -41,8 +41,8 @@ do_configure:prepend() {
|
||||
#
|
||||
# logo support, if you supply logo_linux_clut224.ppm in SRC_URI, then it's going to be used
|
||||
#
|
||||
if [ -e ${WORKDIR}/logo_linux_clut224.ppm ]; then
|
||||
install -m 0644 ${WORKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
|
||||
if [ -e ${UNPACKDIR}/logo_linux_clut224.ppm ]; then
|
||||
install -m 0644 ${UNPACKDIR}/logo_linux_clut224.ppm drivers/video/logo/logo_linux_clut224.ppm
|
||||
kernel_conf_variable LOGO y
|
||||
kernel_conf_variable LOGO_LINUX_CLUT224 y
|
||||
fi
|
||||
|
||||
@@ -36,9 +36,9 @@ do_install:append() {
|
||||
cp -rf ${S}/etc/* ${D}/${sysconfdir}/
|
||||
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${WORKDIR}/minicoredumper.service ${D}${systemd_system_unitdir}
|
||||
install -m 0644 ${UNPACKDIR}/minicoredumper.service ${D}${systemd_system_unitdir}
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper
|
||||
install -m 0755 ${UNPACKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper
|
||||
|
||||
# correct path of minicoredumper
|
||||
sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${sysconfdir}/init.d/minicoredumper
|
||||
|
||||
@@ -43,7 +43,7 @@ inherit autotools pkgconfig ptest
|
||||
|
||||
EXTRA_OECONF = "--with-kernel=${STAGING_DIR_HOST}${prefix} --without-x ac_cv_prog_XSLTPROC="
|
||||
do_configure () {
|
||||
cp ${WORKDIR}/acinclude.m4 ${S}/
|
||||
cp ${UNPACKDIR}/acinclude.m4 ${S}/
|
||||
autotools_do_configure
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ processor frequency and idle power saving state residency on supported \
|
||||
processors."
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://../COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
||||
COMPATIBLE_HOST = '(x86_64.*|i.86.*)-linux'
|
||||
COMPATIBLE_HOST:libc-musl = "null"
|
||||
|
||||
@@ -50,7 +50,7 @@ do_configure:prepend() {
|
||||
cp -r ${STAGING_KERNEL_DIR}/include/linux/const.h ${S}
|
||||
fi
|
||||
cp -r ${STAGING_KERNEL_DIR}/tools/power/x86/turbostat/* ${S}
|
||||
cp -r ${WORKDIR}/COPYING ${S}
|
||||
cp -r ${UNPACKDIR}/COPYING ${S}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
TARGET_CC_ARCH += "${LDFLAGS}"
|
||||
|
||||
do_configure() {
|
||||
cp ${WORKDIR}/config.linux-cross .
|
||||
cp ${UNPACKDIR}/config.linux-cross .
|
||||
echo "COMPILE_OPTS+=" -fPIC -DXLOCALE_NOT_USED"" >> config.linux-cross
|
||||
./genMakefiles linux-cross
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ do_install() {
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0755 ${WORKDIR}/gpsd.init ${D}${sysconfdir}/init.d/gpsd
|
||||
install -m 0755 ${UNPACKDIR}/gpsd.init ${D}${sysconfdir}/init.d/gpsd
|
||||
install -d ${D}${sysconfdir}/default
|
||||
install -m 0644 ${S}/packaging/deb/etc_default_gpsd ${D}${sysconfdir}/default/gpsd.default
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ do_compile:prepend () {
|
||||
do_install:append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${WORKDIR}/saslauthd.service ${D}${systemd_unitdir}/system
|
||||
install -m 0644 ${UNPACKDIR}/saslauthd.service ${D}${systemd_unitdir}/system
|
||||
|
||||
sed -i -e 's#@SBINDIR@#${sbindir}#g' ${D}${systemd_unitdir}/system/saslauthd.service
|
||||
sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${systemd_unitdir}/system/saslauthd.service
|
||||
@@ -68,7 +68,7 @@ do_install:append() {
|
||||
echo "d /run/saslauthd/ - - - -" > ${D}${sysconfdir}/tmpfiles.d/saslauthd.conf
|
||||
|
||||
install -d ${D}${sysconfdir}/default/
|
||||
install -m 0644 ${WORKDIR}/saslauthd.conf ${D}${sysconfdir}/default/saslauthd
|
||||
install -m 0644 ${UNPACKDIR}/saslauthd.conf ${D}${sysconfdir}/default/saslauthd
|
||||
sed -i -e 's#@LOCALSTATEDIR@#${localstatedir}#g' ${D}${sysconfdir}/default/saslauthd
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -90,11 +90,11 @@ do_install:append() {
|
||||
install -m 0640 ${D}/etc/audit/rules.d/audit.rules ${D}/etc/audit/audit.rules
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -D -m 0644 ${WORKDIR}/audit-volatile.conf ${D}${sysconfdir}/tmpfiles.d/audit.conf
|
||||
install -D -m 0644 ${UNPACKDIR}/audit-volatile.conf ${D}${sysconfdir}/tmpfiles.d/audit.conf
|
||||
fi
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||
install -D -m 0755 ${WORKDIR}/auditd ${D}/etc/init.d/auditd
|
||||
install -D -m 0755 ${UNPACKDIR}/auditd ${D}/etc/init.d/auditd
|
||||
rm -rf ${D}${libdir}/systemd
|
||||
fi
|
||||
|
||||
|
||||
@@ -35,12 +35,12 @@ do_install() {
|
||||
make DESTDIR=${D} VERS=${PV} SYSDPATH=${systemd_system_unitdir} \
|
||||
PMPATHD=${systemd_unitdir}/system-sleep systemdinstall
|
||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||
install -m 644 ${WORKDIR}/volatiles.atop.conf ${D}${sysconfdir}/tmpfiles.d/atop.conf
|
||||
install -m 644 ${UNPACKDIR}/volatiles.atop.conf ${D}${sysconfdir}/tmpfiles.d/atop.conf
|
||||
rm -f ${D}${systemd_system_unitdir}/atopacct.service
|
||||
else
|
||||
make DESTDIR=${D} VERS=${PV} sysvinstall
|
||||
install -d ${D}${sysconfdir}/default/volatiles
|
||||
install -m 644 ${WORKDIR}/volatiles.99_atop ${D}${sysconfdir}/default/volatiles/99_atop
|
||||
install -m 644 ${UNPACKDIR}/volatiles.99_atop ${D}${sysconfdir}/default/volatiles/99_atop
|
||||
rm -f ${D}${sysconfdir}/init.d/atopacct
|
||||
fi
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ EXTRA_OECMAKE = "-DCARES_STATIC=${@ 'ON' if d.getVar('DISABLE_STATIC') == '' els
|
||||
do_install_ptest () {
|
||||
install -d ${D}${PTEST_PATH}
|
||||
install -m 0755 ${B}/bin/arestest ${D}${PTEST_PATH}
|
||||
install -m 0755 ${WORKDIR}/run-ptest ${D}${PTEST_PATH}
|
||||
install -m 0755 ${UNPACKDIR}/run-ptest ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
PACKAGE_BEFORE_PN = "${PN}-utils"
|
||||
|
||||
@@ -2,15 +2,15 @@ SUMMARY = "Common files and packaging infrastructure for CT-API modules"
|
||||
HOMEPAGE = "http://fedoraproject.org/"
|
||||
SECTION = "System Environment/Libraries"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://../ctapi-common.LICENSE;md5=8744cd52545ecb45befebd0da6f70f0a"
|
||||
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/ctapi-common.LICENSE;md5=8744cd52545ecb45befebd0da6f70f0a"
|
||||
|
||||
SRC_URI = "https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.LICENSE \
|
||||
https://archives.fedoraproject.org/pub/archive/fedora/linux/releases/23/Everything/source/SRPMS/c/${BPN}-${PV}.fc23.src.rpm;extract=ctapi-common.README"
|
||||
SRC_URI[sha256sum] = "87a74eb0a66055c34ba2c5c919e74f3211c5950ae1c2cbab967fdf4137f5de91"
|
||||
|
||||
do_compile() {
|
||||
install -pm 644 ${WORKDIR}/ctapi-common.LICENSE LICENSE
|
||||
install -pm 644 ${WORKDIR}/ctapi-common.README README
|
||||
install -pm 644 ${UNPACKDIR}/ctapi-common.LICENSE LICENSE
|
||||
install -pm 644 ${UNPACKDIR}/ctapi-common.README README
|
||||
echo ${libdir}/ctapi > ctapi.conf
|
||||
}
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@ do_configure:prepend() {
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}${systemd_system_unitdir}
|
||||
sed 's:@bindir@:${sbindir}:' < ${WORKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service
|
||||
install -D -m 0755 ${WORKDIR}/init ${D}${INIT_D_DIR}/gpm
|
||||
sed 's:@bindir@:${sbindir}:' < ${UNPACKDIR}/gpm.service.in >${D}${systemd_system_unitdir}/gpm.service
|
||||
install -D -m 0755 ${UNPACKDIR}/init ${D}${INIT_D_DIR}/gpm
|
||||
ln -s libgpm.so.2 ${D}${libdir}/libgpm.so
|
||||
}
|
||||
|
||||
|
||||
@@ -25,9 +25,9 @@ FILES:${PN} += "/usr/share/misc/hddtemp.db"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}/usr/share/misc/
|
||||
install -m 0644 ${WORKDIR}/hddtemp.db ${D}/usr/share/misc/hddtemp.db
|
||||
install -m 0644 ${UNPACKDIR}/hddtemp.db ${D}/usr/share/misc/hddtemp.db
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
install -m 0644 ${WORKDIR}/init ${D}${sysconfdir}/init.d/hddtemp
|
||||
install -m 0644 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/hddtemp
|
||||
}
|
||||
|
||||
INITSCRIPT_NAME = "hddtemp"
|
||||
|
||||
@@ -35,5 +35,5 @@ do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}
|
||||
install -m 0755 ${B}/${TESTDIR}/genfile ${D}${PTEST_PATH}
|
||||
install -m 0755 ${B}/${TESTDIR}/.libs/ezapi1 ${D}${PTEST_PATH}
|
||||
install -m 0755 ${WORKDIR}/ezapi1.sh ${D}${PTEST_PATH}
|
||||
install -m 0755 ${UNPACKDIR}/ezapi1.sh ${D}${PTEST_PATH}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ EXTRA_OECONF:class-target = "ac_cv_path_SH=/bin/sh ac_cv_path_WGET=${bindir}/wge
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/smi.conf ${D}${sysconfdir}/smi.conf
|
||||
install -m 0644 ${UNPACKDIR}/smi.conf ${D}${sysconfdir}/smi.conf
|
||||
}
|
||||
|
||||
PACKAGES += "${PN}-mibs ${PN}-pibs ${PN}-yang"
|
||||
|
||||
@@ -8,5 +8,5 @@ do_configure[noexec] = "1"
|
||||
do_compile[noexec] = "1"
|
||||
|
||||
do_install() {
|
||||
install -Dm 0644 ${WORKDIR}/usbgx.default ${D}${sysconfdir}/default/usbgx
|
||||
install -Dm 0644 ${UNPACKDIR}/usbgx.default ${D}${sysconfdir}/default/usbgx
|
||||
}
|
||||
|
||||
@@ -38,17 +38,17 @@ INITSCRIPT_PARAMS = "defaults"
|
||||
INHIBIT_UPDATERCD_BBCLASS = "${@bb.utils.contains('PACKAGECONFIG', 'examples', '1', '0', d)}"
|
||||
|
||||
do_install:append() {
|
||||
install -Dm 0755 ${WORKDIR}/gadget-start ${D}${bindir}/gadget-start
|
||||
install -Dm 0755 ${UNPACKDIR}/gadget-start ${D}${bindir}/gadget-start
|
||||
sed -i -e 's,/usr/bin,${bindir},g' -e 's,/etc,${sysconfdir},g' ${D}${bindir}/gadget-start
|
||||
install -m 0755 ${WORKDIR}/gadget-start ${D}${bindir}/gadget-stop
|
||||
install -m 0755 ${UNPACKDIR}/gadget-start ${D}${bindir}/gadget-stop
|
||||
sed -i -e 's,/usr/bin,${bindir},g' -e 's,/etc,${sysconfdir},g' ${D}${bindir}/gadget-stop
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
||||
install -Dm 0644 ${WORKDIR}/usbgx.service ${D}${systemd_system_unitdir}/usbgx.service
|
||||
install -Dm 0644 ${UNPACKDIR}/usbgx.service ${D}${systemd_system_unitdir}/usbgx.service
|
||||
fi
|
||||
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
|
||||
install -Dm 0755 ${WORKDIR}/usbgx.initd ${D}${sysconfdir}/init.d/usbgx
|
||||
install -Dm 0755 ${UNPACKDIR}/usbgx.initd ${D}${sysconfdir}/init.d/usbgx
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ EXTRA_OECONF = "--enable-graphics \
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}/${datadir}/applications
|
||||
install -m 0644 ${WORKDIR}/links2.desktop ${D}/${datadir}/applications
|
||||
install -m 0644 ${UNPACKDIR}/links2.desktop ${D}/${datadir}/applications
|
||||
install -d ${D}/${datadir}/pixmaps
|
||||
install -m 0644 ${WORKDIR}/links2.png ${D}/${datadir}/pixmaps
|
||||
install -m 0644 ${UNPACKDIR}/links2.png ${D}/${datadir}/pixmaps
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ CACHED_CONFIGUREVARS += "MODPROBE_CMD=${base_sbindir}/modprobe"
|
||||
do_install:append() {
|
||||
# Install machine specific configuration file
|
||||
install -d ${D}${sysconfdir}/lvm
|
||||
install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf
|
||||
install -m 0644 ${UNPACKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf
|
||||
sed -i -e 's:@libdir@:${libdir}:g' ${D}${sysconfdir}/lvm/lvm.conf
|
||||
# We don't want init scripts/systemd units for native SDK utilities
|
||||
if [ "${PN}" != "nativesdk-lvm2" ]; then
|
||||
|
||||
@@ -45,12 +45,12 @@ do_configure:prepend() {
|
||||
do_install:append() {
|
||||
|
||||
# Configuration file
|
||||
install -Dm 0600 ${WORKDIR}/monitrc ${D}${sysconfdir}/monitrc
|
||||
install -Dm 0600 ${UNPACKDIR}/monitrc ${D}${sysconfdir}/monitrc
|
||||
|
||||
# SystemD
|
||||
install -Dm 0644 ${S}/system/startup/monit.service.in ${D}${systemd_system_unitdir}/monit.service
|
||||
sed -i -e 's,@prefix@,${exec_prefix},g' ${D}${systemd_unitdir}/system/monit.service
|
||||
|
||||
# SysV
|
||||
install -Dm 0755 ${WORKDIR}/monit ${D}${sysconfdir}/init.d/monit
|
||||
install -Dm 0755 ${UNPACKDIR}/monit ${D}${sysconfdir}/init.d/monit
|
||||
}
|
||||
|
||||
@@ -91,14 +91,14 @@ do_install() {
|
||||
#
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)};then
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
cp ${WORKDIR}/multipathd.oe ${D}${sysconfdir}/init.d/multipathd
|
||||
cp ${UNPACKDIR}/multipathd.oe ${D}${sysconfdir}/init.d/multipathd
|
||||
fi
|
||||
|
||||
sed -i "s:/usr/lib/udev/kpartx_id:${nonarch_base_libdir}/udev/kpartx_id:g" \
|
||||
${D}${nonarch_base_libdir}/udev/rules.d/11-dm-mpath.rules
|
||||
|
||||
install -d ${D}${sysconfdir}
|
||||
install -m 0644 ${WORKDIR}/multipath.conf.example \
|
||||
install -m 0644 ${UNPACKDIR}/multipath.conf.example \
|
||||
${D}${sysconfdir}/multipath.conf.example
|
||||
}
|
||||
|
||||
|
||||
@@ -171,7 +171,7 @@ do_compile:append() {
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
install -D ${WORKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc
|
||||
install -D ${UNPACKDIR}/nspr.pc.in ${D}${libdir}/pkgconfig/nspr.pc
|
||||
sed -i \
|
||||
-e 's:NSPRVERSION:${PV}:g' \
|
||||
-e 's:OEPREFIX:${prefix}:g' \
|
||||
|
||||
@@ -224,7 +224,7 @@ do_install:append() {
|
||||
done
|
||||
|
||||
install -d ${D}${libdir}/pkgconfig/
|
||||
sed 's/%NSS_VERSION%/${PV}/' ${WORKDIR}/nss.pc.in | sed 's/%NSPR_VERSION%/4.9.2/' > ${D}${libdir}/pkgconfig/nss.pc
|
||||
sed 's/%NSS_VERSION%/${PV}/' ${UNPACKDIR}/nss.pc.in | sed 's/%NSPR_VERSION%/4.9.2/' > ${D}${libdir}/pkgconfig/nss.pc
|
||||
sed -i s:OEPREFIX:${prefix}:g ${D}${libdir}/pkgconfig/nss.pc
|
||||
sed -i s:OEEXECPREFIX:${exec_prefix}:g ${D}${libdir}/pkgconfig/nss.pc
|
||||
sed -i s:OELIBDIR:${libdir}:g ${D}${libdir}/pkgconfig/nss.pc
|
||||
@@ -239,9 +239,9 @@ do_install:append:class-target() {
|
||||
# databases by:
|
||||
# certutil -N -d sql:/database/path/ --empty-password
|
||||
install -d ${D}${sysconfdir}/pki/nssdb/
|
||||
install -m 0644 ${WORKDIR}/blank-cert9.db ${D}${sysconfdir}/pki/nssdb/cert9.db
|
||||
install -m 0644 ${WORKDIR}/blank-key4.db ${D}${sysconfdir}/pki/nssdb/key4.db
|
||||
install -m 0644 ${WORKDIR}/system-pkcs11.txt ${D}${sysconfdir}/pki/nssdb/pkcs11.txt
|
||||
install -m 0644 ${UNPACKDIR}/blank-cert9.db ${D}${sysconfdir}/pki/nssdb/cert9.db
|
||||
install -m 0644 ${UNPACKDIR}/blank-key4.db ${D}${sysconfdir}/pki/nssdb/key4.db
|
||||
install -m 0644 ${UNPACKDIR}/system-pkcs11.txt ${D}${sysconfdir}/pki/nssdb/pkcs11.txt
|
||||
}
|
||||
|
||||
PACKAGE_WRITE_DEPS += "nss-native"
|
||||
|
||||
@@ -62,7 +62,7 @@ do_install () {
|
||||
install -d ${D}${sysconfdir}
|
||||
# fix up hardcoded paths
|
||||
sed -i -e 's,/etc/,${sysconfdir}/,' -e 's,/usr/sbin/,${sbindir}/,' \
|
||||
${WORKDIR}/openct.service ${WORKDIR}/openct.init
|
||||
${UNPACKDIR}/openct.service ${UNPACKDIR}/openct.init
|
||||
|
||||
oe_runmake install DESTDIR=${D}
|
||||
install -dm 755 ${D}${libdir}/ctapi/
|
||||
@@ -70,11 +70,11 @@ do_install () {
|
||||
install -Dpm 644 etc/openct.udev ${D}${nonarch_libdir}/udev/rules.d/60-openct.rules
|
||||
install -pm 644 etc/openct.conf ${D}${sysconfdir}/openct.conf
|
||||
|
||||
install -Dpm 755 ${WORKDIR}/openct.init ${D}${sysconfdir}/init.d/openct
|
||||
install -Dpm 644 ${WORKDIR}/openct.sysconfig ${D}${sysconfdir}/sysconfig/openct
|
||||
install -Dpm 755 ${UNPACKDIR}/openct.init ${D}${sysconfdir}/init.d/openct
|
||||
install -Dpm 644 ${UNPACKDIR}/openct.sysconfig ${D}${sysconfdir}/sysconfig/openct
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system
|
||||
install -m 644 ${WORKDIR}/openct.service ${D}${systemd_unitdir}/system
|
||||
install -m 644 ${UNPACKDIR}/openct.service ${D}${systemd_unitdir}/system
|
||||
|
||||
so=$(find ${D} -name \*.so | sed "s|^${D}||")
|
||||
sed -i -e 's|\\(LIBPATH\\s*\\).*|\\1$so|' etc/reader.conf
|
||||
|
||||
@@ -160,7 +160,7 @@ FILES:${PN}-dbg += "${libexecdir}/openldap/.debug"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${sysconfdir}/init.d
|
||||
cat ${WORKDIR}/initscript > ${D}${sysconfdir}/init.d/openldap
|
||||
cat ${UNPACKDIR}/initscript > ${D}${sysconfdir}/init.d/openldap
|
||||
chmod 755 ${D}${sysconfdir}/init.d/openldap
|
||||
# This is duplicated in /etc/openldap and is for slapd
|
||||
rm -f ${D}${localstatedir}/openldap-data/DB_CONFIG.example
|
||||
@@ -177,7 +177,7 @@ do_install:append() {
|
||||
rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
|
||||
|
||||
install -d ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${WORKDIR}/slapd.service ${D}${systemd_unitdir}/system/
|
||||
install -m 0644 ${UNPACKDIR}/slapd.service ${D}${systemd_unitdir}/system/
|
||||
sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/*.service
|
||||
|
||||
# Uses mdm as the database
|
||||
|
||||
@@ -52,7 +52,7 @@ RDEPENDS:${PN}-testsuite += "${PN} bash perl"
|
||||
RDEPENDS:python3-${PN} += "${PN} python3"
|
||||
|
||||
do_configure:prepend () {
|
||||
cp ${WORKDIR}/config.linux ${B}
|
||||
cp ${UNPACKDIR}/config.linux ${B}
|
||||
rm -rf ${S}/include/pcp/configsz.h
|
||||
rm -rf ${S}/include/pcp/platformsz.h
|
||||
export SED=${TMPDIR}/hosttools/sed
|
||||
|
||||
@@ -30,7 +30,7 @@ do_compile() {
|
||||
do_install() {
|
||||
oe_runmake install DESTDIR=${D} prefix=${prefix} datadir=${datadir}
|
||||
install -d ${D}${datadir}/poppler/cMap
|
||||
install -m644 ${WORKDIR}/Identity-* ${D}${datadir}/poppler/cMap/
|
||||
install -m644 ${UNPACKDIR}/Identity-* ${D}${datadir}/poppler/cMap/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
|
||||
@@ -17,7 +17,7 @@ inherit cmake
|
||||
|
||||
# Work-around for https://github.com/wjwwood/serial/issues/135
|
||||
EXTRA_OECMAKE = " \
|
||||
-DCMAKE_MODULE_PATH=${WORKDIR} \
|
||||
-DCMAKE_MODULE_PATH=${UNPACKDIR} \
|
||||
-DCATKIN_PACKAGE_LIB_DESTINATION=${libdir} \
|
||||
-DCATKIN_PACKAGE_BIN_DESTINATION=${bindir} \
|
||||
-DCATKIN_GLOBAL_INCLUDE_DESTINATION=${includedir} \
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user