Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

testutil/pkgdata: Create deb programatically #42

Merged
merged 1 commit into from
Jan 24, 2023

Commits on Jan 11, 2023

  1. testutil/pkgdata: Create deb programatically

    Currently we only test with base-files deb which is embedded as base64
    encoded binary in testutil/pkgdata.go. If we want to change the contents
    of the data files, we have to un-ar it, un-tar it, change the data
    files, tar it and ar it. Furthermore, these operations modify attributes
    based on the workstation on which this process is run. So we end up with
    arbitrary user/group ids/names names and dates.
    
    Fix it by creating debs programatically. The new interface provides way
    to create debs with arbitrary content of data tarball.
    woky committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    a3315e3 View commit details
    Browse the repository at this point in the history