WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dCore-5.0.alpha1 released  (Read 59308 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
dCore-5.0.alpha1 released
« on: June 28, 2013, 12:15:02 PM »
Team Tinycore is pleased to announce the testing release of dCore-5.0.alpha1, Core made from Debian Wheezy compatible files that uses import and the SCE package format.  Features include:

  • Debian Wheezy (Debian Stable) library compatibility.
  • Fully functional toolchain when importing build-essential and pertinent development packages.
  • Support for custom packages that are not available via Debian.
  • SCE package format: imported packages include the package and it's needed dependencies in one file, files contained are symlinked to live filesystem.
  • Meta packages to simplify usage are available.
  • Support for custom startup scripts.
  • Premade SCE packages for kernel modules and wireless.

Files can be found at:

http://tinycorelinux.net/5.x/x86/release_candidates/

A brief intro to the use of import:

The command as regular user "import iceweasel" will import iceweasel and it's needed dependencies and place them in an sce file in the sce/ directory in the users TCE directory.  "import -b iceweasel" will import it and add it to the sceboot.lst file to be loaded at boot.  The command "loadsce iceweasel" will install it.

For efficiency, a file list can be made of one's favorite packages and import can be used to make one mega package out of the list.  Example, a file named mydesktop that contains xfce4, leafpad, iceweasel, exaile, smplayer, etc, etc , one package per line, will make an sce of those packages that will be named mydesktop.sce.  If the file is located on /mnt/sda2, the usage would be:

import -f /mnt/sda2/mydesktop

Premade SCE packages are available at:


http://tinycorelinux.net/5.x/x86/sce/

Fetching them is done with the sce-fetch.sh command.  "sce-fetch.sh wireless-tools" will fetch wireless-tools.sce, the command "loadsce wireless-tools" will install it.

Needed for X desktop use are the SCE packages:

Xprogs.sce
Xtc.sce

A simplified manner of installing Xorg is using the Xsetup.sh script:

http://tinycorelinux.net/5.x/x86/Xsetup.sh

Download it, use the command "chmod +x Xsetup.sh" and run it.  This will install the familiar flwm_topside window manager and xorg-all, the Xorg meta package that contains support for all the Xorg video drivers.  Also needed may be graphics-3.8.10-tinycore for some hardware.

Readmes are available at:

http://tinycorelinux.net/5.x/x86/README/

The command "readme.sh wireless-tools" will display that readme.

« Last Edit: July 01, 2013, 06:45:49 PM by Jason W »

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: dCore-5.0.alpha1 released
« Reply #1 on: July 01, 2013, 02:53:47 AM »
I’m really impressed with this project. The possibility to pick any debian package and make a TC package out of it is excellent!
I can’t help wondering, though, what will happen to this project from TC5 on, as I gathered that the SCM package format will be dropped, or won’t it?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: dCore-5.0.alpha1 released
« Reply #2 on: July 01, 2013, 06:59:02 AM »
dCore-5.0.alpha1.iso

isolinux.cfg configured to load core.gz but there are no such only dCore.gz therefore boot fails.
Béla
Ham Radio callsign: HA5DI

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

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: dCore-5.0.alpha1 released
« Reply #3 on: July 01, 2013, 08:05:24 AM »
Awesome, that's why you were so busy jason! Effectively a feature like that could fully replace the scm packages, but could you explain me how work these packages? :
1) you can choose whether to install them in a loop or in ram?
2) you can uninstall (as the scm) during the execution time of the os?
3) apart for the support of debian packages, the dcore is fully compatible with the core features?

Quote
I can’t help wondering, though, what will happen to this project from TC5 on, as I gathered that the SCM package format will be dropped, or won’t it?
I think the scm has been abandoned for the lack of interest by packagers, but if this new system works well I think it will maintain itself

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore-5.0.alpha1 released
« Reply #4 on: July 01, 2013, 09:26:14 AM »
Thanks bmarkus, I have not tried the ISO only the dCore.gz so I did not catch that.

vinnie and theYinYeti,
The SCM has been dropped, basically since without an automated way to make them like the CDE model it was just too time intensive once you get past the simple apps.  The SCE has replaced the SCM, as it contains all it's needed dependencies in one file.

The SCE only uses mount mode, it is not copied to RAM.  They cannot be uninstalled since like the TCZ the files exist in the regular filesystem, the SCE is not self contained although it contains multiple packages inside of it.  And dCore aims to support all core features, it simply draws on the Debian repo for it's extensions.  But the extension installing/updating features of the TCZ are not all supported by the SCE, but that is partially due to the differences in package type.

Offline theYinYeti

  • Full Member
  • ***
  • Posts: 177
    • YetI web site
Re: dCore-5.0.alpha1 released
« Reply #5 on: July 01, 2013, 09:42:00 AM »
Thank you for the clarification Jason W.
Let me repeat: it is an awesome project! :-)

One thing I liked a lot about DSL, years ago, was that it was light enough to support my 24MB RAM Toshiba laptop, but I still could enable “Debian compatibility mode” and install packages from Debian Woody repositories :-p

Nice work!

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: dCore-5.0.alpha1 released
« Reply #6 on: July 01, 2013, 11:24:33 AM »
And dCore aims to support all core features, it simply draws on the Debian repo for it's extensions.  But the extension installing/updating features of the TCZ are not all supported by the SCE, but that is partially due to the differences in package type.

So there are only sce extensions in dcore and not tcz?

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: dCore-5.0.alpha1 released
« Reply #7 on: July 01, 2013, 11:32:04 AM »
dCore-5.0.alpha1.iso

isolinux.cfg configured to load core.gz but there are no such only dCore.gz therefore boot fails.
Fixed on server for next iso creation.
10+ Years Contributing to Linux Open Source Projects.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: dCore-5.0.alpha1 released
« Reply #8 on: July 01, 2013, 11:34:27 AM »
And dCore aims to support all core features, it simply draws on the Debian repo for it's extensions.  But the extension installing/updating features of the TCZ are not all supported by the SCE, but that is partially due to the differences in package type.

So there are only sce extensions in dcore and not tcz?
That's why sces are not just merged into Core.
dCore the 'd' is for Debian and also for different from Core.
no tcz support in dCore.

You may want to read http://forum.tinycorelinux.net/index.php/topic,14332.msg91108.html#msg91108
which explains why sce.

Quote
The concept behind dCore is to more easily maintain the Core philosophy across many platforms without having to build and maintain many platform specific repositories
« Last Edit: July 01, 2013, 12:13:48 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline SamK

  • Hero Member
  • *****
  • Posts: 713
Re: dCore-5.0.alpha1 released
« Reply #9 on: July 01, 2013, 12:16:15 PM »
Some unordered questions, simply in as they occurred to me.


Once an SCE app is imported is it possible to apply a security upgrade (issued by Debian) to an active dCore system, or is a rebuild of the SCE app required to incorporate it?


...dCore aims to support all core features, it simply draws on the Debian repo for it's extensions.
As it draws on Debian Stable does this imply an app in SCE format inherits the same degree of app stability?  Is it vulnerable to upgrade changes at an OS (dCore) level?


The SCE has replaced the SCM, as it contains all it's needed dependencies in one file.
Does this mean an SCE app is resistant to breakage?  For example is it vulnerable to SCEs created from custom packages that are not available via Debian?  Is there any degree of sharing common dependencies in an SCE?


Can an SCE be managed a single entity?  e.g. can it be removed (not unloaded/uninstalled) from a system as a single unit in a similar manner that an SCM was?  How do a user do it?


Have any tentative comparisons been done of RAM usage for similar SCE v TCZ systems?  If so the figures might be informative.




« Last Edit: July 01, 2013, 12:45:45 PM by SamK »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: dCore-5.0.alpha1 released
« Reply #10 on: July 01, 2013, 01:09:10 PM »
That's why sces are not just merged into Core.
dCore the 'd' is for Debian and also for different from Core.
no tcz support in dCore.

You may want to read http://forum.tinycorelinux.net/index.php/topic,14332.msg91108.html#msg91108
which explains why sce.

interesting, thanks roberts

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: dCore-5.0.alpha1 released
« Reply #11 on: July 01, 2013, 05:03:37 PM »
Some unordered questions, simply in as they occurred to me.


Once an SCE app is imported is it possible to apply a security upgrade (issued by Debian) to an active dCore system, or is a rebuild of the SCE app required to incorporate it?

dCore is not Debian. Nor is it traditionally "installed". dCore uses mounted squashfs as tcz and scms did. There is no rebuild, as apps are typically imported. We are only supplying scripts ( the import suite in the base of dCore ) and some server side typically setup/data scripts. You might want to think download script as used for flash.

Quote


...dCore aims to support all core features, it simply draws on the Debian repo for it's extensions.
As it draws on Debian Stable does this imply an app in SCE format inherits the same degree of app stability?  Is it vulnerable to upgrade changes at an OS (dCore) level?


Stability was another reason of our choice of Debian stable. Also, like the scm format, sces are not subject to the rolling release breakage of tcz dependencies. dCore is an embedded Linux with mainly busybox calls to ash and awk. Changes in the base should have little to do with applications. Same as Core.

Quote


The SCE has replaced the SCM, as it contains all it's needed dependencies in one file.
Does this mean an SCE app is resistant to breakage?  For example is it vulnerable to SCEs created from custom packages that are not available via Debian?  Is there any degree of sharing common dependencies in an SCE?


Can an SCE be managed a single entity?  e.g. can it be removed (not unloaded/uninstalled) from a system as a single unit in a similar manner that an SCM was?  How do a user do it?


sces can be removed as a single entity without breakage, although not dynamically. Like tczs, a reboot is needed to effect., i.e.,simply rm the target sce and reboot, if such was loaded.

Quote


Have any tentative comparisons been done of RAM usage for similar SCE v TCZ systems?  If so the figures might be informative.

I doubt much change, but like scms, sces are larger physically and require similiar persistent storage.

Not mentioned but another area that may be of interest is that sce, even custom compiled, unlike tczs do not need to be relocated to /usr/local/. Standard compilation methods, when required, are supported.

Sces have been used in the Allwinner A10 port since its initial post and now Jason has implemented them for x86. The goal being to preserve Core's philosphy while trying to support multiple platforms without the need to do relocate compiliations for tcz respositories for each and every platform.
« Last Edit: July 01, 2013, 05:15:05 PM by roberts »
10+ Years Contributing to Linux Open Source Projects.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore-5.0.alpha1 released
« Reply #12 on: July 01, 2013, 05:39:27 PM »
dCore-5.0.alpha2 now available:

* Fixed bug in sce-fetch.sh, -i now works, added -b to add to sceboot.lst
* Fixed bug in isolinux.cfg on server to specify dCore.gz
* Added initial sceboot.lst to tce-setdrive.

Files available at:

http://tinycorelinux.net/5.x/x86/release_candidates/

As a result, these files have also changed:

http://tinycorelinux.net/5.x/x86/Xsetup.sh
http://tinycorelinux.net/5.x/x86/README/README-X-Desktop.txt
« Last Edit: July 01, 2013, 06:45:08 PM by Jason W »

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore-5.0.alpha1 released
« Reply #13 on: July 01, 2013, 09:49:33 PM »
In addition to Robert's more thorough explaining of the dCore philosophy and design, one thing that import and dCore share in common with Core is the support of things that are either too new or too old for Debian.  Gtk1 is available in dCore, XMMS is already there and can be fetched with the command "import xmms".  Same with Firefox and Emelfm2, neither of which are in Debian.  Iceweasel is frozen at version 10, and a Firefox at version 10 is quite dated though stable.  "import firefox" and "import emelfm2" will get those packages at their latest upstream versions.  The latest firefox will be maintained since it is popular.  More Gtk1 apps can be built and made available.  The rule there is that extra packages need to be not available in Debian nor should they conflict with existing Debian packages.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: dCore-5.0.alpha1 released
« Reply #14 on: July 02, 2013, 11:23:16 PM »
dCore-5.0.alpha3 now available:

* Fixed bug in tce-setup to quiet terminal output from startup scripts

Files available at:

http://tinycorelinux.net/5.x/x86/release_candidates/

Use the command "loadsce -d pkgname" for debug mode if you want to log the output of startup scripts to /var/log/sce.log.