Merge pull request #21838 from lnussel/logind-refactor
Logind shutdown refactor
This commit is contained in:
@@ -1896,6 +1896,8 @@ has_user_dbus_socket() {
|
||||
fi
|
||||
}
|
||||
|
||||
setup_nspawn_root_hook() { :;}
|
||||
|
||||
setup_nspawn_root() {
|
||||
if [ -z "${initdir}" ]; then
|
||||
dfatal "\$initdir not defined"
|
||||
@@ -1908,6 +1910,8 @@ setup_nspawn_root() {
|
||||
ddebug "cp -ar $initdir $TESTDIR/unprivileged-nspawn-root"
|
||||
cp -ar "$initdir" "$TESTDIR/unprivileged-nspawn-root"
|
||||
fi
|
||||
|
||||
setup_nspawn_root_hook
|
||||
}
|
||||
|
||||
setup_basic_dirs() {
|
||||
|
||||
Reference in New Issue
Block a user