Open tammojan opened 9 years ago
Good idea. We could actually do the same for the Dockerfiles as well.
There is a bug concerning versions of patch that do not support the --follow-symlinks flag. Those will fail. A workaround is fairly simple: remove --follow-symlinks from common/routines-script.mk and common/routines-docker.mk
We'll be working on a fix soon.
I fixed the issues with older patch versions (that don't have the --follow-symlinks flag) and the newest (that does have the flag but doesn't like working on files in other directories than the working one).
I have changed the flag from bug to enhancement so that we still keep track of the requested tests.
I have completely removed all symlinks in commit 4a64c41 and for any patching, both the target and the patch file itself are now copied to temporary files before actually calling patch. There is no need for the --follow-symlinks flag anymore.
I think that the issue is hereby resolved and make script
should now work for all distros.
Well, I kept this one open for the last sentence actually: It would be great to define a fast test to see if everything we expect is in the deploy script. The problem that such a test does pose some sort of chicken or egg problem...
make script
doesn't work for most distros, some patches don't work. Perhaps we should write a test (perhaps even a travis test) that doesmake test
for all distros and check that something sensible is produced, and all patches get applied.