[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to build a source tarball that includes symbolic links?



On Thu, 7 Jun 2012 05:42:56 +0200
David Lindelöf <lindelof@ieee.org> wrote:

> The source of my project includes symbolic links to other source trees
> (notably, the CppUTest framework and a library used by several of our
> projects). When I call `dpkg-buildpackage` to build a debian package
> out of my project, I've found that `dpkg-source` will not follow the
> symbolic links and leaves them as empty files in the source's tarball.
> As a result, they cannot be used by `pbuilder` to build the package
> for another distribution.

As a *temporary* workaround could you use hard links instead of
symbolic?  You'd have to link every file individually though, hard links
aren't supported for directories.


Reply to: