Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: bigpcman on June 09, 2009, 05:55:56 PM

Title: How to automate load and install of microcore elements?
Post by: bigpcman on June 09, 2009, 05:55:56 PM
I'm creating a script to download and install microcore elements. Once the core elements ate installed I assume I have to run deskseup which asks two questions. Can this be automated so I don't have to manually answer the questions?

Code: [Select]
#!/bin/ash
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/core_elements/Xlibs.core.tczl -O /mnt/sda1/tce/Xlibs.core.tczl
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/core_elements/Xprogs.core.tczl -O /mnt/sda1/tce/Xprogs.core.tczl
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/release/core_elements/Xvesa.core.tcz -O /mnt/sda1/tce/Xvesa.core.tcz
wget ftp://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/2.x/tcz/jwm.tcz -O /mnt/sda1/tce/jwm.tcz
tce-load /mnt/sda1/tce/Xlibs.core.tczl
tce-load /mnt/sda1/tce/Xprogs.core.tczl
tce-load /mnt/sda1/tce/Xvesa.core.tcz
tce-load /mnt/sda1/tce/jwm.tcz
what comes next?
Title: Re: How to automate load and install of microcore elements?
Post by: roberts on June 09, 2009, 06:42:27 PM
Why do eveything manual?

If they, core elements, are located in your tce directory then upon boot,  just like any other extension they are loaded and configured? And will boot right into X.

Do you all your extensions manually?
Title: Re: How to automate load and install of microcore elements?
Post by: bigpcman on June 09, 2009, 06:44:54 PM
Why do eveything manual?

If they, core elements, are located in your tce directory then upon boot,  just like any other extension they are loaded and configured? And will boot right into X.

Do you all your extensions manually?

The script is for the first time booting of microcore before the core elements have been installed in tce.
Title: Re: How to automate load and install of microcore elements?
Post by: roberts on June 09, 2009, 06:51:55 PM
the tce-load'ing is part of desksetup.
If it is as you say, a one time, initial setup, then answer the questions, or after downloading, reboot
Or modify the script to your particulars.
Title: Re: How to automate load and install of microcore elements?
Post by: bigpcman on June 09, 2009, 07:00:34 PM
the tce-load'ing is part of desksetup.
So I guess I don't need to do the tce-load in my script. It looks like the answer to the first desksetup question results in the tce-install of all the core element components located in the tce directory.

tce-load /mnt/sda1/tce/Xlibs.core.tczl
tce-load /mnt/sda1/tce/Xprogs.core.tczl
tce-load /mnt/sda1/tce/Xvesa.core.tcz

edit: based on the dialog in http://forum.tinycorelinux.net/index.php?topic=1894.msg10269#msg10269 post I guess it's best to wait for the next tc update.