WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: How to automate load and install of microcore elements?  (Read 2823 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
How to automate load and install of microcore elements?
« 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?
big pc man

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: How to automate load and install of microcore elements?
« Reply #1 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?
10+ Years Contributing to Linux Open Source Projects.

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: How to automate load and install of microcore elements?
« Reply #2 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.
big pc man

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: How to automate load and install of microcore elements?
« Reply #3 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.
10+ Years Contributing to Linux Open Source Projects.

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: How to automate load and install of microcore elements?
« Reply #4 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.
« Last Edit: June 09, 2009, 07:05:37 PM by bigpcman »
big pc man