Skip to content

Commit d5b5268

Browse files
Kabuki94claude
andcommitted
fix(build): add execute bit to tools/*.sh, use bash for sysext bind mount
mios-sysext-pack.sh was invoked directly from a read-only bind mount (/ctx/tools) without the execute bit set. Since the mount is ro, chmod inside the container is not possible. Two fixes: 1. Containerfile: call 'bash /ctx/tools/mios-sysext-pack.sh' so the kernel never checks the file's execute permission. 2. git update-index --chmod=+x for all 22 non-executable tools/*.sh scripts so the repo state is consistent and future bind mounts or direct calls work without needing bash prefix. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 08a4ca9 commit d5b5268

23 files changed

Lines changed: 1 addition & 1 deletion

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN --mount=type=bind,from=ctx,source=/ctx,target=/ctx,ro \
5858
RUN bootc completion bash > /etc/bash_completion.d/bootc
5959
RUN --mount=type=bind,from=ctx,source=/ctx/tools,target=/ctx/tools,ro \
6060
install -d -m 0755 /usr/lib/extensions/source && \
61-
/ctx/tools/mios-sysext-pack.sh /usr/lib/extensions/source || true
61+
bash /ctx/tools/mios-sysext-pack.sh /usr/lib/extensions/source || true
6262
RUN ostree container commit
6363
# bootc container lint MUST be the final instruction (ARCHITECTURAL LAW 4).
6464
RUN bootc container lint

tools/apply-final-config.sh

100644100755
File mode changed.

tools/bibata-suite.sh

100644100755
File mode changed.

tools/check-ovmf-enrollment.sh

100644100755
File mode changed.

tools/configure-xbox-cpu.sh

100644100755
File mode changed.

tools/find-ovmf-firmware.sh

100644100755
File mode changed.

tools/fix-ovmf-enrollment.sh

100644100755
File mode changed.

tools/fix-secureboot-now.sh

100644100755
File mode changed.

tools/fix-xbox-secureboot.sh

100644100755
File mode changed.

tools/get-secureboot-ovmf.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)