mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
test-execute: do not fail if machine-id is missing
When building in a chroot there might not be any machine-id
This commit is contained in:
parent
4200134c85
commit
345a809f21
|
@ -27,7 +27,6 @@ ExecStart=sh -c 'test %g = $$(id -gn)'
|
|||
ExecStart=sh -c 'test %G = $$(id -g)'
|
||||
ExecStart=test %h = /root
|
||||
ExecStart=sh -c 'test -x %s'
|
||||
ExecStart=sh -c 'test %m = $$(cat /etc/machine-id)'
|
||||
ExecStart=sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')'
|
||||
ExecStart=sh -c 'test %H = $$(uname -n)'
|
||||
ExecStart=sh -c 'test %v = $$(uname -r)'
|
||||
|
|
|
@ -24,7 +24,6 @@ ExecStart=sh -c 'test %g = $$(id -gn)'
|
|||
ExecStart=sh -c 'test %G = $$(id -g)'
|
||||
ExecStart=test %h = /root
|
||||
ExecStart=sh -c 'test -x %s'
|
||||
ExecStart=sh -c 'test %m = $$(cat /etc/machine-id)'
|
||||
ExecStart=sh -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')'
|
||||
ExecStart=sh -c 'test %H = $$(uname -n)'
|
||||
ExecStart=sh -c 'test %v = $$(uname -r)'
|
||||
|
|
Loading…
Reference in a new issue