WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: /tce on read-only media  (Read 3525 times)

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
/tce on read-only media
« on: March 16, 2009, 04:17:38 PM »
I noticed that when the /tce directory is on my CD, I cannot download or install extensions. Is it possible for the app installer (and thus tce-load) to test for a read-only filesystem and use /tmp/tce as a fallback?

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: /tce on read-only media
« Reply #1 on: March 16, 2009, 04:52:39 PM »
I think you can have the download path automatically set by changing /opt/.tce_dir
Be aware, though, that this file is auto-generated during boot if you have a tce directory, so you'd need to change the file each session..."echo /path/to/new/tce/directory > /opt/.tce_dir" in bootlocal.sh should work.

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: /tce on read-only media
« Reply #2 on: March 16, 2009, 05:52:47 PM »
Thanks. That's the solution I needed. I never noticed the .tce_dir file. A much simpler solution than modifying the appbrowser behavior. It works well because it's when I remaster that I place extensions on the CD, so I can just update that file when all the extensions finish loading.

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: /tce on read-only media
« Reply #3 on: March 16, 2009, 07:18:54 PM »
Another thought, rather than creating the file from bootlocal on every boot.  Since that would require the use of backup anyway, you could include a new .tce_dir file in the backup.