Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
steam
systemd
Commits
9f50cb8f
Commit
9f50cb8f
authored
Mar 26, 2015
by
Michael Biebl
Committed by
Martin Pitt
Mar 26, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debian/udev.init: Recognize '!' flag with static device lists
To work with kmod 20. Closes: #780263
parent
dd625fdd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
debian/changelog
debian/changelog
+4
-0
debian/udev.init
debian/udev.init
+2
-2
No files found.
debian/changelog
View file @
9f50cb8f
...
...
@@ -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)
...
...
debian/udev.init
View file @
9f50cb8f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment