mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-13 02:38:57 -05:00
portageq — excluding all repositories, not just ::gentoo
This commit is contained in:
parent
1c128276bf
commit
7fe3a53d7e
1 changed files with 4 additions and 1 deletions
|
@ -212,7 +212,10 @@ then
|
|||
EXCLUDES+=("--exclude=$(realpath "$STAGE4_FILENAME")")
|
||||
if ((HAS_PORTAGEQ))
|
||||
then
|
||||
EXCLUDES+=("--exclude=$(portageq get_repo_path / gentoo)/*")
|
||||
PORTAGEQ_REPOS=$(portageq get_repos /)
|
||||
for i in ${PORTAGEQ_REPOS[@]}; do
|
||||
EXCLUDES+=("--exclude=$(portageq get_repo_path / ${i})/*")
|
||||
done
|
||||
EXCLUDES+=("--exclude=$(portageq distdir)/*")
|
||||
else
|
||||
EXCLUDES+=("${EXCLUDES_DEFAULT_PORTAGE[@]}")
|
||||
|
|
Loading…
Reference in a new issue