change way wpantund is built and installed
This commit is contained in:
parent
753f60ebc3
commit
f9d63e1d32
|
@ -5,17 +5,26 @@
|
||||||
#install -d files/etc ${ROOTFS_DIR}/
|
#install -d files/etc ${ROOTFS_DIR}/
|
||||||
#install -d files/usr ${ROOTFS_DIR}/
|
#install -d files/usr ${ROOTFS_DIR}/
|
||||||
|
|
||||||
install -d ${ROOTFS_DIR}/usr/local/bin/ ${ROOTFS_DIR}/usr/local/sbin/ ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
|
||||||
install -m 755 files/usr/local/bin/wpanctl ${ROOTFS_DIR}/usr/local/bin/
|
|
||||||
install -m 755 files/usr/local/sbin/wpantund ${ROOTFS_DIR}/usr/local/sbin/
|
# install -d ${ROOTFS_DIR}/usr/local/bin/ ${ROOTFS_DIR}/usr/local/sbin/ ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
||||||
install -m 755 files/usr/local/libexec/wpantund/ncp-spinel.la ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
# install -m 755 files/usr/local/bin/wpanctl ${ROOTFS_DIR}/usr/local/bin/
|
||||||
install -m 755 files/usr/local/libexec/wpantund/ncp-dummy.so ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
# install -m 755 files/usr/local/sbin/wpantund ${ROOTFS_DIR}/usr/local/sbin/
|
||||||
install -m 755 files/usr/local/libexec/wpantund/ncp-dummy.la ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
# install -m 755 files/usr/local/libexec/wpantund/ncp-spinel.la ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
||||||
install -m 755 files/usr/local/libexec/wpantund/ncp-spinel.so ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
# install -m 755 files/usr/local/libexec/wpantund/ncp-dummy.so ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
||||||
install -m 644 files/etc/dbus-1/system.d/wpantund.conf ${ROOTFS_DIR}/etc/dbus-1/system.d/
|
# install -m 755 files/usr/local/libexec/wpantund/ncp-dummy.la ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
||||||
install -m 644 files/etc/wpantund.conf ${ROOTFS_DIR}/etc/
|
# install -m 755 files/usr/local/libexec/wpantund/ncp-spinel.so ${ROOTFS_DIR}/usr/local/libexec/wpantund/
|
||||||
install -m 644 files/etc/systemd/system/wpantund.service ${ROOTFS_DIR}/etc/systemd/system/
|
# install -m 644 files/etc/dbus-1/system.d/wpantund.conf ${ROOTFS_DIR}/etc/dbus-1/system.d/
|
||||||
|
# install -m 644 files/etc/wpantund.conf ${ROOTFS_DIR}/etc/
|
||||||
|
# install -m 644 files/etc/systemd/system/wpantund.service ${ROOTFS_DIR}/etc/systemd/system/
|
||||||
|
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
|
git clone https://github.com/openthread/wpantund
|
||||||
|
cd wpantund
|
||||||
|
git checkout -b raspi a5d2c20b6438e376a7133550787a24782f073cb3
|
||||||
|
./bootstrap.sh
|
||||||
|
./configure --sysconfdir=/etc
|
||||||
|
make -j3
|
||||||
|
make install
|
||||||
systemctl disable wpantund
|
systemctl disable wpantund
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue
Block a user