From f7a8f02462682428a77cc08df2358effb62f0ebc Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 17 Mar 2021 13:37:12 +1100 Subject: [PATCH] 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 --- nodepool/elements/nodepool-base/finalise.d/89-boot-settings | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nodepool/elements/nodepool-base/finalise.d/89-boot-settings b/nodepool/elements/nodepool-base/finalise.d/89-boot-settings index 537fc60fcc..7b6343be94 100755 --- a/nodepool/elements/nodepool-base/finalise.d/89-boot-settings +++ b/nodepool/elements/nodepool-base/finalise.d/89-boot-settings @@ -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