Skip to content

test: Set up atomic /var/lib path #16

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

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

marusak
Copy link
Member

@marusak marusak commented Jul 9, 2019

This is workaround for projectatomic/atomic#1258

@marusak marusak requested a review from martinpitt July 9, 2019 10:32
test/vm.install Outdated
@@ -2,6 +2,9 @@
# image-customize script to install cockpit/ws container and the locally built RPM
set -eux

# HACK: https://github.com/projectatomic/atomic/issues/1258
export ATOMIC_VAR_LIB=/var/lib/containers/atomic
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's guard this with if [ "$1" = fedora-atomic ], as {rhel,continuous}-atomic don't have that bug and get broken by this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this script is called without any arguments so $1 is not defined. mkdir -p /var/lib/atomic had to do.

Copy link
Member

@martinpitt martinpitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@martinpitt martinpitt merged commit 0cdb0be into cockpit-project:master Jul 9, 2019
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.

2 participants