WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core 3.0 Alpha 6 Testing  (Read 48114 times)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #30 on: June 09, 2010, 04:31:22 PM »
Got it. Thanks!
10+ Years Contributing to Linux Open Source Projects.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #31 on: June 09, 2010, 05:45:49 PM »
Has the code for the app browser changed since 2.11? (And if so, is there a way you could make it available?) I'd like to tinker with it a little, and experiment with a couple of ideas.

Offline althalus

  • Sr. Member
  • ****
  • Posts: 351
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #32 on: June 09, 2010, 06:24:19 PM »
I'm also curious as to how the TC team managed to compile the mnttool on TC3 - It will only seem to compile for me if I include stdlib.h, which unfortunately blows out it's size monstrously.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #33 on: June 09, 2010, 06:27:46 PM »
I bet Robert has already squashed this whilst I ran a little loop over all the "usual suspects":
Code: [Select]
tc@box:~$ echo $PATH | tr ':' '\n' | while read DIR ; do sudo grep 'chown ' ${DIR}/* /dev/null ; done
/usr/bin/flwm_topside_initmenu:chown tc.staff -R /home/"$USER"/.wmx
/usr/bin/startx:    sudo chown root.staff "$TCEWBAR"
/usr/bin/tce-setdrive:  sudo chown -R tc.staff "$TCEDIR"
/usr/bin/tce-setup:chown -R "$USER".staff "$TCEINSTALLED"
/usr/bin/tce-setup:chown -R "$USER".staff "$TCEDIR" /opt/.tce_dir 2>/dev/null
/usr/bin/xsetup:sudo chown "$USER" "$HOME"/.xsession
/usr/bin/xsetup.sh:sudo chown "$USER" "$HOME"/.xsession

What stands out are the two occasions where 'tc' is hard coded (i.e. '/usr/bin/flwm_topside_initmenu' and '/usr/bin/tce-setdrive') and the fact that in '/usr/bin/xsetup.sh' no group is specified. I have not checked the other "*_initmenu" scripts for the other legacy WM, but they might be worth a look as well.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #34 on: June 10, 2010, 02:15:56 AM »
Just a small cosmetics. During boot there is a message:

Quote
Loading Tiny Core Applications Extensions

This would be better:

Quote
Loading Tiny Core Extensions
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline SvOlli

  • Full Member
  • ***
  • Posts: 193
  • Linux Developer
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #35 on: June 11, 2010, 11:35:52 AM »
Hello!

There are two things with tce-load I'd call odd:

First, you can run
Code: [Select]
tce-load -w -i extension.tczto download and install an extension, but
Code: [Select]
tce-load -i extension.tczfails, even if the extension has been downloaded.
I've attached a patch that prepends $TCEDIR/optional as a second try, if the extension was not found in the first place.

Second, if you try to install locally an extension that depends on compiletc.tcz, it will fail. To reproduce download only the qt-creator.tcz creator package and install it afterwards locally or via ondemand.

Offline maro

  • Hero Member
  • *****
  • Posts: 1228
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #36 on: June 11, 2010, 07:22:38 PM »
Due to reading another thread I had a quick look at the Wiki page mentioned and feel now compelled to report a minor annoyance:

Currently the URL in '/opt/tcemirror' has to end with a forward slash (unlike to what the Wiki page might suggest). This is due to the lack of a forward slash between "$MIRROR" and "$(getMajorVer)" in the current implementation of the 'getMirror()' function (in '/etc/init.d/tc-functions'). I believe that changing it to
    MIRROR="${MIRROR%/}/$(getMajorVer).x/tcz"
would make it a more "tolerant" function.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #37 on: June 11, 2010, 11:14:13 PM »
Has the code for the app browser changed since 2.11? (And if so, is there a way you could make it available?) I'd like to tinker with it a little, and experiment with a couple of ideas.
The latest source code for 2.x is posted.
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/src/fltk_projects/
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #38 on: June 11, 2010, 11:16:08 PM »
I'm also curious as to how the TC team managed to compile the mnttool on TC3 - It will only seem to compile for me if I include stdlib.h, which unfortunately blows out it's size monstrously.
Since I am still supporting 2.x, and fltk is 1.1.10 on both 2.x and 3.x I have not moved fltk compiles to 3.x.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #39 on: June 11, 2010, 11:16:37 PM »
Just a small cosmetics. During boot there is a message:

Quote
Loading Tiny Core Applications Extensions

This would be better:

Quote
Loading Tiny Core Extensions
OK. Done.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #40 on: June 11, 2010, 11:18:40 PM »
Hello!

There are two things with tce-load I'd call odd:

First, you can run
Code: [Select]
tce-load -w -i extension.tczto download and install an extension, but
Code: [Select]
tce-load -i extension.tczfails, even if the extension has been downloaded.
I've attached a patch that prepends $TCEDIR/optional as a second try, if the extension was not found in the first place.

Second, if you try to install locally an extension that depends on compiletc.tcz, it will fail. To reproduce download only the qt-creator.tcz creator package and install it afterwards locally or via ondemand.
Patch accepted. Thanks. I will look into the other before I comment.
« Last Edit: June 11, 2010, 11:20:29 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #41 on: June 11, 2010, 11:19:35 PM »
Due to reading another thread I had a quick look at the Wiki page mentioned and feel now compelled to report a minor annoyance:

Currently the URL in '/opt/tcemirror' has to end with a forward slash (unlike to what the Wiki page might suggest). This is due to the lack of a forward slash between "$MIRROR" and "$(getMajorVer)" in the current implementation of the 'getMirror()' function (in '/etc/init.d/tc-functions'). I believe that changing it to
    MIRROR="${MIRROR%/}/$(getMajorVer).x/tcz"
would make it a more "tolerant" function.
Suggested change accepted. Thanks!
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #42 on: June 12, 2010, 11:12:26 PM »
Hello!

There are two things with tce-load I'd call odd:

First, you can run
Code: [Select]
tce-load -w -i extension.tczto download and install an extension, but
Code: [Select]
tce-load -i extension.tczfails, even if the extension has been downloaded.
I've attached a patch that prepends $TCEDIR/optional as a second try, if the extension was not found in the first place.

Second, if you try to install locally an extension that depends on compiletc.tcz, it will fail. To reproduce download only the qt-creator.tcz creator package and install it afterwards locally or via ondemand.
Patch accepted. Thanks. I will look into the other before I comment.
Re: Second part
Found it. Fixed. Thanks. That was a subtle one.
10+ Years Contributing to Linux Open Source Projects.

Offline MikeLockmoore

  • Hero Member
  • *****
  • Posts: 525
  • Good software needn't be big!
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #43 on: June 13, 2010, 01:42:01 PM »
Hello all.  I've done a little testing with Alpha 6 on my Dell Inspiron 5100 (P4) laptop.  No real problems, besides maybe a couple of hung shutdowns reboot or shutdown from the FLWM menu.  It does not seem to happen consistently or in any particular situation that I can figure out.  If I do see a more repeatable example, I'll post it.

I'd like to build the kernel module for my ACX chipset WiFi adapter, but the linux-headers extension is not ready yet.  I downloaded the Linux 2.6.33.3 source tree, but I don't know how to set up a /lib/modules/.../build/ tree, which I need to build the acx.ko module.  Is a copy of the /lib/modules/.../build tree in the Linux source tree somewhere?  Or does anyone know how I can set up the build tree?  Thanks for any advice.
--
Mike L.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Tiny Core 3.0 Alpha 6 Testing
« Reply #44 on: June 13, 2010, 01:56:10 PM »
build is just a symlink to the extracted kernel source. If .config is there, "make modules_prepare" in the three is enough to make external modules compile.
The only barriers that can stop you are the ones you create yourself.