Where does the $CRAFT_INSTALL_PARTS go? Just disappeared?

I used:

snapcraft prime --trace --debug

I was doing things right as I debugged them. I saw them extracting… Where did they go?

When I get inside the shell, everything I put into parts install directory had been “cleaned up”??? Where did it go??

Is your snap based on core22?

Do you see the content you are looking after when inspecting right after the build stage? snapcraft build --shell-after

Yes core22. Why would I go backwards?

It was --shell and not --shell-after and never used the word build.

If you run snapcraft build --shell-after it will execute the build step and then run a shell inside the build instance so you can inspect the filesystem.

1 Like