diff --git a/stage3/02-wpantund/00-run.sh b/stage3/02-wpantund/00-run.sh index 8980428..8006020 100755 --- a/stage3/02-wpantund/00-run.sh +++ b/stage3/02-wpantund/00-run.sh @@ -5,17 +5,26 @@ #install -d files/etc ${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 -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-dummy.so ${ROOTFS_DIR}/usr/local/libexec/wpantund/ -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.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 644 files/etc/wpantund.conf ${ROOTFS_DIR}/etc/ -install -m 644 files/etc/systemd/system/wpantund.service ${ROOTFS_DIR}/etc/systemd/system/ + + +# 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 -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-dummy.so ${ROOTFS_DIR}/usr/local/libexec/wpantund/ +# 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.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 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 + 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 EOF