debian/udev.init: Recognize '!' flag with static device lists

To work with kmod 20.

Closes: #780263
This commit is contained in:
Michael Biebl 2015-03-26 11:16:14 +01:00 committed by Martin Pitt
parent dd625fddac
commit 9f50cb8f5f
2 changed files with 6 additions and 2 deletions

4
debian/changelog vendored
View File

@ -13,6 +13,10 @@ systemd (215-13) UNRELEASED; urgency=medium
creation. Fixes creation of static device nodes with kmod 20.
(Closes: #780263)
[ Michael Biebl ]
* debian/udev.init: Recognize '!' flag with static device lists, to work
with kmod 20. (Closes: #780263)
[ Didier Roche ]
* Ensure PrivateTmp doesn't require tmpfs through tmp.mount, but rather adds
an After relationship. (Closes: #779902)

4
debian/udev.init vendored
View File

@ -95,8 +95,8 @@ make_static_nodes() {
while read type name mode uid gid age arg; do
[ -e $name ] && continue
case "$type" in
c|b) mknod -m $mode $name $type $(echo $arg | sed 's/:/ /') ;;
d) mkdir $name ;;
c|b|c!|b!) mknod -m $mode $name $type $(echo $arg | sed 's/:/ /') ;;
d|d!) mkdir $name ;;
*) echo "unparseable line ($type $name $mode $uid $gid $age $arg)" >&2 ;;
esac