Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: schlaubi666 on August 03, 2016, 11:01:30 AM
-
Hi,
i tryed to compile knxd for tcl8b4, but without success ( https://github.com/knxd/knxd)
has someone tryed it , and has an working package for me ?
-
For which architecture and TC version?
-
pi 2b -> arm6
tcl 8 beta4
-
i managed to build it, start it, but i have problem with creating an package, because i had to compile
pthsem-2.0.8 and configured to /usr/local ( default) &
knxd and configured to /usr/local ( default)
how to find all the additional files and make an extention of it ?
Dirk
-
$ touch mymarker
$ sudo make install
$ sudo find / -not -type 'd' -cnewer mymarker | grep -v "\/proc\/" | grep -v "^\/sys\/" | tee files
$ vi files [edit files that do not belong]
$ sudo tar -T files --numeric-owner -zcvf extension.tar.gz
$ mkdir /tmp/pkg
$ cp extension.tar.gz /tmp/pkg
$ cd /tmp/pkg
$ sudo tar xf extension.tar.gz
$ rm extension.tar.gz
$ cd /tmp
$ sudo mksquashfs pkg/ extension.tcz
-
worked fine, thanks for the howto ....
I added the deamon to /opt/bootlocal.sh, as last line.
But this did not work( is the extention already avail then ?)
Is there another way to autostart an deamon of an extention ?
-
Hi schlaubi666
Does your extension depend on the network being up and running? If so, you might want to wait for the network, something like:
SEC=60
while [ $SEC -gt 0 ] ; do
ifconfig | grep -q "Bcast" && break || sleep 1
echo -ne "Waiting for IP $((SEC--)) \r"
done
echo
Place your knxd command here.
-
thats the reason !!!!
thanks