[pulseaudio] 01/01: Do not fail if udevadm commands fail in postinst. They are provided for convenience only, and will fail when udev is not running (eg, in a chroot or container). Closes: #772212
Felipe Sateler
fsateler at moszumanska.debian.org
Wed Dec 10 14:46:17 UTC 2014
This is an automated email from the git hooks/post-receive script.
fsateler pushed a commit to branch debian/experimental
in repository pulseaudio.
commit e60ae54b52c4be8a0f761329ef51c315afec2b01
Author: Felipe Sateler <fsateler at debian.org>
Date: Wed Dec 10 11:45:57 2014 -0300
Do not fail if udevadm commands fail in postinst. They are provided for convenience only, and will fail when udev is not running (eg, in a chroot or container). Closes: #772212
---
debian/changelog | 8 ++++++++
debian/pulseaudio.postinst | 4 ++--
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index ebdf44d..1ce4eb7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+pulseaudio (5.99.1-3) UNRELEASED; urgency=medium
+
+ * Do not fail if udevadm commands fail in postinst. They are provided for
+ convenience only, and will fail when udev is not running
+ (eg, in a chroot or container). Closes: #772212
+
+ -- Felipe Sateler <fsateler at debian.org> Tue, 09 Dec 2014 19:25:32 -0300
+
pulseaudio (5.99.1-2) experimental; urgency=medium
* Add patch to disable srbchannel tests when eventfd is not available
diff --git a/debian/pulseaudio.postinst b/debian/pulseaudio.postinst
index 8f56cc8..e1f2ac6 100644
--- a/debian/pulseaudio.postinst
+++ b/debian/pulseaudio.postinst
@@ -20,8 +20,8 @@ trigger_udev() {
if ! which udevadm >/dev/null 2>&1 ; then
return 0;
fi
- udevadm control --reload-rules
- udevadm trigger --subsystem-match=sound --action=change
+ udevadm control --reload-rules || true
+ udevadm trigger --subsystem-match=sound --action=change || true
}
case "$1" in
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git
More information about the pkg-pulseaudio-devel
mailing list