~curtin-dev/curtin/trunk

  • Committer: Ryan Harper
  • Author(s): Scott Moser
  • Date: 2017-12-08 17:54:51 UTC
  • mfrom: (548.1.3 trunk.snap-curtin-helpers)
  • Revision ID: ryan.harper@canonical.com-20171208175451-viw6eoztqlcwbmbw
pack: fix packing when curtin is installed inside a snap.

When curtin is installed as part of a MAAS snap, then it would fail
to find its helpers directory. That is because instead of helpers
living in usr/lib/curtin/helpers they will be in
 /snap/maas/<version>/usr/lib/curtin/helpers
But helpfully, SNAP will be set in the environment to point to
 /snap/maas/<version>/

The fix is to adjust pack to trust the environment variable
and pack up the installed files based on that prefix.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 7 10 years ago Scott Moser initial stub multi-command Diff
curtin 7 10 years ago Scott Moser initial stub multi-command Diff
debian 9 10 years ago Scott Moser add initial packaging Diff
doc 2 11 years ago Scott Moser very rough initial doc using sphynx. Diff
examples 45 10 years ago Scott Moser add examples dir Diff
helpers 25 10 years ago Scott Moser block-meta simple now partitions with 'partition' Diff
tests 8 10 years ago Scott Moser make test (with 1 test) Diff
tools 8 10 years ago Scott Moser make test (with 1 test) Diff
.bzrignore 368 8 years ago Ryan Harper Enable python coverage for unittests make check 33 bytes Diff Download File
LICENSE 6 10 years ago Scott Moser add LICENSE file 33.7 KB Diff Download File
Makefile 488.1.9 7 years ago Chad Smith separate doc-deps into new target. Collapse depend 1.3 KB Diff Download File
README 1 11 years ago Scott Moser initial README 163 bytes Diff Download File
requirements.txt 380.4.1 8 years ago Scott Moser fix dependencies This fixes up dependencies to be 16 bytes Diff Download File
setup.py 529.1.1 6 years ago Scott Moser setup.py: fix to allow installation into a virtual 1020 bytes Diff Download File
test-requirements.txt 526.3.5 6 years ago Ryan Harper Drop systemd-python from test-requirement; tested 28 bytes Diff Download File
tox.ini 549.1.1 6 years ago Scott Moser tox: move to pylint 1.7.4 Update the pylint versi 2.8 KB Diff Download File