From 156b847e56b8495a37715f98a74aaecfbaf4f5f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Pedro=20Lima?= Date: Tue, 3 Oct 2023 15:29:43 +0100 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 792646bca0b47..f0863fbbb6d78 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,8 +22,7 @@ jobs: path: linux-build-artifacts - name: make file run: | - sudo su - - apt-get install debootstrap + sudo apt-get install debootstrap dd if=/dev/zero of=umlfs bs=1 count=0 seek=1G mkfs -t ext4 -F umlfs mkdir debootstrap @@ -34,7 +33,7 @@ jobs: sudo cp zeta/init debootstrap/sbin/init sudo cp zeta/test-script.sh debootstrap/test-script.sh sudo umount umlfs - chmod +x linux-build-artifacts/linux + sudo chmod +x linux-build-artifacts/linux sudo ./linux-build-artifacts/linux ubd0=umlfs rw || true - name: test run: echo "test"