Skip to content

Commit

Permalink
Update devel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oklopfer authored May 6, 2024
1 parent f3bdb27 commit 2a0b693
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/devel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
run: |
rm -rf /var/lib/apt/lists/*
sed -i 's/jammy/noble/g' /etc/apt/sources.list
apt-get update && apt-get install --reinstall sudo debootstrap mtools dosfstools qemu-user-static binfmt-support dpkg-dev bubblewrap curl -y
apt-get update && apt-get install --reinstall sudo debootstrap mtools dosfstools qemu-user-static binfmt-support dpkg-dev -y
ln -sfn /usr/share/debootstrap/scripts/gutsy /usr/share/debootstrap/scripts/noble
dpkg -i debs/live-build_*_all.deb
mv /usr/share/debootstrap/functions functions
Expand All @@ -50,19 +50,6 @@ jobs:
cp binary_rootfs /usr/lib/live/build/binary_rootfs
fi
- name: Examine bwrap situation
run: |
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
- name: Make scripts executable
run: chmod -R +x build.sh etc/auto/config etc/terraform.conf etc/

Expand Down

0 comments on commit 2a0b693

Please sign in to comment.