Skip to content

Commit

Permalink
snapcraft: use SNAPCRAFT_PRIME instead of CRAFT_PRIME
Browse files Browse the repository at this point in the history
Fixup for the previous commit.

Signed-off-by: Alexander Mikhalitsyn <[email protected]>
  • Loading branch information
mihalicyn committed Jun 13, 2024
1 parent e608f45 commit 3663a5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1559,7 +1559,7 @@ parts:
-not -path "${SNAPCRAFT_PRIME}/bin/sshfs" \
-not -path "${SNAPCRAFT_PRIME}/bin/upgrade-bridge" \
-not -path "${SNAPCRAFT_PRIME}/bin/xfs_admin" \
-not -path "${CRAFT_PRIME}/bin/lxcfs" \
-not -path "${SNAPCRAFT_PRIME}/bin/lxcfs" \
-exec strip -s {} +
# Strip binaries not under bin/ due to being dynamically
Expand All @@ -1578,7 +1578,7 @@ parts:
# Strip libraries (excluding python3 scripts and liblxcfs)
find "${SNAPCRAFT_PRIME}"/lib -type f \
-not -path "${SNAPCRAFT_PRIME}/lib/python3/*" \
-not -path "${CRAFT_PRIME}/lib/liblxcfs.so" \
-not -path "${SNAPCRAFT_PRIME}/lib/liblxcfs.so" \
-exec strip -s {} +
# XXX: look for broken symlinks indicating missing/invalid prime
Expand Down

0 comments on commit 3663a5a

Please sign in to comment.