WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: tinycore_v2.9rc2  (Read 18492 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tinycore_v2.9rc2
« Reply #15 on: February 09, 2010, 10:56:43 AM »

I am hoping to hear some positive feedback from extension makers now that we can support recursion.


Robert,

what kind of feedback are you expecting?
Béla
Ham Radio callsign: HA5DI

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

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tinycore_v2.9rc2
« Reply #16 on: February 09, 2010, 11:10:25 AM »
Well, usually I only hear when things don't work!
In this case, I would like to hear assessments such as:

faster or slower showing some time comparisions.
easier or more difficult.
success stories, for example, "I now have LXDE working with recursive dependencies!"  ;D
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tinycore_v2.9rc2
« Reply #17 on: February 09, 2010, 11:22:31 AM »
Well, the problem is the testing method. There are some issues.

I know which are the direct and indirect dependencies of extension created by myself and can adjust .dep files of my own extensions, but not necesarily others used in the test.

One test is to look for changes booting the system with the changed dep files. This can be done with the limitation see above for LXDE and Xfce as a good example having long and longer dep lists :)

The other test would be to see installation from the repo with appbrowser on a stock system using the new dep files. It requires not only new dep files but an online test repository. Having a test repo would be really useful for in vitro testing.

I'm ready to correct my dep files. However such test (and also the transition) requires work of all extension makers and a longer, few weeks test period.
Béla
Ham Radio callsign: HA5DI

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

Offline MakodFilu

  • Newbie
  • *
  • Posts: 46
Re: tinycore_v2.9rc2
« Reply #18 on: February 09, 2010, 11:39:26 AM »
One easy test is trying to install galculator.tcz. In fact this is the first time I noticed that it needed ttf-bitstream-vera.tcz by depending on libglade.tcz

Recursive dependency worked for 2.9rc1 and rc2 as it didn't in 2.8.1.

Moving forward, one thing that puzzled me is that when pressing 'Set TCE' button on the Control Panel, it merely complains that it is alread set, which is true but I was expecting the button to allow me to reset it. I wonder if someone expected the same. I am not talking about a feature request, but merely stating that in my particular case that button served no obvious purpose.
« Last Edit: February 09, 2010, 11:42:06 AM by MakodFilu »

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tinycore_v2.9rc2
« Reply #19 on: February 09, 2010, 12:10:43 PM »
"Set TCE Drive" is for new users!
Here is the typically senario...

"I booted Tiny Core, installed some apps and when rebooted they are gone!"

Typical answer:  "You need to make nested directories of tce/optional on some drive and you need to get the permissions just right!. You also need to touch a file called mydata.tgz in the tce folder"

The official answer has been: "Just use the boot code tce=hda1. It will setup everything on drive hda1. You only need to do this boot code one time"

So, beacuse this senario plays out so often, I thought I would add an option to setup the tce directories and default empty backup file when booted in cloud mode.

It is not for the creation of multiples as that can become quite confusing.

Re: Testing recursion can be done locally with tce-load -i extname.tcz
« Last Edit: February 09, 2010, 12:22:32 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tinycore_v2.9rc2
« Reply #20 on: February 09, 2010, 01:09:46 PM »

Re: Testing recursion can be done locally with tce-load -i extname.tcz


