Gentoo: add --autounmask=y to handle ~amd64 keyword unmask
lazygit and most GURU packages are ~amd64 only. Without --autounmask=y, emerge fails with: =dev-vcs/lazygit-0.62.2 ~amd64 required. Applied to run_once_20-install-user-packages-gentoo.sh.tmpl and run_once_40-install-sway-gentoo.sh.tmpl.
This commit is contained in:
parent
03338d1f39
commit
598ad9dfae
2 changed files with 5 additions and 2 deletions
|
|
@ -139,8 +139,11 @@ if (( ${#MISSING_PKGS[@]} > 0 )); then
|
|||
# --quiet-build: only show errors during compile
|
||||
# --keep-going: don't abort if one package fails
|
||||
# --with-bdeps=y: include build deps so we don't accidentally skip them
|
||||
# --autounmask=y: auto-write ~amd64 keyword unmask files (lazygit
|
||||
# is ~amd64 only)
|
||||
# --autounmask-license=y: auto-accept license unmask
|
||||
sudo emerge --ask=n --nospinner --quiet-build --keep-going \
|
||||
--with-bdeps=y --autounmask-license=y \
|
||||
--with-bdeps=y --autounmask=y --autounmask-license=y \
|
||||
"${MISSING_PKGS[@]}"
|
||||
else
|
||||
log "all user packages already installed; skipping emerge"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue