WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Recent Posts

Pages: 1 ... 5 6 [7] 8 9 10
61
TCE Talk / Re: New package manager
« Last post by wysiwyg on February 04, 2026, 11:34:14 PM »
Hey Rich!

Ok, if it was implemented around that time, that would probably explain why I didn't see it in the version I originally forked from (which was 7.x in 2017).  When browsing through the source, I didn't understand why it was being called the way it was.  Obviously I adjusted that in my own project.  If that update was made in 2019, that would most likely have been TC 9.x...

Thanks for the tidbit!
62
TCE Talk / Re: New package manager
« Last post by Rich on February 04, 2026, 10:44:45 PM »
Hi wysiwyg
I don't know when it was enacted. This is from TC10 x86:
Code: [Select]
tc@E310:~$ grep -n BOOTING /usr/bin/tce*
/usr/bin/tce-load:10:unset WGET INSTALL COPYINSTALL BOOTING ONDEMAND DOWNLOAD_ONLY LOAD_ONLY SUPPRESS
/usr/bin/tce-load:41:   if [ "$BOOTING" ]; then
/usr/bin/tce-load:56:           b) BOOTING=TRUE ;;
/usr/bin/tce-load:92:   [ "$BOOTING" ] || rmdir /mnt/test
/usr/bin/tce-load:96:   if [ "$BOOTING" ]; then
/usr/bin/tce-load:107:          if [ "$BOOTING" ] ; then
/usr/bin/tce-load:132:                  if [ ! "$BOOTING" ]; then
/usr/bin/tce-load:146:                          if [ ! "$BOOTING" ]; then
/usr/bin/tce-load:154:          [ "$BOOTING" ] && [ "$SHOWAPPS" ] && echo -n "${YELLOW}$APPNAME ${NORMAL}"
/usr/bin/tce-load:241:if [ "$INSTALL" ] && [ ! "$BOOTING" ]; then
/usr/bin/tce-load:292:[ "$BOOTING" ] && exit 0
I think that's from around 2019.
63
TCE Talk / Re: New package manager
« Last post by wysiwyg on February 04, 2026, 10:36:27 PM »
Hey Rich!

Was the code updated at some point to include that?  The original fork from tce-load was back somewhere around 2017 (almost 10 years ago) and I don't think that was the case.  But then again, it was very long ago...

Just out of curiosity, why not have that functionality at all times?
64
TCE Talk / Re: New package manager
« Last post by Rich on February 04, 2026, 10:11:45 PM »
Hi wysiwyg
... As I stated, pax only (potentially) runs these commands once per execution regardless of how many packages are being installed, whereas the tce-load script calls them repeatedly (if applicable) per package being requested to install.  ...
Except when using:
Code: [Select]
tce-load -bwhich tells it you are booting. Then depmod, ldconfig, and tce.installed get run in the end.

I mention some of that here:
https://forum.tinycorelinux.net/index.php/topic,27231.msg175177.html#msg175177

Run these two commands to see where some of this takes place:
Code: [Select]
grep -n BOOTING /usr/bin/tce*
grep -n "/etc/sysconfig/newmodules" /usr/bin/tce*
65
Raspberry Pi / Re: no libiconv
« Last post by Rich on February 04, 2026, 09:36:13 PM »
Hi jbbum
Are you looking for libiconv.so to link against? ...
I found this for armhf, though I doubt aarch64 is different.
It appears libc provides iconv support:
Code: [Select]
tc@E310:~$ readelf -s -D PiCore/TC15/armhf/rootfs/lib/libc.so.6 | grep -E "Symbol|Num Buc|iconv"
Symbol table for image:
  Num Buc:    Value  Size   Type   Bind Vis      Ndx Name
  241 693: 00023cb4   208 FUNC    GLOBAL DEFAULT  11 iconv_open
  585 780: 00023d84   528 FUNC    GLOBAL DEFAULT  11 iconv
  698 936: 00023f94    68 FUNC    GLOBAL DEFAULT  11 iconv_close

Google  iconv c library linux  for more information.
66
TCE Talk / Re: New package manager
« Last post by wysiwyg on February 04, 2026, 09:14:21 PM »
Hey nick65go, thanks for the continued conversation!

What's your draw to Arch and Alpine?

I have analyzed the tce-load script, which is what pax was originally forked from.  It is no longer a fork and is its own project.  In regards to your points, they are both wrong. udevadm is what is used to trigger udev to basically re-examine the attached devices and bring any new ones onboard, or discard removed ones from the device.  ldconfig is used when libraries are added or removed.  This is why those commands have to be executed (sometimes) depending on particular files that get installed in packages.  As I stated, pax only (potentially) runs these commands once per execution regardless of how many packages are being installed, whereas the tce-load script calls them repeatedly (if applicable) per package being requested to install.  Thus, pax is more efficient in this manner.

I do agree that there are parts that get dismissed due to their goals of being small.  This is why I was "shocked" about how package searching was handled.

And no offense was taken.  I am passionate about my projects.  I have spent a considerable amount of my life working on all of them lol
67
General TC Talk / Re: Building Another Logger
« Last post by Rich on February 04, 2026, 08:48:00 PM »
Hi MTCAT
If you do this:
Code: [Select]
wget http://google.comDoes it download  index.html ?

Then try this:
Code: [Select]
getMirror
# The next command should display the URL for your repo
echo $MIRROR
wget $MIRROR/info.lst
Did it download  info.lst ?
What did  echo $MIRROR  display?
68
Raspberry Pi / Re: no libiconv
« Last post by Rich on February 04, 2026, 08:41:15 PM »
Hi jbbum
Are you looking for libiconv.so to link against? If so, I
don't think it existed in Tinycore.

If you are looking for iconv for character conversion, it's
in  glibc_apps.tcz.
69
Raspberry Pi / no libiconv
« Last post by jbbum on February 04, 2026, 07:36:01 PM »
Is there a libiconv.tcz for aarch64?
70
General TC Talk / Re: Building Another Logger
« Last post by MTCAT on February 04, 2026, 06:35:21 PM »
Hi Rich,

I changed http to https inside tcemirror and unfortunately same result, connection error, check network or mirror.....

Thanks,

David
Pages: 1 ... 5 6 [7] 8 9 10