aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2019-07-24 21:31:20 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-07-24 21:46:00 -0400
commitda7a11394fed856d168fc69ac148e574101ffecf (patch)
tree0e04dde13889193dbecc64fe9b86ea960f312cc9
parent7f4c3bb1200eb727894ddfad6a99167bdf2eb78f (diff)
downloade2fsprogs-da7a11394fed856d168fc69ac148e574101ffecf.tar.gz
debian: only install the udev and systemd files to e2fsprogs on Linux systems
Otherwise it will fail to build on hurd and kfreebsd. Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--debian/control2
-rwxr-xr-x[-rw-r--r--]debian/e2fsprogs.install5
2 files changed, 4 insertions, 3 deletions
diff --git a/debian/control b/debian/control
index f20e92289..83dbe7cfe 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: e2fsprogs
Section: admin
Priority: required
Maintainer: Theodore Y. Ts'o <tytso@mit.edu>
-Build-Depends: gettext, texinfo, pkg-config, libfuse-dev [linux-any kfreebsd-any] <!pkg.e2fsprogs.no-fuse2fs>, libattr1-dev, debhelper (>= 11.0), libblkid-dev, uuid-dev, m4, udev [linux-any], systemd [linux-any], cron [linux-any]
+Build-Depends: gettext, texinfo, pkg-config, libfuse-dev [linux-any kfreebsd-any] <!pkg.e2fsprogs.no-fuse2fs>, libattr1-dev, debhelper (>= 11.0), dh-exec, libblkid-dev, uuid-dev, m4, udev [linux-any], systemd [linux-any], cron [linux-any]
Standards-Version: 4.4.0
Homepage: http://e2fsprogs.sourceforge.net
Vcs-Browser: https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git
diff --git a/debian/e2fsprogs.install b/debian/e2fsprogs.install
index f23399d3a..ce158fbd5 100644..100755
--- a/debian/e2fsprogs.install
+++ b/debian/e2fsprogs.install
@@ -1,3 +1,4 @@
+#!/usr/bin/dh-exec
sbin/badblocks
sbin/debugfs
sbin/dumpe2fs
@@ -48,5 +49,5 @@ usr/share/man/man8/mklost+found.8
usr/share/man/man8/resize2fs.8
usr/share/man/man8/tune2fs.8
etc
-lib/udev/rules.d
-lib/systemd/system
+[linux-any] lib/udev/rules.d
+[linux-any] lib/systemd/system