Tiny Core Linux

Tiny Core Base => TCB News => Release Candidate Testing => Topic started by: roberts on December 16, 2009, 09:55:47 PM

Title: tinycore_v2.7rc1
Post by: roberts on December 16, 2009, 09:55:47 PM
The First Release Candidate of v2.7 (tinycore_2.7rc1.iso), is now posted and ready for testing.
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release_candidates

tinycore_2.7rc1.iso
tinycore_2.7rc1.iso.md5.txt

The theme for v2.7 is make TC/MC simplier by promoting the 'mount install' method.

Change log for v2.7rc1:

* Updated tce-load - dropped l,m,lm,ml testing, ldconfig always called, depmod based on /usr/local/lib/modules, dropped -r option
* Renamed tcz2ram.flg, tcz2ram.lst to copy2fs.flg and copy2fs.lst
* Updated appbrowser - single 'Install' button and renamed 'Download Only' to 'OnDemand'
* Updated appsaudit - new menu option 'Install Options' to maintain copy2fs.flg and copy2fs.lst
* New 'ondemand' - create flwm right click menu shortcuts to load and start applications from /tce/optional - tune your system for faster boot times.
* New cache-clear script.
* Removed mbchk and libpopt* as unneeded in base.
* Stripped more libs for smaller size.
* Updated exitcheck.sh to call /opt/shutdown.sh for user shutdown time commands.
* New 'ab' a tiny command line appbrowser in shell
* New boot code xvesa=WxHxD, e.g. xvesa=800x600x32 to set default Xvesa resolution bypassing xsetup
* Updated tce-update and tce-setup to implement an 'easy mode' to update extensions in your tce folder


Title: Re: tinycore_v2.7rc1
Post by: roberts on December 16, 2009, 10:04:04 PM
Notes:

Updated extensions needed for v2.7 now posted:

rsync.tcz
OSS.tcz

Note to use OnDemand for flwm, you need to update your /opt/.xfiletool.lst and change:
home/tc/.wmx  to  home/tc/.wmx/Applications
Title: Re: tinycore_v2.7rc1
Post by: Juanito on December 16, 2009, 10:20:22 PM
There's perhaps a permissions error?

Booting "base norestore":
Code: [Select]
$ sudo tce-setup
$ startx
$ ls -al /home/tc
...
drwxr-xr-x    4 root     root          160 Dec 17 10:04 .wmx/

After changing ~/.wmx to tc:staff, ondemand seems to work.

Title: Re: tinycore_v2.7rc1
Post by: Juanito on December 16, 2009, 10:23:26 PM
Updated extensions needed for v2.7 now posted:

rsync.tcz
OSS.tcz

Are these in the usual repo? If so the info file isn't updated?
Title: Re: tinycore_v2.7rc1
Post by: bmarkus on December 17, 2009, 12:46:40 AM
Running from an USB stick (single 512k VFAT partition with /tce dir) with LXDE, mc and Xorg installed from the repo it works fine. Placing an empty tcz2ram.flg to /tce system boots to base only. No extensions loaded, /usr/local/tce.installed dir is empty. copy2fs.flg works as expected.

EDIT:

Tried the same stick with another machine. No extensions are loaded even if there are no tcz2ram.flg so it has nothing to do with it, problem is something else.

EDIT:

Third machine tested, works fine.
Title: Re: tinycore_v2.7rc1
Post by: jur on December 17, 2009, 03:12:49 AM
* New 'ondemand' - create flwm right click menu shortcuts to load and start applications from /tce/optional - tune your system for faster boot times.
* New cache-clear script.
* Removed mbchk and libpopt* as unneeded in base.
* Stripped more libs for smaller size.
* Updated exitcheck.sh to call /opt/shutdown.sh for user shutdown time commands.
* New 'ab' a tiny command line appbrowser in shell
* New boot code xvesa=WxHxD, e.g. xvesa=800x600x32 to set default Xvesa resolution bypassing xsetup
* Updated tce-update and tce-setup to implement an 'easy mode' to update extensions in your tce folder
Many thanks Robert, for implementing this thing I asked for :) Allow me to point out you're a star. In fact allow me to emphasize you're a blooming supernova.

Coupla queries:

* How does 'create flwm right-click menu shortcuts' work? I tried but didn't notice anything different. There didn't seem to be any extra items on rightclicking in flwm.

* What are the command line switches in tce-load - are some dropped?
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 05:47:53 AM
There's perhaps a permissions error?

Booting "base norestore":
Code: [Select]
$ sudo tce-setup
$ startx
$ ls -al /home/tc
...
drwxr-xr-x    4 root     root          160 Dec 17 10:04 .wmx/

After changing ~/.wmx to tc:staff, ondemand seems to work.

Yes, indeed. Thanks for the feedback. Corrected for rc2.
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 05:50:21 AM
Updated extensions needed for v2.7 now posted:

rsync.tcz
OSS.tcz

