Skip to content

Commit f3bdb27

Browse files
authored
Update devel.yml
1 parent bf018c0 commit f3bdb27

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

.github/workflows/devel.yml

+8-15
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,14 @@ jobs:
5252
5353
- name: Examine bwrap situation
5454
run: |
55-
echo '#!/bin/bash
56-
bwrap --dev-bind "$1" / \
57-
--proc /proc \
58-
--dev /dev \
59-
--tmpfs /tmp \
60-
--ro-bind /usr /usr \
61-
--ro-bind /bin /bin \
62-
--ro-bind /lib /lib \
63-
--ro-bind /etc /etc \
64-
--symlink usr/lib /lib \
65-
--symlink usr/bin /bin \
66-
--dir /home \
67-
--dir /root \
68-
--chdir / \
69-
/bin/bash' >> bwrap.sh
55+
echo '#!/bin/bash' >> bwrap.sh
56+
echo 'bwrap --dev-bind "$1" / \' >> bwrap.sh
57+
echo '--proc /proc --dev /dev \' >> bwrap.sh
58+
echo '--tmpfs /tmp --ro-bind /usr /usr \' >> bwrap.sh
59+
echo '--ro-bind /bin /bin --ro-bind /lib /lib \' >> bwrap.sh
60+
echo '--ro-bind /etc /etc --symlink usr/lib /lib \' >> bwrap.sh
61+
echo '--symlink usr/bin /bin --dir /home --dir /root \' >> bwrap.sh
62+
echo '--chdir / /bin/bash' >> bwrap.sh
7063
chmod +x bwrap.sh
7164
cp bwrap.sh /usr/sbin/chroot
7265

0 commit comments

Comments
 (0)