Tiny Core Linux

Tiny Core Base => TCB News => Final Releases => Topic started by: roberts on December 26, 2011, 02:00:24 PM

Title: Core 4.2
Post by: roberts on December 26, 2011, 02:00:24 PM
Team Tiny Core is proud to announce the release of Core 4.2.
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/4.x/x86/release (http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/4.x/x86/release)

Main theme for 4.2 release is the refactoring of Tiny Core to be highly modular by focusing on its Core.
With the Core Project one starts with the kernel (vmlinuz 2.4MB) and the core.gz 5MB.
Core.iso 8MB is simply the kernel + core.gz - this is the foundation for user created desktops.
TinyCore is simply the kernel + core.gz + Xvesa.tcz|Xorg.tcz + Xprogs +fltk-1.10.tcz + (user's choice of Window Manager) + wbar.tcz.

The original TinyCore.iso becomes simply an example of what the Core Project can produce, an 12MB GUI desktop.

4.2 also intoduces CorePlus a simple way to get started using the Core philosophy with its included community packaged extensions enabling easy embedded frugal or pendrive installation of the user's choice of supported desktop, while maintaining the Core principal of mounted extensions with full package management.

Change log:
* Updated base for move of /opt/.tce_dir to a link at /etc/sysconfig/tcedir which includes the following:
   tce-load, tce-run, tce-setdrive, tce-size, tce-audit, filetool.sh, tce-setup, ondemand, tce-update,
   .profile, tc-config, rc.shutdown, appbrowser, appsaudit, exittc, flwm_topside_ondemand,
   .setbackground, wbarconf, wbar_update.sh, wbar_setup.sh.
* Updated the following system X/GUI extensions:
   Xvesa,tcz, Xlibs.tcz, Xprogs,tcz, fltk-1.10.tcz, flwm_topside.tcz, flwm.tcz, and wbar.tcz.
* New refactored Xlibs.tcz, Xprogs.tcz so that now Xprogs.tcz contains only FLTK GUI programs. Xprogs is now optional.
* New fltk-1.10.tcz contains only FLTK libraries, required by any FLTK GUI programs.
* Updated tce-setup to use /tmp/builtin for embedded initrd extensions. Changed from /opt/tce
* Updated cpanel to only activate Xvesa button if Xvesa is loaded.
* Updated exittc default focus on OK button for quicker use from keyboard.
* Updated mntttol to call rebuildfstab.
* Updated tce-setup to write cde info to /etc/sysconfig.
* Updated startx to better support desktop boot code.
* Updated tc-config and tce-setup.sh for refined definition of the base boot code.
  base will now only ignore "user" extensions. Builtins and cde extensions always load as they have become by their very nature part of the base system.  See CorePlus.iso for how it is being used.
  xbase.lst is implemented via our standard lst boot option. But now lst is supported in the cde directory.
  Hence by using xbase.lst a simple standard list file containing only the base X/GUI extensions to be loaded.
  See CorePlus iso for how it is being deployed.
* Clean up of some full paths, adjusted /opt/.filetool.lst and /opt/.xfiletool.lst
* New /usr/bin/exittc script to allow exiting WM when no Xprogs are used.
* New /usr/bin/backup script useful when no Xprogs are used.
* Updated .xsession to store X pid.
* New setupdesktop factored out of startx in Xlibs.tcz
* Updated startx to call setupdesktop
* New startup script for Xprogs.tcz to support after X/GUI desktop loading.
* Updated tce-setup for better detection of cde when not found on cdrom.
* Updated .dep files to include fltk-1.10 libs. You can now use any supported window manager without Xprogs,
* Updated interface files for supported window manager extensions:
   flwm_topside.tcz, flwm.tcz, fluxbox.tcz, hackedbox.tcz, icewm.tcz, icewm-full.tcz, jwm-snapshot.tcz, jwm.tcz

Files likely in your backup that will need to be updated:
.setbackground
.profile
.xsession

Note: You must recreate all ondemand items. Use AppsAudit OnDemand Maintenance.

CorePlus replaces MultiCore:

CorePlus now sports a boot menu so that the user can easily select window managers and boot options available.
* Dropped tc-grub4dos
* Dropped tinycore.gz
* Added flwm, jwm, icewm, fluxbox, and hackedbox; plus their dependencies.
* Updated tc-install.sh & tc-install GUI now installs running desktop and detects CorePlus with user selectable options,
  frugal now installs embedded, i.e., self contained in the tce directory with option to skip the boot loader install.
* Updated ezremaster to support the new Core foundation.

=================================================================

You are now be able to use for example, JWM, and no Xprogs.tcz. You would have to use CLI utilities for Core extensions.
Title: Re: Core 4.2
Post by: coreplayer2 on December 26, 2011, 02:24:09 PM
Cool  I know this edition was a lot of hard work.   Thanks and Happy Holidays
Title: Re: Core 4.2
Post by: beroje on December 26, 2011, 05:06:52 PM
Warning:
You are running version 4.2
The latest release is /export/sunsite/users/tcrob/tinycorelinux/4.x/x86/release/TinyCore-4.2
/export/sunsite/users/tcrob/tinycorelinux/4.x/x86/release/TinyCore-current
Title: Re: Core 4.2
Post by: gerald_clark on December 26, 2011, 05:11:00 PM
On CorePlus, the last boot option is missing the 'waitusb=5' necessary to find tce on the second partition of thumb drive.
Title: Re: Core 4.2
Post by: Juanito on December 26, 2011, 11:39:26 PM
core.gz in Core-4.2.iso and /distribution_files shows version 4.2rc1 - given the date on core.gz in the iso is 23 Dec, is this the latest version?
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 05:50:30 AM
Warning:
You are running version 4.2
The latest release is /export/sunsite/users/tcrob/tinycorelinux/4.x/x86/release/TinyCore-4.2
/export/sunsite/users/tcrob/tinycorelinux/4.x/x86/release/TinyCore-current
Server side issue. Corrected on server. Thanks!
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 06:21:12 AM
core.gz in Core-4.2.iso and /distribution_files shows version 4.2rc1 - given the date on core.gz in the iso is 23 Dec, is this the latest version?
I am not seeing this. md5sums check. I just now downloaded Core-4.2.iso and booting it the version command displays 4.2
Title: Re: Core 4.2
Post by: vinnie on December 27, 2011, 06:28:05 AM
Before making the jump I will take a bit of courage, however I am very happy of the structural changes taking place.
A big'orra for you
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 06:32:42 AM
On CorePlus, the last boot option is missing the 'waitusb=5' necessary to find tce on the second partition of thumb drive.
REPOSTED CorePlus with correction. Thanks.
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 06:39:16 AM
Before making the jump I will take a bit of courage, however I am very happy of the structural changes taking place.
A big'orra for you
4.2 is really not that different from what everyone was doing. Extensions! Everyone has to have known how to use extensions. 4.2 moves the X/GUI to extension status. Why use TinyCore's flwm and Xvesa when you can choose what you want. For those who are timid CorePlus makes it super easy to install.
Title: Re: Core 4.2
Post by: vinnie on December 27, 2011, 06:42:44 AM
4.2 is really not that different from what everyone was doing. Extensions! Everyone has to have known how to use extensions. 4.2 moves the X/GUI to extension status. Why use TinyCore's flwm and Xvesa when you can choose what you want. For those who are timid CorePlus makes it super easy to install.

I'm lazy-natured and slow to keep up to date, sure it's just my problem  ;)
Title: Re: Core 4.2
Post by: caminati on December 27, 2011, 06:55:20 AM
Just updated to 4.2 (form Microcore 4.1), and


I also tried a base norestore.
It is a fresh test. Maybe I have to wait some central server alignment?
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 08:24:01 AM
1. Only if have their md5sums.
2. info.lst corrected on server to contain fltk-1.10.tcz 
Title: Re: Core 4.2
Post by: caminati on December 27, 2011, 08:57:43 AM
1. Only if have their md5sums.

That was not the problem: I realized Xprogs, Xlibs were updated before the official 4.2 release, and were already upgraded on my installation.

The above is false: I just had to use tce-update instead of appsaudit, see following posts.
Sorry for the noise.

Quote
2. info.lst corrected on server to contain fltk-1.10.tcz
Thanks.
Title: Re: Core 4.2
Post by: AbNoRMiS on December 27, 2011, 11:32:41 AM
if tce directory is on a disk with vfat, then permissions changes using the key -R in /usr/bin/tce-setup
Code: [Select]
setupExtnDirs() {
[ -d "$MOUNTPOINT"/"$TCE_DIR"/optional ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/optional
[ -d "$MOUNTPOINT"/"$TCE_DIR"/ondemand ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/ondemand
touch "$MOUNTPOINT"/"$TCE_DIR"/onboot.lst
touch "$MOUNTPOINT"/"$TCE_DIR"/xwbar.lst
chown -R "$USER".staff "$MOUNTPOINT"/"$TCE_DIR"
chmod -R g+w "$MOUNTPOINT"/"$TCE_DIR"
}
when booting leads to mass error output for each file in the tce dir and subdirs: "Operation not permitted"
Title: Re: Core 4.2
Post by: netnomad on December 27, 2011, 12:32:35 PM
hi roberts,

with some learnings i successfully upgraded my configurations to 4.2.

but my ondemand-menu in fluxbox doesn't load ondemand anymore.
i deleted my ondemand file that it was reproduced automatically, but nevertheless it doesn't work anymore.

here a short part of my fluxbox-ondemand-file:

[submenu](OnDemand)
[exec](cfdisk){/etc/sysconfig/tcedir/ondemand/cfdisk}
[exec](xvkbd){/etc/sysconfig/tcedir/ondemand/xvkbd}
[end] OnDemand

do you have any idea? has it something to do with the path /etc/sysconfig/tcedir...?
this path with the program doesn't install ondemand on the command-line, too.
the command-line gives no respond, i have to "tce-load -i program" manually...

thank you in advance for every help and hint!
Title: Re: Core 4.2
Post by: gerald_clark on December 27, 2011, 01:04:17 PM
fluxbox is a window manager, and won't run if another window manager is already running.
Title: Re: Core 4.2
Post by: netnomad on December 27, 2011, 01:14:02 PM
hi gerald_clark,

i want to give some more detailed informations:
i use just
kernel+core+xvesa+xprogs+fltk-1.10+fluxbox+wbar
and
i enjoy to use a really nice home-brewed-configuration, based on fluxbox.
everything with fluxbox works fine, with exception of my fluxbox-ondemand-submenu.
that means, when i choose a program out of the menu, nothing happens.
the same command on the cli gives no response, the only way to load further programs ondemand
is the manually way over "tce-load -i program.tcz".

thank you for your further advices!
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 02:28:57 PM
fat is ugly, however does not impact use.
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 02:42:17 PM
hi roberts,

with some learnings i successfully upgraded my configurations to 4.2.

but my ondemand-menu in fluxbox doesn't load ondemand anymore.
i deleted my ondemand file that it was reproduced automatically, but nevertheless it doesn't work anymore.

here a short part of my fluxbox-ondemand-file:

[submenu](OnDemand)
[exec](cfdisk){/etc/sysconfig/tcedir/ondemand/cfdisk}
[exec](xvkbd){/etc/sysconfig/tcedir/ondemand/xvkbd}
[end] OnDemand

do you have any idea? has it something to do with the path /etc/sysconfig/tcedir...?
this path with the program doesn't install ondemand on the command-line, too.
the command-line gives no respond, i have to "tce-load -i program" manually...

thank you in advance for every help and hint!

fluxbox ondemand is working as expected. Try a properly configured freedesktop extension such as xchat.tcz, which has both an icon and menu item, or even ace-of-penguins,tcz which only has a menu item.

cfdisk does not have a freedesktop item, which is supposed to be our standard. cfdisk is not an X/GUI program and should have cliorx as for example, aterm does or wifi.tcz does in their freedesktop spec.

Edit
Likely xvkbd.tcz is missing the cliorx directive in its freedesktop item.
xvkbd is an X/GUI program and is working as expected fluxbox ondemand.

Therefore it would appear that your issues as extension specific and could easily be fixed with proper specifications.

Without proper freedesktop specification ondemand typically can only load the extension. Therefore requiring you to open an xterm and typing the expected startup command. With proper freedesktop spec, and  with cliorx for not X/GUI, it could be automatic.
Title: Re: Core 4.2
Post by: floppy on December 27, 2011, 02:49:53 PM
hi roberts,

with some learnings i successfully upgraded my configurations to 4.2.

but my ondemand-menu in fluxbox doesn't load ondemand anymore.
i deleted my ondemand file that it was reproduced automatically, but nevertheless it doesn't work anymore.

here a short part of my fluxbox-ondemand-file:

[submenu](OnDemand)
[exec](cfdisk){/etc/sysconfig/tcedir/ondemand/cfdisk}
[exec](xvkbd){/etc/sysconfig/tcedir/ondemand/xvkbd}
[end] OnDemand

do you have any idea? has it something to do with the path /etc/sysconfig/tcedir...?
this path with the program doesn't install ondemand on the command-line, too.
the command-line gives no respond, i have to "tce-load -i program" manually...

thank you in advance for every help and hint!
for me in 4.2rc3..
the ondemand were not working anymore.. see http://forum.tinycorelinux.net/index.php/topic,12164.msg65419.html#msg65419 (http://forum.tinycorelinux.net/index.php/topic,12164.msg65419.html#msg65419)
I had to.. (in the appsaudit, ondemand)
a) take all apps away of it
b) close appsaudit
c) start appsaudit again and put all apps again in it
and it works..
so perhaps its the same in the official release for migrated apps.
just an idea.
Title: Re: Core 4.2
Post by: roberts on December 27, 2011, 02:56:30 PM
The 4.2 announcement states that such is necessary.
Quote
Note: You must recreate all ondemand items. Use AppsAudit OnDemand Maintenance.
Title: Re: Core 4.2
Post by: netnomad on December 27, 2011, 08:28:16 PM
hi roberts,

