Tiny Core Base > TCB Bugs

TC2.10 - needed var $TCEDIR is not set

(1/1)

philip:
TC2.10 is running well here, with classic flwm. But the control panel can't start 'OnDemand'. (A window flashes onto the screen and disappears instantly.) Saying 'ondemand' in a shell prompt gives an error message that has a symptom and a real cause. The symptom: a temporary file named $TMP created inside the script does not exist. (Suggested remedy: in the script, immediately after defining the variable $TMP, insert the command "touch $TMP". Works for me.) The true cause: the script expects to find a character string in the shell variable $TCEDIR, but that's empty. Maybe it's my fault, for not specifying tce=xxx on the boot line.


--- Code: ---$ cat /proc/cmdline
vga=795 noswap nodhcp tz=PST+8PDT,M3.2.0/2,M11.1.0/2 settime host=infty desktop=flwm waitusb=9 pause quiet

--- End code ---

However, TC is well designed, and at least in some parts of the system, it knows what a good definition would be:


--- Code: ---$ cat /opt/.tce_dir
/mnt/sdb1/tce

--- End code ---

I will reboot with a better-decorated boot stanza, but meanwhile maybe there is potential in this observation for another small improvement in the system. (I have ideas, but people with a better overview of the whole system will almost certainly come up with better ones.) Greetings and thanks to all involved.

curaga:
If all extensions in optional are currently installed, yeah, that would happen. Some missing error handling.

TCEDIR is populated from /opt/.tce_dir before using, and if any extensions would not be installed, the $TMP file would exist.

Navigation

[0] Message Index

Go to full version