From f3bdb27b94c1a16424d2b26251954d2729acfb62 Mon Sep 17 00:00:00 2001 From: oklopfer <104327997+oklopfer@users.noreply.github.com> Date: Mon, 6 May 2024 01:28:37 -0400 Subject: [PATCH] Update devel.yml --- .github/workflows/devel.yml | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/.github/workflows/devel.yml b/.github/workflows/devel.yml index ed682e7..5021cc1 100644 --- a/.github/workflows/devel.yml +++ b/.github/workflows/devel.yml @@ -52,21 +52,14 @@ jobs: - name: Examine bwrap situation run: | - echo '#!/bin/bash - bwrap --dev-bind "$1" / \ - --proc /proc \ - --dev /dev \ - --tmpfs /tmp \ - --ro-bind /usr /usr \ - --ro-bind /bin /bin \ - --ro-bind /lib /lib \ - --ro-bind /etc /etc \ - --symlink usr/lib /lib \ - --symlink usr/bin /bin \ - --dir /home \ - --dir /root \ - --chdir / \ - /bin/bash' >> bwrap.sh + echo '#!/bin/bash' >> bwrap.sh + echo 'bwrap --dev-bind "$1" / \' >> bwrap.sh + echo '--proc /proc --dev /dev \' >> bwrap.sh + echo '--tmpfs /tmp --ro-bind /usr /usr \' >> bwrap.sh + echo '--ro-bind /bin /bin --ro-bind /lib /lib \' >> bwrap.sh + echo '--ro-bind /etc /etc --symlink usr/lib /lib \' >> bwrap.sh + echo '--symlink usr/bin /bin --dir /home --dir /root \' >> bwrap.sh + echo '--chdir / /bin/bash' >> bwrap.sh chmod +x bwrap.sh cp bwrap.sh /usr/sbin/chroot