Skip to content

Feat/apt custom repos mode - #38

Open
fagianijunior wants to merge 2 commits into
mainfrom
feat/apt-custom-repos-mode
Open

Feat/apt custom repos mode#38
fagianijunior wants to merge 2 commits into
mainfrom
feat/apt-custom-repos-mode

Conversation

@fagianijunior

Copy link
Copy Markdown
Collaborator

Support three modes for custom repository placement:
On builder:22

  • append (default): custom repos after system repos
  • prepend: custom repos before system repos
  • custom-only: use only custom repos, exclude system sources

On builder:24, system repos live in sources.list.d/ using deb822 format
and sources.list is empty. Ensure append/prepend modes produce
distinct behavior:

  • prepend: custom repos in sources.list (read before sources.list.d/)
  • append: custom repos in sources.list.d/zzz-custom.list (read after
    system sources)
  • custom-only: only custom repos, sources.list.d/ is not copied

Support three modes for custom repository placement:
- append (default): custom repos after system repos
- prepend: custom repos before system repos
- custom-only: use only custom repos, exclude system sources

Fix sources.list.d/ leaking into custom-only mode and handle
Ubuntu 24.04 deb822 format where sources.list is empty and
system repos live in sources.list.d/ubuntu.sources.
Support three modes for custom repository placement:
- append (default): custom repos after system repos
- prepend: custom repos before system repos
- custom-only: use only custom repos, exclude system sources
@fagianijunior

Copy link
Copy Markdown
Collaborator Author

@maksimkurb @cezarsa I need a reviewer. Can any of you validate this addition? This implements the repository ordering in the sources.list file on builder:22 and builder:24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant