Skip to content

Download and extract and extract fails in numerous ways #48

@georgedorn

Description

@georgedorn

None of this seems to work for Resolve 19.1.1 anymore, for a couple reasons:

  • the path the download script is trying to interact with has changed.
  • even if it does get the file, it can't run it for some reason.

Here's the workaround that, after a bunch of flailing (because I am totally new to flatpak-builder), got a flatpak built that actually contained "/app/resolve" or whatever:

  • Download Resolve manually.
  • Unzip the zip you just downloaded.
  • Run the first bit of the setup_resolve.sh script outside of the build process: ./DaVinci_Resolve_19.1.1_Linux.run --appimage-extract - this creates the squashfs-root folder that doesn't show up otherwise.
  • zip squashfs-root into squashfs-root.zip: zip -r squashfs-root.zip squashfs-root/
  • Edit com.blackmagic.Resolve.yaml to unarchive the zip you just made into the build chroot. Add this to the top of the sources: section:
    sources:
      - type: archive
        path: squashfs-root.zip
        dest: squashfs-root

Running the build process still executes a bunch of scripts that fail, but it doesn't matter so long as you don't get a long string of errors about not being able to find squashfs-root.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions