Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 24, 2020. It is now read-only.

Conversation

@krnowak
Copy link
Collaborator

@krnowak krnowak commented Feb 3, 2016

No description provided.

CHANGELOG.md Outdated
Copy link
Member

Choose a reason for hiding this comment

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

of the

@iaguis iaguis added this to the v1.0.0 milestone Feb 3, 2016
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to test that the rkt group exists? I guess it is not necessary since we have set -e above. Does set -e persist across function calls?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think so, the whole point is to prepare the directory structure for rkt group, otherwise rkt will happily create required directories on first run.

set -e is global here.

@krnowak krnowak force-pushed the krnowak/remove-install branch from 9af22a0 to caad3e2 Compare February 3, 2016 17:39
@krnowak
Copy link
Collaborator Author

krnowak commented Feb 3, 2016

Updated.

Copy link
Member

Choose a reason for hiding this comment

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

keep in sync with dist/init/systemd/tmpfiles.d/rkt.conf?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added.

The group package looks up given group name. It is moved to a separate
package, so we don't have to include the github.com/coreos/rkt/common
package it in github.com/coreos/rkt/tests/testutils. Importing it
there ended up in errors when building the inspect binary, which is
importing testutils. common package was importing indirectly some
other package, which requires cgo, but cgo was disabled when building
inspect.
@krnowak krnowak force-pushed the krnowak/remove-install branch from caad3e2 to 0d30539 Compare February 3, 2016 18:31
@krnowak
Copy link
Collaborator Author

krnowak commented Feb 3, 2016

Updated, moving the group handling to separate package, so we won't error out because of trying to build a package that uses cgo with CGO_ENABLED=0.

@alban
Copy link
Member

alban commented Feb 3, 2016

LGTM

alban added a commit that referenced this pull request Feb 3, 2016
Remove install command, replace with a script
@alban alban merged commit 514f285 into rkt:master Feb 3, 2016
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be in dist/ ?

Copy link
Member

Choose a reason for hiding this comment

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

Right.

#2106

alban added a commit to kinvolk/rkt that referenced this pull request Feb 3, 2016
Move setup-data-dir.sh in dist/scripts/ so it will be in the release
tarball.

It was introduced by rkt#2101
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants