Tiny Core Base > TCB Talk

Extracting X extensions into base

(1/3) > >>

nim108:
So my goal is to load 3 different variations of TC that perform different functions. Ok, simple enough. My idea was to have the original core.gz untouched, and dynamically remaster it by chainloading 3 different customize.gz images along with it (so EXTLINUX's first entry would be something like APPEND initrd=/boot/core.gz,/boot/customize.gz, second would be APPEND initrd=/boot/core.gz,customize2.gz and so on, so that when new versions of TCL come out, I can simply replace core.gz). I like to extract all the tcz's right into the customize initrd so that bootups are faster. However, when I try to do this to load TC with a UI (I unsquashfs all the X and windows manager related extensions: Xvesa.tcz, Xlibs.tcz, Xprogs.tcz, fltk-1.10.tcz, flwm_topside.tcz, flwm.tcz, wbar.tcz), it should load normally just as TC does, but it stays in the terminal and doesn't seem to be loading the startup scripts. When loaded as extensions on bootup (with extensions in /tmp/builtin), it works fine, but when I do this and extract them into an initrd to load on boot, it does not. What am I missing?

Also, would this be the best and most flexible way to load three modified versions of TC? I could not come up with a better way.

curaga:
If you extract a tcz, you also need to make sure the startup script gets run at the proper time. Some can be run before packing, some need to run at runtime (bootlocal.sh?).

nim108:

--- Quote from: curaga on July 11, 2012, 06:49:00 AM ---If you extract a tcz, you also need to make sure the startup script gets run at the proper time. Some can be run before packing, some need to run at runtime (bootlocal.sh?).

--- End quote ---
I see, that's what I figured ... how would I do this then? I thought I could simply extract the tcz's as they are simply squashed files, but looks like there is a dependency on when and how they run (don't the startup scripts also get extracted and placed in the proper locations when the tcz is extracted?). How do I also copy over the startup stuff? I'd like to get away from using ezremaster if possible since I am using a separate initrd.

tinypoodle:
Scripts get executed during loading.

nim108:

--- Quote from: tinypoodle on July 11, 2012, 07:18:48 AM ---Scripts get executed during loading.

--- End quote ---
During the loading of the tcz extensions? So there is no way to extract the extensions into the initrd but at the same time, preserve the execution of the scripts? If so, how, because I am not sure how to do it.

Navigation

[0] Message Index

[#] Next page

Go to full version