Commit 9f50cb8f authored by Michael Biebl's avatar Michael Biebl Committed by Martin Pitt
Browse files

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

To work with kmod 20.

Closes: #780263
parent dd625fdd
...@@ -13,6 +13,10 @@ systemd (215-13) UNRELEASED; urgency=medium ...@@ -13,6 +13,10 @@ systemd (215-13) UNRELEASED; urgency=medium
creation. Fixes creation of static device nodes with kmod 20. creation. Fixes creation of static device nodes with kmod 20.
(Closes: #780263) (Closes: #780263)
[ Michael Biebl ]
* debian/udev.init: Recognize '!' flag with static device lists, to work
with kmod 20. (Closes: #780263)
[ Didier Roche ] [ Didier Roche ]
* Ensure PrivateTmp doesn't require tmpfs through tmp.mount, but rather adds * Ensure PrivateTmp doesn't require tmpfs through tmp.mount, but rather adds
an After relationship. (Closes: #779902) an After relationship. (Closes: #779902)
......
...@@ -95,8 +95,8 @@ make_static_nodes() { ...@@ -95,8 +95,8 @@ make_static_nodes() {
while read type name mode uid gid age arg; do while read type name mode uid gid age arg; do
[ -e $name ] && continue [ -e $name ] && continue
case "$type" in case "$type" in
c|b) mknod -m $mode $name $type $(echo $arg | sed 's/:/ /') ;; c|b|c!|b!) mknod -m $mode $name $type $(echo $arg | sed 's/:/ /') ;;
d) mkdir $name ;; d|d!) mkdir $name ;;
*) echo "unparseable line ($type $name $mode $uid $gid $age $arg)" >&2 ;; *) echo "unparseable line ($type $name $mode $uid $gid $age $arg)" >&2 ;;
esac esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment