Closed yanfalies closed 11 years ago
I understand the frustration this must have caused, but I think it would be better to add more instructions to the plugin documentation.
Thing is: This is an internal variable, if we start verifying those it's never going to end (excluded_packages, host_packages...?).
Verification of such things can also bring with them their own sets of bugs and make the whole script less modifiable. I would opt for the KISS approach here.
I ran into an interesting bug, self created, where I specified additional packages but in a task that ran long after TASK_PACKAGES, so there was no way for the package to be installed as it was too late into the build process.
I wondering if there was some way to print a warning if a task alters packages after TASK_CREATE_VOLUME to let the user know that basically it won't add the package.
So what I did was add a package, sudo, in a task that ran after TASK_INITSCRIPTS and of course that could never work because it was too late.
So I'm thinking to detect this
What do you think?
Yan