Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
cmd: rework reexec detection #3608
Conversation
mvo5
added some commits
Jul 20, 2017
codecov-io
commented
Jul 20, 2017
•
Codecov Report
@@ Coverage Diff @@
## master #3608 +/- ##
==========================================
- Coverage 74.9% 74.88% -0.03%
==========================================
Files 380 380
Lines 32952 32961 +9
==========================================
Hits 24682 24682
- Misses 6477 6485 +8
- Partials 1793 1794 +1
Continue to review full report at Codecov.
|
mvo5
added some commits
Jul 20, 2017
zyga
merged commit fa7cae5
into
snapcore:master
Jul 20, 2017
7 checks passed
artful-amd64
autopkgtest finished (success)
Details
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
xenial-amd64
autopkgtest finished (success)
Details
xenial-i386
autopkgtest finished (success)
Details
xenial-ppc64el
autopkgtest finished (success)
Details
yakkety-amd64
autopkgtest finished (success)
Details
zesty-amd64
autopkgtest finished (success)
Details
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
mvo5 commentedJul 20, 2017
This reworked the detection if we already re-execed or not. The logic is simply to check if the /proc/self/exe points inside the /snap/* directory. If that is the case we did already re-exec and there is no need to do anything further.
This also contains the bugfix when re-execing from snapd 2.21 which used to set
SNAP_REEXEC=0.