mirror of
https://github.com/fsquillace/junest.git
synced 2026-01-23 10:35:36 +00:00
Ignore the arch for compiling proot by using -A option
This commit is contained in:
parent
a3fb0c53a1
commit
edc3c8f64e
1 changed files with 1 additions and 3 deletions
|
|
@ -238,9 +238,7 @@ function build_image_juju(){
|
|||
info "Compiling and installing proot..."
|
||||
builtin cd ${maindir}/packages/proot
|
||||
$WGET https://aur.archlinux.org/packages/pr/proot/PKGBUILD
|
||||
sed "s/arch=\(.*\)/arch=('any')/" PKGBUILD > PKGBUILD.1
|
||||
mv PKGBUILD.1 PKGBUILD
|
||||
makepkg -sfc --asroot
|
||||
makepkg -sfcA --asroot
|
||||
pacman --noconfirm --root ${maindir}/root -U proot*.pkg.tar.xz
|
||||
|
||||
rm ${maindir}/root/var/cache/pacman/pkg/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue