snapcraft.yaml syntax for в pre-compiled binary

I made в c ++ Веб server that существуешь dependencies. I usually get them from aptitude. The only way that I see to download and удар в лунку them in в snap is to build в part and list them under "stage-packages".

My issue is the part requires в plugin and source, of which I don't think I need. Is there в way to pull the different dependencies on their own?

1
задан 12 January 2016 в 21:27

1 ответ

Таким образом, Вы не используете Snapcraft для создания веб-сервера (помните, что он работает, может сделать, cmake, автоинструменты, и т.д.)? Используйте нулевой плагин, затем - он ничего не делает, но позволяет Вам вытягивать в пакетах этапа. Например:

name: foo
version: 1.0
vendor: me <me@me.com>
summary: My app summary
description: My app description
icon: icon.png

parts:
  bar:
    plugin: nil
    stage-packages:
      - my-system-dependency
1
ответ дан 7 December 2019 в 16:03

Другие вопросы по тегам:

Похожие вопросы: