From d98a45a70b45b5f6eac0c4d52e880c758f07ec91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= Date: Mon, 13 May 2024 22:48:35 +0200 Subject: [PATCH] Fix vscode exts binaries --- os/layers/participant/hooks/live/2000-participant.hook.chroot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/layers/participant/hooks/live/2000-participant.hook.chroot b/os/layers/participant/hooks/live/2000-participant.hook.chroot index ae7268e..a10bb88 100755 --- a/os/layers/participant/hooks/live/2000-participant.hook.chroot +++ b/os/layers/participant/hooks/live/2000-participant.hook.chroot @@ -32,6 +32,10 @@ for ext in *; do fi done popd +# Some extensions contain binaries which must be made executable. +# Because the files are now owned by root, extensions can't do that themselves. +# This just makes all files executable. +chmod --recursive +x /usr/local/lib/vscode-extensions/ # Enable codeblocks template. sed -i 's|// project wizards|RegisterWizard(wizProject, _T("soi"), _T("A SOI task"), _T("Console"));|' /usr/share/codeblocks/templates/wizard/config.script