Skip to content

Commit

Permalink
archlinux: fix permission issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sylirre committed Jan 5, 2025
1 parent f32d846 commit a4218dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distro-build/archlinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ bootstrap_distribution() {
"${WORKDIR}/archlinux-bootstrap/etc/pacman.d/mirrorlist"
chroot "${WORKDIR}/archlinux-bootstrap" pacstrap -K /archlinux-i686 base
EOF
mv archlinux-bootstrap/archlinux-x86_64 ./
mv archlinux-bootstrap/archlinux-i686 ./
sudo mv archlinux-bootstrap/archlinux-x86_64 ./
sudo mv archlinux-bootstrap/archlinux-i686 ./

for arch in i686 x86_64; do
sudo rm -f "${WORKDIR:?}/archlinux-bootstrap/archlinux-${arch}"/var/cache/pacman/pkg/* || true
Expand Down

0 comments on commit a4218dc

Please sign in to comment.