Skip to content

Suporte AUR como configurar #16

Description

@mxnt10

Estoou usando o exemplo do steam para criar um runimage. Mas, como eu ativo o suporte ao AUR para compilar o pacote que eu preciso?

#!/usr/bin/env bash
set -e

# An example of steam packaging in a RunImage container

if [ ! -x 'runimage' ]
    then
        echo '== download base RunImage'
        curl -o runimage -L "https://github.com/VHSgunzo/runimage/releases/download/continuous/runimage-$(uname -m)"
        chmod +x runimage
fi

run_install() {
    set -e

    INSTALL_PKGS=(
        staticx
    )

    echo '== checking for updates'
    rim-update

    echo '== install packages'
    pac --needed --noconfirm -S "${INSTALL_PKGS[@]}"

    echo '== shrink (optionally)'
    rim-shrink --all

    echo '== create RunImage config for app (optionally)'
    echo \
'RIM_NO_NVIDIA_CHECK=1
RIM_NO_32BIT_NVLIBS_CHECK=1
RIM_CMPRS_LVL="${RIM_CMPRS_LVL:=22}"
RIM_CMPRS_BSIZE="${RIM_CMPRS_BSIZE:=24}"
RIM_SHRINK_ALL=1' \
> "$RUNDIR/config/staticx.rcfg"

    echo '== Build new DwarFS runimage with zstd 22 lvl and 24 block size'
    rim-build -d -c 22 -b 24 staticx
}
export -f run_install

##########################

# enable OverlayFS mode, disable Nvidia driver check and run install steps
RIM_OVERFS_MODE=1 RIM_NO_NVIDIA_CHECK=1 \
./runimage bash -c run_install

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions