Skip to content

Commit

Permalink
Setting some APT sources.list options to the localy created repository.
Browse files Browse the repository at this point in the history
This can then later be leveraged, for example, through a config file
such as /etc/apt/preferences.d/99-perfsonar-jq containing:

```
Package: jq libjq1
Pin: release unibuild-snapshot
Pin-Priority: 895
```

⚧
  • Loading branch information
laeti-tia committed Jun 25, 2024
1 parent c9a49c5 commit b5ff2ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ unibuild-work
*/unibuild-work

*~
.DS_Store
4 changes: 2 additions & 2 deletions unibuild/unibuild/libexec/commands/gather
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,10 @@ case "${OSINFO_PACKAGING}" in
;;

deb)
# This can later be used with the simple APT setup below:
# This can later be used with the simple APT source.list setup below:
# deb [trusted=yes] file:/full/path/to/local/unibuild-repo ./
(cd "${REPO}" && apt-ftparchive packages . > Packages)
(cd "${REPO}" && apt-ftparchive release . > Release)
(cd "${REPO}" && apt-ftparchive -o APT::FTPArchive::Release::Origin=Unibuild -o APT::FTPArchive::Release::Suite=unibuild-snapshot -o APT::FTPArchive::Release::Codename=unibuild release . > Release)
;;

*)
Expand Down

0 comments on commit b5ff2ee

Please sign in to comment.