WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Tiny Core V2.5 - clarification?  (Read 2711 times)

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Tiny Core V2.5 - clarification?
« on: November 06, 2009, 02:12:43 PM »
Robert could you please remind me what this means:

"Re-implements /opt/tce boot time support."
big pc man

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Tiny Core V2.5 - clarification?
« Reply #1 on: November 06, 2009, 02:18:22 PM »
For easy mode remastering. Your repository can be included in the image.
10+ Years Contributing to Linux Open Source Projects.

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: Tiny Core V2.5 - clarification?
« Reply #2 on: November 06, 2009, 02:29:55 PM »
For easy mode remastering. Your repository can be included in the image.

OK, that leads me to another question. What happens on boot and post boot if there is an /opt/tce repository and a /sdb/tce repository present.
big pc man

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Tiny Core V2.5 - clarification?
« Reply #3 on: November 06, 2009, 02:30:38 PM »
What is the load order of /opt/tce and /tce and how the startup scripts executed?
Béla
Ham Radio callsign: HA5DI

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

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Tiny Core V2.5 - clarification?
« Reply #4 on: November 06, 2009, 02:40:13 PM »
The load order and startup script execution is the same as before, using dependency logic.  The startup scripts are simply executed in the proper order after all the extensions are loaded and ldconfig/depmod run.

Offline jls

  • Hero Member
  • *****
  • Posts: 2135
Re: Tiny Core V2.5 - clarification?
« Reply #5 on: November 07, 2009, 09:50:50 AM »
from tce-setup script:
Code: [Select]
if [ "$(ls -A /opt/tce)" ]; then
TCEDIR=/opt/tce
FILELIST=`ls "$TCEDIR"/*.tc* | grep -E .tc[ez][ml]*$`
for FILE in $FILELIST; do process; done
fi

if [ -s /opt/.tce_dir ]; then
  TCEDIR="$(cat /opt/.tce_dir)"
  FILELIST=`ls "$TCEDIR"/*.tc* | grep -E .tc[ez][ml]*$`
  for FILE in $FILELIST; do process; done
fi
dCore user

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Tiny Core V2.5 - clarification?
« Reply #6 on: November 07, 2009, 03:48:13 PM »
from tce-setup script:
Code: [Select]
grep -E .tc[ez][ml]*$
 

wow...that's sweet  :)