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

Re: Build a sort-of-systemd-dependent package on kfreebsd





On 08/11/16 15:31, Jens Reyer wrote:
On 08.11.2016 15:13, Alec Leamas wrote:



On 08/11/16 14:56, Jens Reyer wrote:

Hi Alec [answering on debian-mentor

Hi Jens! thanks for reply! We are in cross-posting hell... redirecting
to debian-devel

Yup, but I agree with Henrique that mentors would've been the right
list, anyway.

So do I. Next time...


On 08.11.2016 13:39, Alec Leamas wrote:

However, my need is to actually *remove* some files from e. g.,
debian/install since they are not built on kfreebsd. How could I do this?

The dh-exec-filter manpage should help. I assume you want something like:

debian/install:
#! /usr/bin/dh-exec
[!kfreebsd-any] debian/some-linux-only-file /usr/lib/my-package


A code search [1] showed that syslog-ng does this, so that package might
be worth looking at.

Greets
jre


[1]
https://codesearch.debian.net/search?q=path%3Adebian%2F.*install+kfreebsd-any


Ah... thanks. There are some great tools in the Debian toolchain (codesearch!). This looks like "problem solved". Thanks!


--alec


Reply to: