How to assemble Pre defined arch distrobox with aur packages?

Posted this in containers as i thought it fit better there but saw distrobox questions are usually asked here and the rules in containers actually say not to post about distrobox so posting here Recently I been playing around with distrobox assemble and the distrobox.ini files you can use to define and set up a distrobox. I wondering how I could do this with my arch box with aur packages. The additional packages option would only install with pacman right? here is what i have so far
[arch]
image=quay.io/toolbx/arch-toolbox:latest
pull=true
entry=true
replace=true

# Enable Chaotic AUR repo
pre_init_hooks="sudo pacman-key --init"
pre_init_hooks="sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com"
pre_init_hooks="sudo pacman-key --lsign-key 3056513887B78AEB"
pre_init_hooks="sudo pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'"
pre_init_hooks="sudo pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'"
pre_init_hooks="echo -e '[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist' | sudo tee -a /etc/pacman.conf"
pre_init_hooks="sudo pacman -Syu --noconfirm"
additional_packages="bat base-devel eza fastfetch fish git headsetcontrol micro motivate speedtest++ paru"

# Now install AUR packages
#init_hooks="paru -S --noconfirm --needed --skipreview sm64ex-redrawn-git"
#init_hooks="paru -S --noconfirm --needed --skipreview soniccd-git"
#init_hooks="paru -S --noconfirm --needed --skipreview supermarioworld"
#init_hooks="paru -S --noconfirm --needed --skipreview headsetcontrol-notificationd-bash-git"
#init_hooks="paru -S --noconfirm --needed --skipreview headsetkontrol"
#init_hooks="paru -S --noconfirm --needed --skipreview mpf-check-bin
#init_hooks="paru -S --noconfirm --needed --skipreview ps3dec-git""
#init_hooks="paru -S --noconfirm --needed --skipreview ps3-disc-dumper"
#init_hooks="paru -S --noconfirm --needed --skipreview ps3iso-utils-git"
#init_hooks="paru -S --noconfirm --needed --skipreview ps3netsrv"
#init_hooks="paru -S --noconfirm --needed --skipreview redumper"
#init_hooks="paru -S --noconfirm --needed --skipreview rusty-psn-git"
#init_hooks="paru -S --noconfirm --needed --skipreview unscrambler"
#init_hooks="paru -S --noconfirm --needed --skipreview smb1r-bin"
#init_hooks="paru -S --noconfirm --needed --skipreview headsetcontrol-notificationd-bash-git headsetkontrol mpf-check-bin ps3dec-git ps3-disc-dumper ps3iso-utils-git ps3netsrv redumper rusty-psn-git sm64ex-redrawn-git soniccd-git supermarioworld unscrambler smb1r-bin"

#exported_apps="headsetkontrol ps3-disc-dumper rusty-psn-gui webos-dev-manager sm64coopdx sm64ex-nightly soniccd sonicmania SuperMarioWorld sm63redux sm64ex SMB1R"
#exported_bins="/usr/bin/MPF.Check /usr/bin/headsetcontrol-notificationd /usr/bin/motivate /usr/bin/redumper /usr/bin/unscrambler.out /usr/bin/PS3Dec /usr/bin/extractps3iso /usr/bin/makeps3iso /usr/bin/patchps3iso /usr/bin/splitps3iso /usr/bin/speedtest++ /usr/bin/ps3netsrv /usr/bin/headsetcontrol /usr/bin/paru "
[arch]
image=quay.io/toolbx/arch-toolbox:latest
pull=true
entry=true
replace=true

# Enable Chaotic AUR repo
pre_init_hooks="sudo pacman-key --init"
pre_init_hooks="sudo pacman-key --recv-key 3056513887B78AEB --keyserver keyserver.ubuntu.com"
pre_init_hooks="sudo pacman-key --lsign-key 3056513887B78AEB"
pre_init_hooks="sudo pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-keyring.pkg.tar.zst'"
pre_init_hooks="sudo pacman -U --noconfirm 'https://cdn-mirror.chaotic.cx/chaotic-aur/chaotic-mirrorlist.pkg.tar.zst'"
pre_init_hooks="echo -e '[chaotic-aur]\nInclude = /etc/pacman.d/chaotic-mirrorlist' | sudo tee -a /etc/pacman.conf"
pre_init_hooks="sudo pacman -Syu --noconfirm"
additional_packages="bat base-devel eza fastfetch fish git headsetcontrol micro motivate speedtest++ paru"

# Now install AUR packages
#init_hooks="paru -S --noconfirm --needed --skipreview sm64ex-redrawn-git"
#init_hooks="paru -S --noconfirm --needed --skipreview soniccd-git"
#init_hooks="paru -S --noconfirm --needed --skipreview supermarioworld"
#init_hooks="paru -S --noconfirm --needed --skipreview headsetcontrol-notificationd-bash-git"
#init_hooks="paru -S --noconfirm --needed --skipreview headsetkontrol"
#init_hooks="paru -S --noconfirm --needed --skipreview mpf-check-bin
#init_hooks="paru -S --noconfirm --needed --skipreview ps3dec-git""
#init_hooks="paru -S --noconfirm --needed --skipreview ps3-disc-dumper"
#init_hooks="paru -S --noconfirm --needed --skipreview ps3iso-utils-git"
#init_hooks="paru -S --noconfirm --needed --skipreview ps3netsrv"
#init_hooks="paru -S --noconfirm --needed --skipreview redumper"
#init_hooks="paru -S --noconfirm --needed --skipreview rusty-psn-git"
#init_hooks="paru -S --noconfirm --needed --skipreview unscrambler"
#init_hooks="paru -S --noconfirm --needed --skipreview smb1r-bin"
#init_hooks="paru -S --noconfirm --needed --skipreview headsetcontrol-notificationd-bash-git headsetkontrol mpf-check-bin ps3dec-git ps3-disc-dumper ps3iso-utils-git ps3netsrv redumper rusty-psn-git sm64ex-redrawn-git soniccd-git supermarioworld unscrambler smb1r-bin"

#exported_apps="headsetkontrol ps3-disc-dumper rusty-psn-gui webos-dev-manager sm64coopdx sm64ex-nightly soniccd sonicmania SuperMarioWorld sm63redux sm64ex SMB1R"
#exported_bins="/usr/bin/MPF.Check /usr/bin/headsetcontrol-notificationd /usr/bin/motivate /usr/bin/redumper /usr/bin/unscrambler.out /usr/bin/PS3Dec /usr/bin/extractps3iso /usr/bin/makeps3iso /usr/bin/patchps3iso /usr/bin/splitps3iso /usr/bin/speedtest++ /usr/bin/ps3netsrv /usr/bin/headsetcontrol /usr/bin/paru "
it currently fails at the aur packages instalation if i un commet those. manually installing the aur packages after the fact with
distrobox enter arch -- paru -S --noconfirm --needed --skipreview headsetcontrol-notificationd-bash-git headsetkontrol mpf-check-bin ps3dec-git ps3-disc-dumper ps3iso-utils-git ps3netsrv redumper rusty-psn-git sm64ex-redrawn-git soniccd-git supermarioworld unscrambler smb1r-bin
distrobox enter arch -- paru -S --noconfirm --needed --skipreview headsetcontrol-notificationd-bash-git headsetkontrol mpf-check-bin ps3dec-git ps3-disc-dumper ps3iso-utils-git ps3netsrv redumper rusty-psn-git sm64ex-redrawn-git soniccd-git supermarioworld unscrambler smb1r-bin
works fine so i know its not a problem of one of the packages failing to build or something
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?