From 2f31f4b8e4458c06b855f62096218872dd71ca89 Mon Sep 17 00:00:00 2001 From: Lucas Machado Zainote <95252125+lucasmz1@users.noreply.github.com> Date: Sat, 4 Jan 2025 12:46:16 -0300 Subject: [PATCH] Update qemu-universal.sh --- qemu-universal.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qemu-universal.sh b/qemu-universal.sh index 8547f13..20c364f 100644 --- a/qemu-universal.sh +++ b/qemu-universal.sh @@ -7,10 +7,7 @@ tar xf archlinux-bootstrap-x86_64.tar.zst -C ./arch/ # criar no github uma nova pasta parao AppRun e demais arquivos. cp /etc/resolv.conf -t ${GITHUB_WORKSPACE}/arch/root.x86_64/etc/ && cp ${GITHUB_WORKSPACE}/files/mirrorlist -t ${GITHUB_WORKSPACE}/arch/root.x86_64/etc/pacman.d/ && cp ${GITHUB_WORKSPACE}/files/pacman.conf -t ${GITHUB_WORKSPACE}/arch/root.x86_64/etc/ cd ${GITHUB_WORKSPACE} -sudo chroot ./arch/root.x86_64/ /usr/bin/bash -pacman -Syyu -pacman -S qemu-full jack2 --noconfirm -pacman -Scc --noconfirm +sudo chroot ./arch/root.x86_64/ /bin/bash -c "pacman -Syyu && pacman -S qemu-full jack2 --noconfirm && pacman -Scc --noconfirm" exit cp ${GITHUB_WORKSPACE}/files/AppRun ${GITHUB_WORKSPACE}/arch/ && cp ${GITHUB_WORKSPACE}/files/qemu.svg -t ${GITHUB_WORKSPACE}/arch/ && cp ${GITHUB_WORKSPACE}/files/qemu.desktop -t ${GITHUB_WORKSPACE}/arch/ mv ${GITHUB_WORKSPACE}/arch/root.x86_64/ ./root/