How -i (and -w) switches work? Tried to find a description with no success :(
Béla
Ham Radio callsign: HA5DI

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

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: tinycore_v2.9rc2
« Reply #21 on: February 09, 2010, 02:45:08 PM »
# Example usage:
# tce-load -i /mnt/hda1/tce/optional/nano.tcz   Loads local extension
# tce-load -w -i nano.tcz                                 Download into tce/optional directory, updates OnBoot and installs
# tce-load -w nano.tcz                                    Download only into tce/optional directory
10+ Years Contributing to Linux Open Source Projects.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tinycore_v2.9rc2
« Reply #22 on: February 09, 2010, 02:46:24 PM »
As for the conversion of the existing dep files, I am testing a script that will convert automatically.  
All repo conversions are scripted, it is always too much to do by hand even with many hands involved.  I just need to work in wgetting existing dep files for the script to work against.  In making extensions, you can list as many redundant entries that you want, and running the script will purge the dep file of deps that are called upon by other deps in the list.   Just need to test a little more.  There are others working on a similar thing I believe, so soon testing will be much more simple.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: tinycore_v2.9rc2
« Reply #23 on: February 10, 2010, 06:20:21 AM »
rebuildfstab[2685]: segfault at 8 ip 0806f590 sp bffd8510 error 4 in busybox[8048000+7c000]
dCore user

Offline MakodFilu

  • Newbie
  • *
  • Posts: 46
Re: tinycore_v2.9rc2
« Reply #24 on: February 10, 2010, 07:26:40 AM »
"Set TCE Drive" is for new users!
[...]
It is not for the creation of multiples as that can become quite confusing.

Certainly. I was not taking into account that irremisible consequence. However, I see an opportunity here for education, changing the message from a simple "Already done" or "Don't do that" to something along the line: "TCE location is already set. It is strongly discouraged to allow multiple disparate repositories to reside in the same machine".

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tinycore_v2.9rc2
« Reply #25 on: February 10, 2010, 08:46:17 AM »
Well, usually I only hear when things don't work!
In this case, I would like to hear assessments such as:

faster or slower showing some time comparisions.
easier or more difficult.
success stories, for example, "I now have LXDE working with recursive dependencies!"  ;D

I set up a private repo. Tested, it works as expected. Next I replaced dep files with files created by Jason's script. Tried Appbrowser and tce-load with the same result. Do not see any recursive resolution, only those extensions loadced which are listed in the .dep file of extension installed, but nothing next level.

For example hal.tcz.dep is

Quote
dbus-glib.tcz
pci-utils.tcz
usb-utils.tcz
udevadm.tcz

Installing hal.tcz all above are loaded, but for example libusb.tcz isn't which is in the usb-utils.tcz.dep

P.S.: Maybe I misunderstand recursive dependency resolution :(


« Last Edit: February 10, 2010, 08:48:30 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

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

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tinycore_v2.9rc2
« Reply #26 on: February 10, 2010, 09:31:27 AM »
It seems to be working here with tce-load from 2.9rc2 when using tce-load from the command line and the extensions are in /optional.  Here is the adjusted rhythmbox deplist:

Code: [Select]
totem-pl-parser.tcz
gnome-media.tcz
libsoup-gnome.tcz
gst-plugins-good.tcz
gst-plugins-bad.tcz
gst-plugins-ugly.tcz
gst-python.tcz
gmime.tcz
pygtk.tcz
pyorbit.tcz
gnome-python.tcz
libnotify.tcz
avahi.tcz
libgpod.tcz
gnome-icon-theme.tcz
shared-mime-info.tcz



And here is what ends up being installed, according to /usr/local/tce.installed:

Code: [Select]
GConf
ORBit2
SDL
Xlibs_support
atk
avahi
bzip2-lib
cairo
dbus
dbus-glib
eggdbus
expat2
faad
flac
fontconfig
gcc_libs
glib2
gmime
gnome-icon-theme
gnome-media
gnome-python
gnome-vfs
gnutls
graphics-libs-1
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gst-python
gstreamer
gtk2
libIDL
liba52
libasound
libbonobo
libcdaudio
libcdio
libcroco
libdaemon
libdca
libdvdnav
libdvdread
libffi
libgcrypt
libglade
libgnome
libgnome-keyring
libgpg-error
libgpod
libgsf
libid3tag
libmad
libmpeg2
libnotify
liboil
libproxy
librsvg
libsoup
libsoup-gnome
libtheora
libxml2
nss-mdns
ogg-vorbis
openssl-0.9.8h
pango
pixman
popt
pycairo
pygobject
pygtk
pyorbit
python
sqlite3
taglib
tcl_tk
totem-pl-parser
ttf-bitstream-vera

« Last Edit: February 10, 2010, 09:34:27 AM by Jason W »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tinycore_v2.9rc2
« Reply #27 on: February 10, 2010, 09:34:07 AM »
Jason, can you share how are you using tce-load ? What is about Appbrowser?
« Last Edit: February 10, 2010, 09:36:38 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

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

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: tinycore_v2.9rc2
« Reply #28 on: February 10, 2010, 09:35:31 AM »
using "tce-load -i rhythmbox.tcz" when the extensions were downloaded and waiting in ondemand mode in an empty /optional. 

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: tinycore_v2.9rc2
« Reply #29 on: February 10, 2010, 09:52:30 AM »
Both Ondemand with Appbrowser or tce-load -w hal.tcz install only what is listed in hal.tcz.dep
Béla
Ham Radio callsign: HA5DI

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