Quote |
My solution was all of like 6 lines and 1 new file |
Quote |
mydsl-install is _not_ called during bootup as far as I can determine from source |
Quote |
What I offer is far from a "rewrite" of myDSL |
Quote |
sometimes a script can still fail... unless it's a pristine CD one can't guarantee what environment it's going into |
Quote |
did you like the idea of making them unexecutable when finished rather than deleting? |
Quote |
It's main purpose is for dealing with .dsl packages that are subsequentially installed... so mkwritable is going to get called soon enough anyways |
Quote |
It is if you are auto-loading myDSL packages. dsl-config calls mydsl-load if there are myDSL apps in the root, or if you specify a "mydsl=" boot option, which in turn calls mydsl-install. If you are not auto-loading myDSL apps, there's no reason to run the post-install. |
Quote |
The script i made overwrites the tmp file with each new package anyway, so i guess it doesn't matter at this point. |
Quote |
It's not a huge difference in memory usage, but I figure why bother setting it up to run mkwriteable when there is no need? The files in your extension can be written to the system without running mkwriteable.../etc isn't in ramdisk, but it does allow a limited amount of writing. |
Quote |
It looks like your script is basically the same as mine, except 1) it runs at boottime regardless of whether or not it's needed, and 2) it runs all files found in the mydsl.postinstall directory. Keep in mind that you may be running unnecessary commands with both differences. |
Quote |
The other is the fact that mydsl-install is run with each myDSL application...you run all post-install scripts every time a myDSL package is installed. |