File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,20 +44,34 @@ parts:
4444 source :
4545 - on amd64 : out/make/deb/x64/swach_${SNAP_VERSION}_amd64.deb
4646 - on arm64 : out/make/deb/arm64/swach_${SNAP_VERSION}_arm64.deb
47+ override-stage : |
48+ craftctl default
49+ echo "=== DEBUG: Contents after stage in $CRAFT_STAGE ==="
50+ ls -laR $CRAFT_STAGE/bin/ || echo "bin/ does not exist"
51+ echo "=== Looking for Swach ==="
52+ find $CRAFT_STAGE -name "*Swach*" -o -name "*swach*" | head -20
53+ echo "=== Contents of usr/lib/swach ==="
54+ ls -la $CRAFT_STAGE/usr/lib/swach/ || echo "usr/lib/swach does not exist"
4755 organize :
48- usr/bin/swach : bin/Swach
49- stage :
50- - bin/Swach
51- - usr/lib/swach/*
52- - usr/share/*
56+ usr/lib/swach/Swach : bin/Swach
5357 prime :
5458 - bin/Swach
5559 - usr/lib/swach/*
5660 - usr/share/*
5761 override-prime : |
5862 craftctl default
63+ echo "=== DEBUG: Prime directory after craftctl default ==="
64+ echo "Working directory: $(pwd)"
65+ echo "Contents of bin/:"
66+ ls -la bin/ || echo "bin/ does not exist"
67+ echo "Contents of usr/lib/swach/:"
68+ ls -la usr/lib/swach/ || echo "usr/lib/swach/ does not exist"
69+ echo "=== Looking for Swach anywhere ==="
70+ find . -name "*Swach*" -o -name "*swach*" | grep -i swach | head -20
5971 # Fix chrome-sandbox permissions - remove setuid bit
60- chmod 755 usr/lib/swach/chrome-sandbox
72+ if [ -f usr/lib/swach/chrome-sandbox ]; then
73+ chmod 755 usr/lib/swach/chrome-sandbox
74+ fi
6175 stage-packages :
6276 - libasound2
6377 - libatk-bridge2.0-0
You can’t perform that action at this time.
0 commit comments