nodepool elements: create suse boot rc directory
As noted inline, the /etc/init.d directory appears to have been somehow remove/no longer created with a recent update. I've added this manually and the image builds, and the rc-local.service still runs. Do this for now to unblock other builds. Change-Id: I0b0b2e38951bad656bcfdb47b6470e033564db59
This commit is contained in:
parent
688c371757
commit
f7a8f02462
@ -101,6 +101,11 @@ chown unbound /var/log/unbound.log
|
||||
chmod 0644 /var/log/unbound.log
|
||||
|
||||
if [[ "$DISTRO_NAME" =~ (opensuse) ]] ; then
|
||||
# NOTE(ianw) 2021-03-17 : something about building the suse chroot
|
||||
# has changed and /etc/init.d/ is no longer available. However,
|
||||
# it rc-local.service (part of systemd) still runs. We should
|
||||
# probably convert this all to a systemd job; but for now...
|
||||
mkdir -p /etc/init.d
|
||||
rclocal=/etc/init.d/boot.local
|
||||
elif [[ "${DISTRO_NAME}" =~ "gentoo" ]]; then
|
||||
rclocal=/etc/local.d/unbound.start
|
||||
|
Loading…
Reference in New Issue
Block a user