diff --git a/test/bin/ci_phase_iso_build.sh b/test/bin/ci_phase_iso_build.sh index 0d064ee8e1..53bb6a7dcf 100755 --- a/test/bin/ci_phase_iso_build.sh +++ b/test/bin/ci_phase_iso_build.sh @@ -125,6 +125,9 @@ run_bootc_image_build() { # Skip all image builds for release testing CI jobs because all the images are fetched from the cache. if [[ "${CI_JOB_NAME}" =~ .*release(-arm)?(-el(9|10))?$ ]]; then $(dry_run) bash -x ./bin/build_bootc_images.sh -X + # Rebuild the tuned images to pick up containerfile changes from the PR + $(dry_run) bash -x ./bin/build_bootc_images.sh -f -t ./image-blueprints-bootc/layer4-release/group2/rhel98-bootc-brew-lrel-tuned.containerfile + $(dry_run) bash -x ./bin/build_bootc_images.sh -f -t ./image-blueprints-bootc/layer4-release/group2/rhel102-bootc-brew-lrel-tuned.containerfile return fi diff --git a/test/image-blueprints-bootc/layer4-release/group2/rhel102-bootc-brew-lrel-tuned.containerfile b/test/image-blueprints-bootc/layer4-release/group2/rhel102-bootc-brew-lrel-tuned.containerfile index 12af7e6884..a63a4f560f 100644 --- a/test/image-blueprints-bootc/layer4-release/group2/rhel102-bootc-brew-lrel-tuned.containerfile +++ b/test/image-blueprints-bootc/layer4-release/group2/rhel102-bootc-brew-lrel-tuned.containerfile @@ -2,6 +2,10 @@ # Note: This comment makes templating add a new line before the code FROM localhost/rhel102-bootc-brew-lrel-optional:latest +RUN mkdir -p /usr/lib/systemd/system/tuned.service.d && \ + printf '[Service]\nExecStart=\nExecStart=/usr/sbin/tuned --debug\n' \ + > /usr/lib/systemd/system/tuned.service.d/debug.conf + # Enable microshift-tuned service RUN systemctl enable microshift-tuned diff --git a/test/image-blueprints-bootc/layer4-release/group2/rhel98-bootc-brew-lrel-tuned.containerfile b/test/image-blueprints-bootc/layer4-release/group2/rhel98-bootc-brew-lrel-tuned.containerfile index c4b5179fca..4038e6659f 100644 --- a/test/image-blueprints-bootc/layer4-release/group2/rhel98-bootc-brew-lrel-tuned.containerfile +++ b/test/image-blueprints-bootc/layer4-release/group2/rhel98-bootc-brew-lrel-tuned.containerfile @@ -2,6 +2,10 @@ # Note: This comment makes templating add a new line before the code FROM localhost/rhel98-bootc-brew-lrel-optional:latest +RUN mkdir -p /usr/lib/systemd/system/tuned.service.d && \ + printf '[Service]\nExecStart=\nExecStart=/usr/sbin/tuned --debug\n' \ + > /usr/lib/systemd/system/tuned.service.d/debug.conf + # Enable microshift-tuned service RUN systemctl enable microshift-tuned