Are these in the usual repo? If so the info file isn't updated?
Info files updated.
Since libpopt was cut from 2.7 rsync needs it. So libopt was added to rsync.tcz

The modules in OSS were not in the new standard /usr/local/lib/modules/... so the startup script was modified to handle this special case and call depmod -a from within.
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 05:52:35 AM
Running from an USB stick (single 512k VFAT partition with /tce dir) with LXDE, mc and Xorg installed from the repo it works fine. Placing an empty tcz2ram.flg to /tce system boots to base only. No extensions loaded, /usr/local/tce.installed dir is empty. copy2fs.flg works as expected.

EDIT:

Tried the same stick with another machine. No extensions are loaded even if there are no tcz2ram.flg so it has nothing to do with it, problem is something else.

EDIT:

Third machine tested, works fine.
I suspect that it is the partition scheme on the pendrive not being recognized.
On those machine which experienced a failure what does fdisk -l display?
If not a clean partition table with recognized filesystem type then how was this pendrive with TC created?
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 06:06:12 AM
* New 'ondemand' - create flwm right click menu shortcuts to load and start applications from /tce/optional - tune your system for faster boot times.
* New cache-clear script.
* Removed mbchk and libpopt* as unneeded in base.
* Stripped more libs for smaller size.
* Updated exitcheck.sh to call /opt/shutdown.sh for user shutdown time commands.
* New 'ab' a tiny command line appbrowser in shell
* New boot code xvesa=WxHxD, e.g. xvesa=800x600x32 to set default Xvesa resolution bypassing xsetup
* Updated tce-update and tce-setup to implement an 'easy mode' to update extensions in your tce folder
Many thanks Robert, for implementing this thing I asked for :) Allow me to point out you're a star. In fact allow me to emphasize you're a blooming supernova.

Coupla queries:

* How does 'create flwm right-click menu shortcuts' work? I tried but didn't notice anything different. There didn't seem to be any extra items on rightclicking in flwm.

* What are the command line switches in tce-load - are some dropped?

RE: ondemand shortcuts:
You must be using the flwm either topside or classic.
As previously noted by Juanito, there is a permission error and that you must correct.
sudo chown +R tc.staff .wmx
sudo chmod +R g+w .wmx
Also you need to adjust /opt/.xfiletool.lst from home/tc/.wmx to home/tc/.wmx/Applications
From a command prompt type ondemand and follow the prompt.

OnDemand means not having to load all your extensions at boot time, but on demand after boot by easily right clicking the flwm menu. This can translate to boot times that rival base. Currently only supports flwm.

RE: tce-load flags
Typing tce-load will display a usage message with available flags. Only -r was dropped. The usual
-w = wget, -i  = install work as before.

But if you like command line stuff, check out my new ab tiny command line appbrowser. Just start with any search term, e.g., ab games
Title: Re: tinycore_v2.7rc1
Post by: bmarkus on December 17, 2009, 06:15:11 AM
Quote
Disk /dev/sda: 515 MB, 515375104 bytes
64 heads, 32 sectors/track, 491 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1         491      502768   6 FAT16

This is my regularly used TC test USB stick. Formatted with WIN XP, installed with unetbootin. Same procedure works with 2.6, 2.5, 2.4, ... One more thing. After base system starts, /dev/sda1 is not mounted. Extending waitusb time doesn't help.
Title: Re: tinycore_v2.7rc1
Post by: Jason W on December 17, 2009, 06:18:29 AM
re: libpopt

There is a popt extension that was made to accomodate the removal of libpopt from base.  I can add it to the dep file of rsync.tcz. 
Title: Re: tinycore_v2.7rc1
Post by: hlavery on December 17, 2009, 07:35:10 AM
Hello....ondemand is not working for me, although I have followed all instructions thus far:

(1) after changing permissions and editing .xfiletool.lst, the ondemand command does not bring up a prompt either as user or root....
(2) if I reboot to see if that might help bring up a prompt, the permissions all revert to root:root

plus,

(3) in the new cli "ab", I have to hit F-2 to get the "install...." choices to come up, "enter" just brings me to an "end" statement.  Found F-2 by trial and error...

Thanks!



Title: Re: tinycore_v2.7rc1
Post by: bigpcman on December 17, 2009, 08:16:16 AM
The First Release Candidate of v2.7 (tinycore_2.7rc1.iso), is now posted and ready for testing.
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release_candidates

tinycore_2.7rc1.iso
tinycore_2.7rc1.iso.md5.txt

The theme for v2.7 is make TC/MC simplier by promoting the 'mount install' method.

Change log for v2.7rc1:

* Updated tce-load - dropped l,m,lm,ml testing, ldconfig always called, depmod based on /usr/local/lib/modules, dropped -r option
* Renamed tcz2ram.flg, tcz2ram.lst to copy2fs.flg and copy2fs.lst
* Updated appbrowser - single 'Install' button and renamed 'Download Only' to 'OnDemand'
* Updated appsaudit - new menu option 'Install Options' to maintain copy2fs.flg and copy2fs.lst
* New 'ondemand' - create flwm right click menu shortcuts to load and start applications from /tce/optional - tune your system for faster boot times.
* New cache-clear script.
* Removed mbchk and libpopt* as unneeded in base.
* Stripped more libs for smaller size.
* Updated exitcheck.sh to call /opt/shutdown.sh for user shutdown time commands.
* New 'ab' a tiny command line appbrowser in shell
* New boot code xvesa=WxHxD, e.g. xvesa=800x600x32 to set default Xvesa resolution bypassing xsetup
* Updated tce-update and tce-setup to implement an 'easy mode' to update extensions in your tce folder

Robert and team Tinycore - looks like some very good improvements. It's great to see the focus on simplification.

Regarding the addition of "ab", I was wondering how you decided on the name. I would prefer it to be different than apache benchmark (ab) which I use on a regular basis.
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 08:30:51 AM
Hello....ondemand is not working for me, although I have followed all instructions thus far:

(1) after changing permissions and editing .xfiletool.lst, the ondemand command does not bring up a prompt either as user or root....
(2) if I reboot to see if that might help bring up a prompt, the permissions all revert to root:root

plus,

(3) in the new cli "ab", I have to hit F-2 to get the "install...." choices to come up, "enter" just brings me to an "end" statement.  Found F-2 by trial and error...

Thanks!



RE: ab users existing nix tool, less, to the view  the .info.  exit by pressing q to get to the install options.
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 08:35:19 AM
Quote
Disk /dev/sda: 515 MB, 515375104 bytes
64 heads, 32 sectors/track, 491 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1   *           1         491      502768   6 FAT16

This is my regularly used TC test USB stick. Formatted with WIN XP, installed with unetbootin. Same procedure works with 2.6, 2.5, 2.4, ... One more thing. After base system starts, /dev/sda1 is not mounted. Extending waitusb time doesn't help.

After boot is it listed in /etc/fstab?
Title: Re: tinycore_v2.7rc1
Post by: bmarkus on December 17, 2009, 11:03:42 AM
After boot is it listed in /etc/fstab?

Yes, it is there and can be mounted with 'mount /mnt/sda1'
Title: Re: tinycore_v2.7rc1
Post by: gerald_clark on December 17, 2009, 11:38:08 AM
ondemand test needs to be changed to:
[ "$DESKTOP" == "flwm" ] || [ "$DESKTOP" == "flwm_topside" ] || exit 1

Last line needs to be changed to:
/usr/bin/${DESKTOP}_restart

Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 12:03:29 PM
topside strikes again! Thanks for helping test. Fixed for rc2.
Fixed and flwm.tcz & flwm_topside.tcz reposted in the repository now.
Title: Re: tinycore_v2.7rc1
Post by: gerald_clark on December 17, 2009, 12:27:18 PM
tce-update fails for nfs based tce directory.
Patch attached.

Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 12:42:12 PM
Thanks for your interest and support of NFS on Tiny Core.
Title: Re: tinycore_v2.7rc1
Post by: hlavery on December 17, 2009, 01:21:24 PM
I got "ondemand" to work by editing the script to comment out line 3 ["DESKTOP" == , etc
and then
changing the final line to /usr/bin/flwm_topside_restart, so the issue is indeed with "topside".

Thanks to all; this is a significant improvement!
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 03:51:54 PM
Glad to hear that it is being well received, bugs in all  ;)
I will have a much cleaner rc2 very soon.
Thanks to a great community for much feedback.
Title: Re: tinycore_v2.7rc1
Post by: jur on December 17, 2009, 04:55:40 PM
My cd drive is not listed in rox nor in fstab in this release. In 2.6, it is listed as sr0.
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 07:13:27 PM
My cd drive is not listed in rox nor in fstab in this release. In 2.6, it is listed as sr0.
What does cat /etc/sysconfig/cdroms display?
What does ls -l /dv/sr0 display?
Title: Re: tinycore_v2.7rc1
Post by: jur on December 17, 2009, 08:31:46 PM
My cd drive is not listed in rox nor in fstab in this release. In 2.6, it is listed as sr0.
What does cat /etc/sysconfig/cdroms display?
- file does not exist in either case.
Quote
What does ls -l /dev/sr0 display?
Both cases:
Code: [Select]
brw-r----- 1 root staff 11, 0 Apr 18 2009 /dev/sr0
Title: Re: tinycore_v2.7rc1
Post by: roberts on December 17, 2009, 10:21:36 PM
RE:sr0  Eureka! Needed to update a udev rule. Will be in rc2.
Title: Re: tinycore_v2.7rc1
Post by: jur on December 18, 2009, 12:54:41 AM
This release candidate has many of those items that I have long desired to make tc easy to use - ondemand for lightning booting, and updating of all the extensions in /tce/optional. This absolutely rocks.

Thanks Robert, for making computing an enjoyable experience for me again.