mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-26 08:55:18 +03:00
test: mask rc.local generator, broken on Jammy
On jammy it started to fail, it's not really needed and we install an empty stub anyway, so just mask the generator
This commit is contained in:
parent
192a6e99a9
commit
565916c245
@ -1961,13 +1961,9 @@ check_result_qemu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_rc_local() {
|
create_rc_local() {
|
||||||
dinfo "Create rc.local"
|
dinfo "Mask rc.local generator"
|
||||||
mkdir -p "${initdir:?}/etc/rc.d"
|
mkdir -p "${initdir:?}/etc/systemd/system-generators/"
|
||||||
cat >"$initdir/etc/rc.d/rc.local" <<EOF
|
ln -s /dev/null "$initdir/etc/systemd/system-generators/systemd-rc-local-generator"
|
||||||
#!/usr/bin/env bash
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
chmod 0755 "$initdir/etc/rc.d/rc.local"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
install_execs() {
|
install_execs() {
|
||||||
|
Loading…
Reference in New Issue
Block a user