Tiny Core Linux
Tiny Core Base => Raspberry Pi => Topic started by: gioreva on March 08, 2019, 12:58:24 AM
-
Hi
I'm new to TinyCore
For save installed application, (From repository and from make) , I have changed /opt/.filetool.lst to
opt
home
etc
usr
bin
lib
sbin
var
Is ok ?
For make WiringPI and other need build-essential, but i don't find it on repository.
How can I do ?
Tanks.
[EDIT]: Added code tags. Rich
-
That's not really the way to do it - you should take a look at the tinycore book.
To keep a compiled application it would be much better to make an extension out of it.
Which version of piCore are you using?
-
Hi gioreva
... For save installed application, (From repository and from make) , I have changed /opt/.filetool.lst to
opt
home
etc
usr
bin
lib
sbin
var
Please don't do that. Backing up those system directories (etc through var in your list) is going to cause you nothing but trouble.
It will cause excessive backup and restore times and likely interfere with the operating system by overriding files created while
booting with older versions from the previous session. As Juanito suggested, read the Tinycore book. It should only take about
an hour and will be well worth your time.:
http://tinycorelinux.net/book.html
For make WiringPI and other need build-essential, but i don't find it on repository.
Actually, what you need is called compiletc.tcz. It will pull in everything you need for a proper toolchain.
-
Tanks, wiringPi compiled.
But I spent 8 hours on that book and didn't understand how to make persist.
My English is shameful, and my linux is poor.
tce-load -wi compiletc git
git clone git://git.drogon.net/wiringPi
cd wiringPi
sudo ./build
How to make persistent WiringPi and not compiletc ad git ?
tce-load -wi nano libavcodec libavformat libswscale bash
How to make persistent "nano libavcodec libavformat libswscale bash" ?
-
Hi gioreva
tce-load -wi compiletc git
git clone git://git.drogon.net/wiringPi
cd wiringPi
sudo ./build
How to make persistent WiringPi and not compiletc ad git ?
Make an extension of it. See:
http://wiki.tinycorelinux.net/wiki:creating_extensions
tce-load -wi nano libavcodec libavformat libswscale bash
How to make persistent "nano libavcodec libavformat libswscale bash" ?
Loading them that way should have made them persistent. Did you remember to expand the second partition of your storage
device so there's space for those extensions? Did you read the SD card partitioning section found here:
http://tinycorelinux.net/10.x/armv7/test_relases/RPi/README
-
And just to clarify, wiringpi is in the 9.x and 10.x repo.
Do you know how to search the repo?
-
Last post by Paul_123
Do you know how to search the repo?
1) Simple way is to use in-built App utility, if net access is available thru TC .
2) Else Suppose you want to search a perticular TCZ in for eq:
http://tinycorelinux.net/9.x/armv6/tcz/
Just open above page of Pi repo in a browser , and use *Find on page* feature of your browser to search for the desired TCZ. .. If net access is not posible in your TCL box, download the TCZ and all its Deps thru Windoz and copy to /tce/optional ... etc.
... First approach is much better. .. :)