Skip to content

Commit

Permalink
Update qemu-universal.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmz1 authored Jan 4, 2025
1 parent 128f935 commit 2f31f4b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions qemu-universal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 2f31f4b

Please sign in to comment.