Cannot create directory ‘/bin/tracefile/’: Permission denied

This part fails to build for seemingly no reason…

parts:
  tracefile:
    plugin: dump
    source: tracefile/
    install: |
      mkdir --parents $SNAP_PART_INSTALL/bin/tracefile/
      mv tracefile.perl $SNAP_PART_INSTALL/bin/tracefile/tracefile.perl
    stage-packages:
      - perl

you’re using an incorrect replacement name. The “variable” for installation directory is $SNAPCRAFT_PART_INSTALL

1 Like

you want $SNAPCRAFT_PART_INSTALL … not $SNAP_PART_INSTALL

I’m tired -_- thank you

1 Like

Free hugs for sleepy heads if they want them :smiley: Support your insomniacs, people!

2 Likes