Tiny Core Extensions > TCE Tips & Tricks

search tcz/src source for build scripts (rsync)

(1/3) > >>

mocore:
 happy source hunting

 
--- Code: ---
 find_src() {

 search_string=${1-w3m} # eg

 def_arch=${2-x86} # x86_64 or x86

 rsync -R --list-only repo.tinycorelinux.net::tc/*.x/x86/tcz/src/ | grep "$search_string"

 # tce-load -iwl rsync
 }


--- End code ---

    [Edit]: Changed  /*.x/86/tcz/  to  /*.x/x86/tcz/.  Rich

mocore:
... the tinycore repository structure has (imho) become less obvious to discover
as  browsers dropped support for ftp , and info.lst became the directory index
though the ibiblio mirror is still 'browse-able' via http

so the above function simplifies  finding previous source's & build notes

as previously stated @ https://forum.tinycorelinux.net/index.php/topic,27148.msg174366.html#msg174366 (though it seams worth repeating hear )

 
--- Quote from: Juanito on July 06, 2024, 05:55:22 AM ---Many extensions have scripts to build them from source,

--- End quote ---

all though


--- Quote from: gerald_clark on March 13, 2015, 08:57:47 PM ---If you don't  see the source it probably has not changed since the previous release, so look in the download area of previous releases.

--- End quote ---
...

--- Quote from: Rich on March 13, 2015, 10:58:41 PM ---Hi yiyus
Source packages are in the  src/  directory under  the  tcz/  directory in the repositories. For example:

--- Code: ---http://tinycorelinux.net/4.x/x86/tcz/src/
http://tinycorelinux.net/5.x/x86/tcz/src/
http://tinycorelinux.net/6.x/x86/tcz/src/
--- End code ---
If you need to get to TC2 or TC3 sources:

--- Code: ---http://tinycorelinux.net/2.x/tcz/src/
http://tinycorelinux.net/3.x/tcz/src/
--- End code ---

--- End quote ---

Rich:
Hi mocore
In case anyone sees this in the future, the TC2 and TC3
directories were removed to free up space on the server.

mocore:

 thanks rich! ...

 if u get the chance could you substitute /x86/ for /$arch/ in the (hastily posted) function above plz  ::)

Rich:
Hi mocore
Change made. Check to make sure I got it right. :)

Navigation

[0] Message Index

[#] Next page

Go to full version