Tiny Core Linux

Off-Topic => Archive / Obsolete => SCM EXtensions => Topic started by: cortman on April 04, 2013, 10:35:54 AM

Title: [SOLVED] SCM Questions
Post by: cortman on April 04, 2013, 10:35:54 AM
Sorry if these are already addressed and I'm missing them. I have several questions about SCMs.

- Where is the correct place to store SCMs? The computer that I use TC on doesn't have networking capabilities, so I copy/paste them over a flash drive.
- How can I get an SCM to load at boot, like a .tcz does with onboot.lst?

Thank you.
Title: Re: SCM Questions
Post by: aus9 on April 04, 2013, 04:26:59 PM
I know even less about scms that you do, so will answer and hope others will supply a better answer

1) same place as your tcz files.........../mnt/sdxn/tce/optional

2) I suggest using bootlocal.sh

/usr/bin/scm-load -i something1.scm something2.scm  something3.scm

3) So are these onboot scms ever going to be unloaded while system is booted?
Title: Re: SCM Questions
Post by: cortman on April 04, 2013, 04:33:49 PM
I know even less about scms that you do, so will answer and hope others will supply a better answer

1) same place as your tcz files.........../mnt/sdxn/tce/optional

2) I suggest using bootlocal.sh

/usr/bin/scm-load -i something1.scm something2.scm  something3.scm

3) So are these onboot scms ever going to be unloaded while system is booted?

No, I don't think I'll ever unload them.

Where should I store the bootlocal.sh file?
Title: Re: SCM Questions
Post by: aus9 on April 04, 2013, 04:41:05 PM
err hang on, I just found out that instead of bootlocal we have roberts saying

http://forum.tinycorelinux.net/index.php/topic,12960.msg71192.html#msg71192

2) bootlocal.sh is supposed to exist under /opt
Title: Re: SCM Questions
Post by: gerald_clark on April 04, 2013, 04:42:09 PM
Use the scmboot.lst file, scmapps,  or the /usr/bin/scm* binaries.
Title: Re: SCM Questions
Post by: aus9 on April 04, 2013, 04:50:28 PM
gerald_clark

scmboot.lst

wish I had thought of that.
Title: Re: SCM Questions
Post by: cortman on April 04, 2013, 04:54:00 PM
Thanks all.
Should scmboot.lst be located in the same directory as onboot.lst?
Title: Re: SCM Questions
Post by: aus9 on April 04, 2013, 04:54:55 PM
yes

/mnt/sdxn/tce
Title: Re: SCM Questions
Post by: cortman on April 04, 2013, 04:58:50 PM
Great, thanks again for the help! :)
Title: Re: SCM Questions
Post by: aus9 on April 04, 2013, 04:59:46 PM
offtopic

I just noticed my dual boot has scm references, heaps of them which means using the search tool find may be misleading
eg

Code: [Select]
sudo find / -name *.scm
/mnt/sda3/tce/optional/epdfview.scm
/mnt/sda3/tce/optional/leafpad.scm
/mnt/sda3/tce/optional/gtk2.scm
/mnt/sda1/home/gordon/.config/Thunar/accels.scm
/mnt/sda1/usr/share/guile/1.8/oop/goops.scm
/mnt/sda1/usr/share/guile/1.8/oop/goops/describe.scm
******list culled

(work a round is )

sudo umount /mnt/sda1
tc@box:~$ sudo find / -name *.scm
/mnt/sda3/tce/optional/epdfview.scm
/mnt/sda3/tce/optional/leafpad.scm
/mnt/sda3/tce/optional/gtk2.scm