Skip to content
Snippets Groups Projects

Draft: Export the APT metadata

4 unresolved threads

On Apertis side the information about the used APT snapshots is exported to the metadata file created during image pipeline execution. This approach works fine on Apertis side and a simple post processing can be implemented to extract the information about the used APT snapshots. The same approach fits the downstream distribution Apertis pro. But the product teams using Apertis pro do not follow or do only follow partially this approach. Additionally, these product teams have a more complex APT repository structure and therefore the mentioned approach is not suitable. To ease the overall approach to collect the used APT snapshots, especially for complex APT repository structures, the proposed solution is to export the APT source list(s). Beside this, it make sense to export the APT pinning information (APT preferences). These files can be used for simple post processing as well.

Signed-off-by: Tino Lippold tino.lippold@de.bosch.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
238 238 script: scripts/setup_image_version.sh '{{ $timestamp }}' '{{ $type }}'
239 239
240 240 {{- if eq $pack "true" }}
241 - action: run
242 description: "Save APT metadata"
243 chroot: false
244 command: tar -cvzf "${ARTIFACTDIR}/{{ $ospack }}.apt-metadata.tgz" -C "${ROOTDIR}/etc/apt/" preferences.d/ sources.list sources.list.d/ 2>/dev/null
  • Just to have @em in the loop as he might have valid feedback.

  • Walter Lozano requested review from @wlozano

    requested review from @wlozano

  • Please register or sign in to reply
    Loading