thanks a lot, it works after rerunning the ondemand-list...

in my observation 4.2 is much faster and reactive compared to all predecessors!
booting, loading ondemand and especially suspend-to-ram and afterwards the awaking is so fast!!!

you did a great job!
Title: Re: Core 4.2
Post by: Juanito on December 27, 2011, 09:36:57 PM
I am not seeing this. md5sums check. I just now downloaded Core-4.2.iso and booting it the version command displays 4.2

'Not sure what happened, but it's OK now  :)
Title: Re: Core 4.2
Post by: newbody on December 28, 2011, 02:24:32 AM
I get curious on these two parts of the text.

Quote
1. Dropped tc-grub4dos


2. You would have to use CLI utilities for Core extensions.

1. Ooops I loved that TC supported grub4dos. Made it easy for me to boot.
So now it support isolinux? Syslinux? Extlinux? I never heard of that one.

2. So if I want to add say fluff file manager then I need to learn what cli code to use.
something like apt-get or wget or similar? How does one know the name of these progs?
and what each of them do, their features and so on? Such a steep learning curve?

Sure progress is good. A much better version seen from the TC policy point of view. I agree.
I only fail to understand how to do things.
Title: Re: Core 4.2
Post by: Juanito on December 28, 2011, 02:37:43 AM
So if I want to add say fluff file manager then I need to learn what cli code to use.
something like apt-get or wget or similar? How does one know the name of these progs?
and what each of them do, their features and so on? Such a steep learning curve?

I guess it depends in what context you're speaking:

tinycore - use the apps browser as before

microcore - since there's only a cli, then you'd need to know the cli commands...
Title: Re: Core 4.2
Post by: roberts on December 28, 2011, 02:46:11 AM
tc-grub4dos.tcz is NOT grub4dos. tc-grub4dos.tcz is/was an installation program targeted for Windows XP.
This extension overwrites the XP MBR which was not popular. Many want modification to use NTLDR.

grub4dos.tcz is a boot loader and is fully supported with Core 4.2. Do not confuse the two.

Your second concern about using CLI utilities for extensions applies only if you choose not to use Xprogs.tcz!
Why do you imply that it is something different? You can still use Xprogs and have the same FLTK/GUI programs as in all previous version of Core. In fact, TinyCore.iso is still available and CorePlus, I would assert, makes it even easier to frugal install, even embedded frugal install, to a hard drive, as well as a pendrive. See updated install page:
http://distro.ibiblio.org/tinycorelinux/install.html (http://distro.ibiblio.org/tinycorelinux/install.html)
Title: Re: Core 4.2
Post by: newbody on December 28, 2011, 03:11:34 AM
Thanks to both of you. Sorry you are right. I had forgotten what
the name implied. Then I will delete it from my files. Have no need for it.

I will read on the link you provided and try to grasp it. I am a reluctant noob.
I do my best to get what you write but it is way above my knowledge. Sorry
But thanks for your patience with a complete noob.
Title: Re: Core 4.2
Post by: meo on December 28, 2011, 05:28:53 AM
Hi Robert and the rest of Team TC!

Have just installed it on one of my oldest usb sticks still alive and TC 4.2 (or Core v4.2) works well over my expectations. Fast even on this old stick. A big hand to all the team for their efforts!!!

Have fun extending the boundaries of TC,
meo
Title: Re: Core 4.2
Post by: coreplayer2 on December 28, 2011, 09:46:04 AM
Well, I'm really scratching my head here trying to figure out where the background disappears to.?  using fluxbox WM in frugal install with persistent home and opt

I understand .setbackground needs updating, did that; still no background,  deleted the mydata file, set background, created new backup, rebooted; result No background..  H'mmmm   seam's like .setbackground is not run at boot, yet if it is run manually after boot the background appears however the wbar disappears..


??
Title: Re: Core 4.2
Post by: thane on December 28, 2011, 11:17:29 AM
May not be related, but I had a problem with the home/tc/.setbackground script being empty (as I discovered later) after I supposedly copied it from etc/skel/ (using fluff). TCL kept coming up with just the wbar on a black background. After I recopied the script from etc/skel the setbackground (and wallpaper) function started to work again.
Title: Re: Core 4.2
Post by: AmatCoder on December 28, 2011, 01:08:01 PM
if tce directory is on a disk with vfat, then permissions changes using the key -R in /usr/bin/tce-setup
Code: [Select]
setupExtnDirs() {
[ -d "$MOUNTPOINT"/"$TCE_DIR"/optional ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/optional
[ -d "$MOUNTPOINT"/"$TCE_DIR"/ondemand ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/ondemand
touch "$MOUNTPOINT"/"$TCE_DIR"/onboot.lst
touch "$MOUNTPOINT"/"$TCE_DIR"/xwbar.lst
chown -R "$USER".staff "$MOUNTPOINT"/"$TCE_DIR"
chmod -R g+w "$MOUNTPOINT"/"$TCE_DIR"
}
when booting leads to mass error output for each file in the tce dir and subdirs: "Operation not permitted"

Hmm, same here. Aside from that, perfect! :D
Title: Re: Core 4.2
Post by: AbNoRMiS on December 28, 2011, 07:33:40 PM
if tce directory is on a disk with vfat, then permissions changes using the key -R in /usr/bin/tce-setup
Code: [Select]
setupExtnDirs() {
[ -d "$MOUNTPOINT"/"$TCE_DIR"/optional ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/optional
[ -d "$MOUNTPOINT"/"$TCE_DIR"/ondemand ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/ondemand
touch "$MOUNTPOINT"/"$TCE_DIR"/onboot.lst
touch "$MOUNTPOINT"/"$TCE_DIR"/xwbar.lst
chown -R "$USER".staff "$MOUNTPOINT"/"$TCE_DIR"
chmod -R g+w "$MOUNTPOINT"/"$TCE_DIR"
}
when booting leads to mass error output for each file in the tce dir and subdirs: "Operation not permitted"

Hmm, same here. Aside from that, perfect! :D

theoretically, it could be cured by the key -Rf
but in fact, all crap should be sent to /dev/null
Code: [Select]
setupExtnDirs() {
[ -d "$MOUNTPOINT"/"$TCE_DIR"/optional ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/optional
[ -d "$MOUNTPOINT"/"$TCE_DIR"/ondemand ] || mkdir -p "$MOUNTPOINT"/"$TCE_DIR"/ondemand
touch "$MOUNTPOINT"/"$TCE_DIR"/onboot.lst
touch "$MOUNTPOINT"/"$TCE_DIR"/xwbar.lst
chown -R "$USER".staff "$MOUNTPOINT"/"$TCE_DIR" 2>/dev/null
chmod -R g+w "$MOUNTPOINT"/"$TCE_DIR" 2>/dev/null
}
do working core.gz pack and wait for version 4.2.1 8)
Title: Re: Core 4.2
Post by: roberts on December 28, 2011, 07:48:32 PM
I would rather wait a few days than to issue a 4.2.1 just to hide the fat!
Likely many do not use fat anyway and it is only an annoyance.
Title: Re: Core 4.2
Post by: roberts on December 28, 2011, 07:52:02 PM
Thanks to Brian for 4.2 updates to:
http://distro.ibiblio.org/tinycorelinux/install.html (http://distro.ibiblio.org/tinycorelinux/install.html)
http://distro.ibiblio.org/tinycorelinux/architecture.html (http://distro.ibiblio.org/tinycorelinux/architecture.html)
http://distro.ibiblio.org/tinycorelinux/arch_copymode.html (http://distro.ibiblio.org/tinycorelinux/arch_copymode.html)
Title: Re: Core 4.2
Post by: AbNoRMiS on December 28, 2011, 08:34:35 PM
sorry, i did not mean that you should immediately new release :o
i mean that this can fix locally and wait for corrected version
and more likely that the new version with all fixes will be 4.2.1
Title: Re: Core 4.2
Post by: AbNoRMiS on December 28, 2011, 09:15:03 PM
will there new tc-install.tcz is available in the repo or only in iso?
Title: Re: Core 4.2
Post by: roberts on December 28, 2011, 09:44:33 PM
Thanks for reminder. Now posted in the repository tc-install.tcz
Title: Re: Core 4.2
Post by: AbNoRMiS on December 28, 2011, 10:49:24 PM
my pleasure :)

still have two questions about CorePlus-4.2.iso

ndiswrapper.tcz and wpa_supplicant.tcz
in the iso and in the repo it have different dates and sizes
ndiswrapper.tcz
iso: 102400  2011/11/24
repo: 24576 2011/12/19
wpa_supplicant.tcz
iso: 172032  2011/11/24
repo: 212992 2011/12/08
where the last version, in the iso or in the repo
if look at dates, it means that iso contains non latest version

wl.tcz removed from the repo
Title: Re: Core 4.2
Post by: Juanito on December 29, 2011, 02:21:02 AM
ndiswrapper.tcz and wpa_supplicant.tcz
in the iso and in the repo it have different dates and sizes
ndiswrapper.tcz
iso: 102400  2011/11/24
repo: 24576 2011/12/19

The ndiswrapper kernel module was recently separated out from the original extension, the contents of the two extensions are the same as the original single extension though..
Title: Re: Core 4.2
Post by: caminati on December 30, 2011, 03:13:38 AM
Code: [Select]
~ # version
4.2
~ # egrep -rn "[.]tce_dir" /tmp/tcloop/
/tmp/tcloop/fluxbox/usr/local/bin/fluxbox_ondemand:6:TCEDIR="$(cat /opt/.tce_dir)"
Binary file /tmp/tcloop/Xprogs/usr/bin/appbrowser matches
Binary file /tmp/tcloop/Xprogs/usr/bin/appsaudit matches
Binary file /tmp/tcloop/Xprogs/usr/bin/exittc matches
~ #

This is probably to be fixed in fluxbox.tcz (didn't try any other wm), since now the local tcz repo is linked by /etc/system/tcedir.
I wonder why the occurence in binaries?
Title: Re: Core 4.2
Post by: gerald_clark on December 30, 2011, 07:13:02 AM
You need to run tce-update, as you are running the old Xprogs and Xlibs.
Title: Re: Core 4.2
Post by: Onyarian on December 30, 2011, 08:28:59 AM
Until now I have utilized tc4.1+openbox+bmpanel, now updated with core4.2+Xorg+Xprogs+openbox+wbar+bmpanel I don't have the ondemand menu entry, and the System tools menu entry is empty. Is because openbox is not updated? or I have missing something?

Quote
* Updated interface files for supported window manager extensions:
   flwm_topside.tcz, flwm.tcz, fluxbox.tcz, hackedbox.tcz, icewm.tcz, icewm-full.tcz, jwm-snapshot.tcz, jwm.tcz

Title: Re: Core 4.2
Post by: caminati on December 30, 2011, 09:03:17 AM
You need to run tce-update, as you are running the old Xprogs and Xlibs.

Ok, the issues reported on my posts in this thread seem to be related.
I investigated a bit, and this is my hypothesis: I upgraded from microcore 4.1 to core 4.2, and appsaudit (gui) returned no extension needed to be updated.
This turned out to be wrong: manually downloading Xlibs, Xprogs, fluxbox, I checked they did need to be updated.
Probably (the old version of) appsaudit returns the message
Code: [Select]
Please standby... Now checking for your extensions.
Scan for updates completed.
only because the error given by the deprecation of /opt/.tce_dir is mishandled.
The problem is that one thus is caught in a vicious circle, which can be broken by either manually downloading Xlibs, Xprogs and fltk, or either by booting text base norestore, manually setting up a internet connection, and using tce-update /path/, which I did.
Anyway, I did not find a clear statement of this problem, which appears a bit subtle until one stumbles on it.
All this matter boils down to using tce-update instead of appsaudit, as Gerald hinted.
Title: Re: Core 4.2
Post by: gerald_clark on December 30, 2011, 09:30:05 AM
That is why I said "run tce-update" instead of saying "run AppsAudit."

Title: Re: Core 4.2
Post by: caminati on December 30, 2011, 10:41:46 AM
That is why I said "run tce-update" instead of saying "run AppsAudit."

Thanks, I just thought that making things explicit could help others.
By the way, is it possible, as it is with appsaudit, to pick up just a subset of the extensions to be updated, using only text cli?
I'm asking because I had to update all the extensions, which I didn't really feel the need of.
Title: Re: Core 4.2
Post by: nim108 on December 30, 2011, 02:00:12 PM
Until now I have utilized tc4.1+openbox+bmpanel, now updated with core4.2+Xorg+Xprogs+openbox+wbar+bmpanel I don't have the ondemand menu entry, and the System tools menu entry is empty. Is because openbox is not updated? or I have missing something?

Quote
* Updated interface files for supported window manager extensions:
   flwm_topside.tcz, flwm.tcz, fluxbox.tcz, hackedbox.tcz, icewm.tcz, icewm-full.tcz, jwm-snapshot.tcz, jwm.tcz
Having similar issues with Openbox. No love for Openbox in the updates to all the window managers? Is another WM significantly better? I am used to and totally love the XML style config for Openbox menu entries.
Title: Re: Core 4.2
Post by: roberts on December 30, 2011, 03:51:05 PM
Until now I have utilized tc4.1+openbox+bmpanel, now updated with core4.2+Xorg+Xprogs+openbox+wbar+bmpanel I don't have the ondemand menu entry, and the System tools menu entry is empty. Is because openbox is not updated? or I have missing something?

Quote
* Updated interface files for supported window manager extensions:
   flwm_topside.tcz, flwm.tcz, fluxbox.tcz, hackedbox.tcz, icewm.tcz, icewm-full.tcz, jwm-snapshot.tcz, jwm.tcz
Having similar issues with Openbox. No love for Openbox in the updates to all the window managers? Is another WM significantly better? I am used to and totally love the XML style config for Openbox menu entries.

I don't see any interface files in the openbox extension. Use appbrowser Files tab on selected openbox.tcz.
Therefore I would not expect such functionality and therefore not a Core 4.2 issue but an extension issue.
Title: Re: Core 4.2
Post by: roberts on December 30, 2011, 07:57:48 PM
my pleasure :)

still have two questions about CorePlus-4.2.iso

ndiswrapper.tcz and wpa_supplicant.tcz
in the iso and in the repo it have different dates and sizes
ndiswrapper.tcz
iso: 102400  2011/11/24
repo: 24576 2011/12/19
wpa_supplicant.tcz
iso: 172032  2011/11/24
repo: 212992 2011/12/08
where the last version, in the iso or in the repo
if look at dates, it means that iso contains non latest version

wl.tcz removed from the repo
4.2 was like the chicken versus the egg with so many new "extensions" not in the repository. Thus those that were were frozen and thus a little dated. Going forward should be much easier. Although the extensions on any CD will be dated snapshots and the repository will always be the best choice to ensure the latest version.

You will see a 4.2.1 with the minor adjustments reported so far.
Title: Re: Core 4.2
Post by: Juanito on December 30, 2011, 09:41:01 PM
wl.tcz removed from the repo

This one was also renamed since it only contains a module - wl-modules-3.0.3-tinycore{64}.tcz
Title: Re: Core 4.2
Post by: coreplayer2 on December 30, 2011, 10:35:20 PM
Out of curiosity I ran tce-update today.  the update script proceeded to download
"xf86-video-all.tcz"  ok but did I need it is a question?

Later I ran tce-update again, this time update proceeded to download all 34 video dependents of "xf86-video-all.tcz" ??
Did I need these too is another question?  I mean I didn't need them before right?  none of these extensions have been loaded on subsequent reboots.

Core (from CorePlus) with flwm_topside +Xvesa + Xprogs + wbar


UPDATE**   I found that "Xorg-7.6.tcz" lists "xf86-video-all.tcz" as a dependency??

appsaudit does not report any missing deps, only tce-update indicates the missing deps. and downloads them all.
Title: Re: Core 4.2
Post by: Juanito on December 30, 2011, 11:10:48 PM
As the xf86-video-all info file says, it's a meta-extension for all of the video drivers.

Once you've figured out which driver you need, you could edit the xf86-video-all dep file to only list your particular video driver and mark the rest for deletion with apps audit.
Title: Re: Core 4.2
Post by: coreplayer2 on December 30, 2011, 11:17:49 PM
Ah ha!  ok thx, well I did already delete them all and no app when run from the terminal are complaining..  neither are there any relevant dmesg errors.  so I guess i'll continue without them.

dmesg | grep -n -i -C 3 video   returns only "Boot Video Device"  (no errors)  :)
Title: Re: Core 4.2
Post by: caminati on December 31, 2011, 02:45:47 AM
I wasted some time to understand that fluxbox.tcz.zsync is wrong on the internet repo, so that any attempt to update fluxbox failed.
I had to force tce-update not to use zsync, and it worked.
I regard this as a disrupting problem, maybe tce-update could be modified so to handle these situations more wisely: it should not rely on the repository inner consistency.
Title: Re: Core 4.2
Post by: roberts on December 31, 2011, 08:10:15 AM
Re; fluxbox.tcz.zync
Corrected. Will ignore flame bait.
Title: Re: Core 4.2
Post by: nim108 on January 01, 2012, 06:22:37 AM

Is possible to change openbox.tcz in the repository with one with this changes?
(Perhaps are only necessary this two changes)

Will take a look in next days.

Corrected version sent.
Thank you sir, will test shortly. Perhaps openbox can be added to CorePlus in the next go-around? Just a suggestion, I was wondering if there is any reason it's not already in there.
Title: Re: Core 4.2
Post by: roberts on January 02, 2012, 08:04:08 AM
Please keep extension posts out of this topic area and in the proper extension area. Thank you.
Title: Re: Core 4.2
Post by: uggla on January 02, 2012, 08:44:09 AM
When Xprogs and Xlibs is loaded the owner of /usr (and some subdirs) changes from root:root to tc:staff. This is causing Virtualbox to give errors.
Title: Re: Core 4.2
Post by: roberts on January 02, 2012, 09:52:56 AM
Thanks for feedback. Corrected for 4.2.1
Title: Re: Core 4.2
Post by: vinnie on January 03, 2012, 09:28:23 AM
Ok, I switched to 4.2 and for now I seem to have no problems.
I have only a couple of questions:

Sometimes I edit the contents of / opt / .tce_dir to download the packages to another directory, how i might do now? (change the simlink in etc?)

This is my actual content of /opt/ and /etc/, it is all ok?
http://pastebin.com/DAfG9gZ4 (http://pastebin.com/DAfG9gZ4)
something is missing and / or is there something too?
Title: Re: Core 4.2
Post by: AbNoRMiS on January 03, 2012, 06:33:04 PM
Code: [Select]
~ # version
4.2
~ # egrep -rn "[.]tce_dir" /tmp/tcloop/
/tmp/tcloop/fluxbox/usr/local/bin/fluxbox_ondemand:6:TCEDIR="$(cat /opt/.tce_dir)"
Binary file /tmp/tcloop/Xprogs/usr/bin/appbrowser matches
Binary file /tmp/tcloop/Xprogs/usr/bin/appsaudit matches
Binary file /tmp/tcloop/Xprogs/usr/bin/exittc matches
~ #

This is probably to be fixed in fluxbox.tcz (didn't try any other wm), since now the local tcz repo is linked by /etc/system/tcedir.
I wonder why the occurence in binaries?

also in getlocale.tcz
/tmp/tcloop/getlocale/usr/local/bin/getlocale.sh:64:TCEDIR=`cat /opt/.tce_dir`
Title: Re: Core 4.2
Post by: AbNoRMiS on January 03, 2012, 07:07:31 PM
4.2 was like the chicken versus the egg with so many new "extensions" not in the repository. Thus those that were were frozen and thus a little dated. Going forward should be much easier. Although the extensions on any CD will be dated snapshots and the repository will always be the best choice to ensure the latest version.

You will see a 4.2.1 with the minor adjustments reported so far.

thanks, understand it now
thank you for a great job!!! :)
look forward for new version in this year
happy new year!!! best wishes!!!  8)
Title: Re: Core 4.2
Post by: roberts on January 03, 2012, 07:19:46 PM
Quote
also in getlocale.tcz
/tmp/tcloop/getlocale/usr/local/bin/getlocale.sh:64:TCEDIR=`cat /opt/.tce_dir`
Please post extensions that need adjustments for 4.2 to the extension area and/or contact the listed extension maintainer.
Title: Re: Core 4.2
Post by: Xianwen Chen on January 05, 2012, 02:48:28 AM
I just updated all my TCL to version 4.2 (and I'm sticking to Xvesa and flwm_topside) from 4.1. The problem I'm having is that every time it boots,  I'm reminded that
Quote
cat: can't open /opt/.tce_dir
Well, I tried to touch /opt/.tce_dir and next time I boot the system, I get the same complaint.
Am I missing something here?
Title: Re: Core 4.2
Post by: curaga on January 05, 2012, 05:13:28 AM
Sounds like an extension needs updating. Please boot with "showapps pause" and tell us which in the TCE bugs area.
Title: Re: Core 4.2
Post by: gerald_clark on January 05, 2012, 10:09:03 AM
I got that because the .X.d directory had a wbar entry.
This is no longer needed and should be removed.
Title: Re: Core 4.2
Post by: Xianwen Chen on January 05, 2012, 10:44:07 AM
Sounds like an extension needs updating. Please boot with "showapps pause" and tell us which in the TCE bugs area.
I have
loaded at start-up. Are you suggesting that one or several of the extension is causing the problem?
Title: Re: Core 4.2
Post by: Xianwen Chen on January 05, 2012, 10:46:41 AM
I got that because the .X.d directory had a wbar entry.
This is no longer needed and should be removed.

Thank you Gerald. I checked /home/tc/.X.d and it's empty.
Title: Re: Core 4.2
Post by: roberts on January 05, 2012, 11:04:50 AM
Quote
I'm sticking to Xvesa and flwm_topside) from 4.1.
You cannot mix 4.1 with 4,2. Please update these as they have been updated as mentioned in the 4.2 announcement.
Title: Re: Core 4.2
Post by: Xianwen Chen on January 05, 2012, 11:20:34 AM
You cannot mix 4.1 with 4,2. Please update these as they have been updated as mentioned in the 4.2 announcement.

Thank you Robert. I deleted ; after restarting TCL, the problem is now solved.

BTW, what shall we call TC now? Tiny Core has become an example of typical usages of Core. Shall we now call the distribution Core Linux?  ;)
Title: Re: Core 4.2
Post by: bmarkus on January 05, 2012, 11:34:38 AM
BTW, what shall we call TC now? Tiny Core has become an example of typical usages of Core. Shall we now call the distribution Core Linux?  ;)

Good point. I hade the same problem writing core2usb WIKI pages and this is why named it to core2usb instead of tc2usb. I used Core in general and (Tiny) Core to make it familiar for visitors.
Title: Re: Core 4.2
Post by: vinnie on January 05, 2012, 06:51:54 PM
Even I've been thinking in latest day and I concluded that the "core" is a perfect name. Coincidentally, the logo remains coherent (with a shining reminder of the past, as the directory tce).

Perhaps the structure of the forum must be readapted
Title: Re: Core 4.2
Post by: Xianwen Chen on January 06, 2012, 09:13:24 AM
Does Core Linux use eglibc as the C library?
Title: Re: Core 4.2
Post by: Juanito on January 06, 2012, 09:56:47 AM
Yes
Title: Re: Core 4.2
Post by: Xianwen Chen on January 06, 2012, 12:54:00 PM
Yes
Thank you Juanito.
Title: Re: Core 4.2
Post by: vinnie on January 06, 2012, 01:34:52 PM
If i boot core from write protected sd, the distro starts but exposes several cown errors
Title: Re: Core 4.2
Post by: jp734 on May 09, 2012, 03:24:43 PM
Hello everyone, I am new to TinyCore and really would like to get familiar with it. Anyways, I just installed it on my hard drive and am having problem.

I have a secondary hd which I have partitioned to 3 plus swap (sdb1, sdb2, sdb3 and swap). When I executed the tc-install, I could not select the sdb1 when I chose USB-HDD. Instead, I chosed FRUGAL and EXISTING PARTITION. It completed the install without any errors. When I rebooted my pc however, I got "can't open /opt/.tce_dir: File or directory doesn't exist".

i tried following the suggestions on this thread but the folders and files mentioned doesn't even exist. How can I solve this problem? Where do I go from here?

I only have these folders:
tce/boot
tce/optional

Thanks in advance.

Title: Re: Core 4.2
Post by: gerald_clark on May 09, 2012, 03:29:17 PM
Don't use 4.2.  The current version is 4.5.2.
Title: Re: Core 4.2
Post by: jp734 on May 09, 2012, 05:22:59 PM
Thanks for the quick reply. I am not sure what version I've downloaded but the name of the file is "coreplus-current.iso" so I can assume that it is 4.5.2 if that is the latest one.
Title: Re: Core 4.2
Post by: Rich on May 09, 2012, 05:44:55 PM
Hi jp734
This is the news forum. Please post your question under the TCB Q&A Forum.