Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: mxguy31 on September 05, 2017, 08:49:38 PM
-
Hey guys,
I am trying to add the owfs.tcz extension however it is not found in the repo.
This is the console output (after trying a different mirror):
$ tce-load -wi owfs.tcz
Downloading: owfs.tcz
Connecting to mirror.cpsc.ucalgary.ca (136.159.2.91:80)
wget: server returned error: HTTP/1.1 404 Not Found
md5sum: owfs.tcz.md5.txt: No such file or directory
Error on owfs.tcz
I get the same output with the main repo. If I use tce it doesn't find it either. If I look at the repo listing it does not show up... was it removed?
-
owfs.tcz is easy to compile yourself.
You could try to compile it your self.
Make your own extension.
http://wiki.tinycorelinux.net/wiki:creating_extensions
https://sourceforge.net/projects/owfs/files/owfs/3.2p1/owfs-3.2p1.tar.gz/download
-
owfs was last present in the piCore 5.x repo - you could download it from there and give it a try?
http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz
You'd also need the *dep and *md5.txt files
-
I will try and compile myself, It would be an adventure into uncharted territory. Thanks for the links, if I can't figure it out I will fall back to the 5.x
Thanks for the help. If I am successful in compiling the latest version I will try to get it added again.
-
I tried compiling myself with no success... I am not a linux noob, however I am very new to tiny core (less than a couple days). I think I have googled myself into a tailspin. Thanks for the links, I will revisit once I clear the fog.
Can I force tce to use the older repository by changing /opt/tcemirror, or is wget plus manual install the only way?
-
Can I force tce to use the older repository by changing /opt/tcemirror, or is wget plus manual install the only way?
Not really, the mirror is generated by getMirror function in /etc/init.d/tc-functions
You should do this instead
cd /etc/sysconfig/tcedir/optional
wget http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz
wget http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz.dep
wget http://www.tinycorelinux.net/5.x/armv6/tcz/owfs.tcz.md5.txt
tce-audit fetchmissing
-
Made some progress... I followed polikuo's advice and now I have the .tcz files downloaded with wget, however when I run tce-audit fetchmissing I get an error
tc@thermostat:/mnt/mmcblk0p2/tce/optional$ tce-audit fetchmissing
/usr/bin/tce-audit: line 282: can't open tce.lst: no such file
I did a search of the system like this (sudo find / -name "tce.lst") and can't find that file. I feel like I am missing something simple.
-
Hi mxguy31
/usr/bin/tce-audit: line 282: can't open tce.lst: no such file
Try running this first:
tce-audit builddb
-
owfs posted to piCore 9.x repos
-
Wow, you guys are amazing!
Thank you so much.
-
Just to finish this thread out, and help anyone else in the future. I can install OWFS from tce. You have to run "modprobe fuse" to start fuse before owfs will work.
Thanks again for the help, my home automation is back in business.