Hey guys,
I tried now to prepare the yaml file with different architectures for 2 systems, like amd64 and armhf , I have read in the docs about on else, try else, how it to use? I have google but I have not really found any information about that for the correct way.
can someone help me?
on amd64: [amdn,javaamd]
else: [armhf,java]
like for an example yaml, see below my example, how to insert that above snippet in this yaml?
name: multisnap
version: 1
summary: multisnap
description: multisnap
confinement: strict
grade: devel
architectures: [armhf,amd64]
apps:
multisnap:
command: install/test
parts:
multisnap:
source: install/
plugin: dump
organize:
‘’ : install/
armhf:
source: copythisonarmhf
plugin: dump
organize:
'’ : usr/lib/
amdn:
source: copyonamd
plugin: dump
organize:
‘’ : usr/lib
java:
source: armhfjava
plugin: dump
organize:
'’ : usr/lib/jvm/default-java/
javaamd:
plugin: java