# Build architecture-independent files here. cp thejar.jar $(TMP)/usr/local/java/jre/lib/ext # Add here commands to install the package into debian/tmp. +++ -1 +1 -git a/debian/rules b/debian/rules Here are the changes to the debian packaging config: diff -git a/debian/dirs b/debian/dirs I haven't been able to find the flag for dpkg that will persuade it to leave the symlink in place, and it does not appear to be possible to set the immutable bit on symlinks. This is a deeply undesirable state to be in, even temporarily. The problem is that installing the new version causes dpkg to try and tidy up after itself, ending up deleting the /usr/local/java symlink. The new version of this package installs the jar elsewhere. I have a debian package that installs a file to /usr/local/java/jre/lib/ext, where /usr/local/java is a symlink to where the jvm is actually installed, in this case /usr/lib/jvm/java-6-sun.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |