devfsadm (4.3+1) unstable; urgency=medium

* Added trigger devfsadm: will execute devfsadm -I -P on demand
    if not in chroot.
  * Added devfsadm-illumos-includes.patch
This commit is contained in:
Igor Pashev 2014-06-08 14:54:57 +04:00
parent 1d2eb92d95
commit 8d59003fdc
5 changed files with 55 additions and 0 deletions

View File

@ -1,3 +1,11 @@
devfsadm (4.3+1) unstable; urgency=medium
* Added trigger devfsadm: will execute devfsadm -I -P on demand
if not in chroot.
* Added devfsadm-illumos-includes.patch
-- Igor Pashev <pashev.igor@gmail.com> Sun, 08 Jun 2014 14:43:31 +0400
devfsadm (4.3) unstable; urgency=medium
* New upstream snapshot

View File

@ -0,0 +1,32 @@
#!/bin/sh
set -e
trigger_devfsadm() {
if [ -z "$DEB_DEVFSADM_DISABLE_TRIGGER" ]; then
if ! ischroot; then
echo "devfsadm: updating device tree ..."
devfsadm -I -P || true
fi
else
echo "Skipping devfsadm invocation (DEB_DEVFSADM_DISABLE_TRIGGER is set). " >&2
fi
}
case "$1" in
configure)
;;
triggered)
trigger_devfsadm
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac

View File

@ -0,0 +1 @@
interest devfsadm

View File

@ -0,0 +1,13 @@
Description: some headers are moved to /usr/include/illumos
Index: devfsadm/usr/src/cmd/devfsadm/Makefile.com
===================================================================
--- devfsadm.orig/usr/src/cmd/devfsadm/Makefile.com 2014-06-08 14:39:57.542766854 +0400
+++ devfsadm/usr/src/cmd/devfsadm/Makefile.com 2014-06-08 14:42:05.401628085 +0400
@@ -91,6 +91,7 @@
CPPFLAGS += -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT \
-I$(COMMON) -I$(UTSBASE)/common -I$(MODLOADDIR)
+CPPFLAGS += -I/usr/include/illumos
CFLAGS += $(CCVERBOSE) $(C_PICFLAGS)
LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2

View File

@ -6,3 +6,4 @@ devfsadm-xen_link.c-avoid-extra-headers.patch
devfsadm-no-devlink.tab.patch
devfsadm-use-symlinks.patch
devfsadm-port_link-check-pmadm.patch
devfsadm-illumos-includes.patch