I'm trying out the technique of creating a "dummy" tcz which contains a script I want executed when the tcz is installed.
I created a script named mystartup which just echos a message to a test_flag file. Then I created a test script file in /tmp/package that copies the mystartup file to /tmp and executes it.
I performed a mksquashfs on the test script file (mksquashfs package test.tcz) and moved the test.tcz into the ../tce/optional directory.
I updated the onboot list file with the new test.tcz file name.
When I boot the test.tcz extension is installed and /tmp/tcloop/test contains the "test" script file. Not a link the actual "test" script file.
However, the "test" script file was not executed when the extension was installed.
So what am I doing wrong?