Skip to content
Discussion options

You must be logged in to vote

You can add custom apt repository by modifying files under /etc/apt e.g.:

  - action: run
    description: Add custom apt sources
    command: echo "deb http://site.example.com/debian distribution component1 component2 component3" >> ${ROOTDIR}/etc/apt/sources.list

You can also use overlay actions to add new files into e.g. /etc/apt/sources.list.d as appropriate. Hope that helps.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by daissi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #396 on October 09, 2025 07:00.