WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TinyCore Editor (suite)  (Read 6720 times)

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
TinyCore Editor (suite)
« on: July 25, 2021, 09:04:22 AM »
Hi all,

 I developed this TinyCore Editor: https://github.com/robang74/tinycore-editor
 
 This is a suite for quickly editing and testing a USB bootable disk based on TinyCore Linux. It makes use of qemu and it should be installed. I hope you will find useful and decide to adopt and contribute to it.

 Cheers,
-R
 

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: TinyCore Editor (suite)
« Reply #1 on: July 25, 2021, 11:08:32 AM »
(Google translate is used.)

This is the content you wrote;
On TCL, it runs my dCore!?
in this way dcore package content; Builds TCZ for TCL!?
If that's the case, it would be super beyond.

if it's not like this;
please : can you write this programming script!? 
« Last Edit: July 25, 2021, 12:03:07 PM by Rich »

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #2 on: July 25, 2021, 02:12:40 PM »
@Xor: nope, it is a suite not to build TCZ but to combine them to produce a customised bootable USB disk based on TC

@All: I have update the repository fixing few annoying bugs.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: TinyCore Editor (suite)
« Reply #3 on: July 25, 2021, 04:02:13 PM »
The idea may sound silly, but I think a script should be developed to take advantage of different Linux distribution libraries.
« Last Edit: July 26, 2021, 03:02:53 AM by Juanito »

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #4 on: July 25, 2021, 05:26:13 PM »
@Xor: it would be nice to have a Core ported with musl libc, just the basics not all TCE, to see how much would be the difference in terms of size and performance. It makes no sense porting all TCE because a lot of applications uses a lot of libraries and libc are just one of many. But for a hand of them like core.gz and coreutils & co could make a lot of difference.

https://musl.libc.org/

Offline nick65go

  • Hero Member
  • *****
  • Posts: 839
Re: TinyCore Editor (suite)
« Reply #5 on: July 26, 2021, 09:38:15 AM »
@Roberto: The TCZs are the main power of this TC linux. A basic (Tiny)Core ONLY is as useless as a WinXP with just notepad. Good just for didactical purpose only. Porting TC to use musl libc is near useless if you want speed and size gains. What do we talk here about, 1-3 seconds boot speed, few KB gain size?

The power of musl libc is for static linked of MANY small apps, so we talk about TCZs. And of course security of a small musl vs. glibc.
Unfortunatly most recent versions of the apps make use of gnu libc, and libc+. (firefox, libreoffice, vlc, whatever), as you said. I do not see the point of a small head/"core" with musl-libc and the a fat "body" with gnu-libc.

But in the end, if you "make" a TC with musl, then you get an "Alpine" ;) You compile the free kernel (whatever version you want), and "borrow" the free TC scripts already made for you by TC team (tune-up them a little if you want). What else do you need to "build" it as you like? No need to answer me.

PS: tinycore= kernel + core.gz (modules.gz + root.gz). So your main target should be root.gz. And inside are tc scripts and busybox + few static-linked small progs. Where do you expect to get speed/size gain from? Q.E.D.
« Last Edit: July 26, 2021, 09:50:58 AM by nick65go »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: TinyCore Editor (suite)
« Reply #6 on: July 27, 2021, 02:49:41 PM »
I think your editor can be useful, especially for those who use more than one distro and not only tinycore, but also to make the editing work more orderly and smooth.

O.t. I had read that actually, as much as apps compiled with musl are smaller, they seem to be slower, but I haven't done any tests.
I use alpine and tinycore and both have some feature or detail that the other lacks. But I think a musl version of tinycore would be less interesting for me than the glibc one.
However it is true that LOTS of unknown musl-based experimental static linked distros are coming out, so probably in the distant future musl might have more support.

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #7 on: July 28, 2021, 01:55:36 AM »
@Vinnie: for having appreciated my work. I am start to versioning the code

https://github.com/robang74/tinycore-editor/releases

If you like to partecipate to the development, let me know: roberto.foglietta AT gmail.com

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #8 on: July 30, 2021, 12:52:26 AM »
@Vinnie: I have created a m-list for the used and development of TinyCore Editor

m-list: https://groups.google.com/g/tinycore-editor

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: TinyCore Editor (suite)
« Reply #9 on: July 30, 2021, 11:24:18 AM »
Hey Roberto, the first time I replied to you I think I had greeted you with a "ciao", but actually I think I wasn't clear enough :P
I am Italian too :)
Ok, for the newsgroup I'll see if I can subscribe, my computer routines are intermittent, I always do so many things together but I'll try to follow it.

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #10 on: August 10, 2021, 12:35:37 PM »
Hi all,

The TinyCore Editor Suite version 0.4.0 has a fast lane to compile and include the last busybox into the distro.

Moreover, using busybox/busybox.sh update [suid|nosuid] it is possible to check quickly any modification to the busybox source code

https://github.com/robang74/tinycore-editor/archive/refs/tags/v0.4.0.tar.gz

Ciao,
-R

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #11 on: August 15, 2021, 12:26:32 PM »
Hi all,

TinyCore Editor version 0.4.4 runs in TinyCore.

https://github.com/robang74/tinycore-editor/archive/refs/tags/v0.4.4.tar.gz

So, you can compile busybox directly into TC, for example.

Choose "develop" in tinycore/tinycore.conf and follow the quick start in README.txt

Cheers,
-R

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #12 on: August 18, 2021, 04:25:07 AM »
Hi all,

 TinyCore Editor version 0.4.7 has been tested compatible with TinyCore (again).

 https://github.com/robang74/tinycore-editor/archive/refs/tags/v0.4.7.tar.gz

 It includes all the changes since v0.4.4 and still compatible.

 Cheers,
-R

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #13 on: August 18, 2021, 08:42:00 PM »
Hi all,

TinyCore Editor v0.4.8 it is able to recompile itself into the virtual guest 

https://github.com/robang74/tinycore-editor/archive/refs/tags/v0.4.8.tar.gz

Compatibility:
- TinyCore 12: tested ok (busybox recompiling is fine, native)
- Ubuntu 18.04: tested ok (busybox recompiling is acceptable)
- Ubuntu 20.04: tested ok (busybox recompiling inherits libcrypt-1.1.0)

The libcrypt-1.1.0 inheritance is not deeply tested yet but could be avoided:

- avoid to recompile busybox but only the ISO image
- use qemu and the ISO image to produce a native custom rootfs.gz
- transfer the native custom rootfs.gz via SSH and use it for any changes which are not involved with the busybox.

 After all, inheritance could be acceptable for testing busybox changes/developments but native compilation is the way to go.

Cheers, R-

Offline Roberto A. Foglietta

  • Full Member
  • ***
  • Posts: 212
    • personal home page
Re: TinyCore Editor (suite)
« Reply #14 on: August 20, 2021, 02:57:56 PM »
Hi,

 TinyCore Editor version 0.4.9 is able to build a 89 MB ISO/USB image that contains everything necessary to compile TinyCore Linux (compiletc.tz and more).

https://github.com/robang74/tinycore-editor/archive/refs/tags/v0.4.9.tar.gz

 Edit the meta packages in tinycore.conf including "develop" and "devtools". 

 Moreover - after having produced your first ISO you can do in tinycore folder sudo ./tczmetamerge.sh and all the packages will be aggregate in four meta-packages: sshonly, usbdisk, develop, devtools. This kind of configuration reduce drastically the boot time which arrives to be less than 9 seconds on a VirtualBox machine.

 For the 32bits architecture bridge-utils are still missing but they could be removed from develop.lst - they are useful to run qemu that in any case require X and it is not installed.

 I hope will enjoy it, R-