Quote (mikshaw @ Sep. 04 2005,15:59) |
I think you're making this much more complicated than it needs to be. |
Quote (mikshaw @ Sep. 04 2005,15:59) |
I tested the edited /etc/init.d/mydsl-install and it works fine, even for auto-loaded apps. The key for that part is to name the extension as above, 0-POSTINSTALL.tar.gz (all caps) so that it will load first before any other extension, even those beginning with "00000001AAAAA" or something like that, which is very unlikely. Not that someone couldn't name it "0-Asomething", but why would they? But maybe it should just be named 0-0.tar.gz just to make sure it will be found before anything else. |
Quote (mikshaw @ Sep. 04 2005,15:59) |
The current myDSL system is not set up to install a bunch of files at once. Each file found at boot goes through the process individually, so it might be difficult to set up a directory of post-install scripts to run all at once without making more complex changes to the system. |
Quote (mikshaw @ Sep. 04 2005,15:59) |
I like the way myDSL works now, so i have no intention of involving myself in a rewrite |
Quote (mikshaw @ Sep. 04 2005,15:59) |
As far as failures go, i guess it would depend on where it fails. I would guess that if it is the post-install script failing, it would be up to the packager to make sure it works properly. |
Quote |
EDIT: by making your post install *.dsl, you are putting unnecessary limits on the enduser....me, for example. I hardly ever run mkwriteable, and like to keep all apps in home and opt. |