Gentoo emerge: use --autounmask-continue (auto-apply + continue)
--autounmask-write=y writes the unmask file but emerge still aborts because CONFIG_PROTECT marks the file as needing manual review. --autounmask-continue=y is the right flag — it writes the unmask AND continues the merge without aborting. Discovered via the 'Autounmask changes successfully written.' message followed by an immediate abort. The error message about 'autounmask-write' was actually about re-running with that flag, not about what happened. Applied to all three emerge invocations (main + GURU + sway).
This commit is contained in:
parent
0460a8c653
commit
a4434a1f01
2 changed files with 9 additions and 3 deletions
|
|
@ -71,7 +71,7 @@ if (( ${#MISSING_PKGS[@]} > 0 )); then
|
|||
log "missing: ${MISSING_PKGS[*]}"
|
||||
log "emerge sway stack (gentoo compiles from source; this may take a while)"
|
||||
sudo emerge --ask=n --nospinner --quiet-build --keep-going \
|
||||
--with-bdeps=y --autounmask=y --autounmask-write=y --autounmask-license=y \
|
||||
--with-bdeps=y --autounmask-continue=y --autounmask-license=y \
|
||||
"${MISSING_PKGS[@]}"
|
||||
else
|
||||
log "all sway packages already installed; skipping emerge"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue