Package: util-linux
Followup-For: Bug #776905

Hi,

Please find a patch attached

Tested on my machine and it seems to work properly.

Cheers,

Laurent Bigonville

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.1.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages util-linux depends on:
ii  initscripts     2.88dsf-59.2
ii  libblkid1       2.26.2-9
ii  libc6           2.19-19
ii  libfdisk1       2.26.2-9
ii  libmount1       2.26.2-9
ii  libncursesw5    6.0+20150810-1
ii  libpam0g        1.1.8-3.1
ii  libselinux1     2.4-2
ii  libsmartcols1   2.26.2-9
ii  libtinfo5       6.0+20150810-1
ii  libuuid1        2.26.2-9
ii  lsb-base        4.1+Debian14
ii  sysvinit-utils  2.88dsf-59.2
ii  tzdata          2015f-1
ii  zlib1g          1:1.2.8.dfsg-2+b1

util-linux recommends no packages.

Versions of packages util-linux suggests:
ii  dosfstools          3.0.28-2
ii  kbd                 1.15.5-2
ii  util-linux-locales  2.26.2-9

-- debconf information excluded
commit 08ea0d5632f77977c05c3f1374280d5a04dd1445
Author: Laurent Bigonville <bi...@bigon.be>
Date:   Fri Sep 4 18:57:53 2015 +0200

    Enable libudev support on linux architectures
    
    Closes: 776905

diff --git a/debian/control b/debian/control
index 1fecace..70ced6a 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Build-Depends: autoconf,
                libselinux1-dev [linux-any],
                libsystemd-dev [linux-any] <!stage1>,
                libtool,
+               libudev-dev [linux-any] <!stage1>,
                lsb-release,
                pkg-config,
                po-debconf,
diff --git a/debian/rules b/debian/rules
index 481f19d..71b8c47 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,9 +12,9 @@ CONFOPTS += --enable-raw
 CONFOPTS += --with-selinux
 CONFOPTS += --enable-partx
 ifneq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
-	CONFOPTS += --without-systemd
+	CONFOPTS += --without-systemd --without-udev
 else
-	CONFOPTS += --with-systemd
+	CONFOPTS += --with-systemd --with-udev
 endif
 CONFOPTS += --enable-tunelp
 endif

Reply via email to