Hardware architecture for snaps
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.
snap architecture
add a comment |
I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.
snap architecture
add a comment |
I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.
snap architecture
I just published my first snap (mathjump) The package is build on an x86 system. Is there any way to upload different revisions under the same package name for other architectures. I'm assuming my x86 snap will not work properly on other architectures but maybe I'm wrong.
snap architecture
snap architecture
asked Aug 21 '16 at 19:35
ChrisChris
61
61
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:
Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.
Build your snap on the (freely available) Launchpad snap builders: submit the project containing your
snapcraft.yaml
to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.
Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.
add a comment |
In the
snapcraft.yaml
file you can add the line architectures: [all]
description: |
This is the description.
architectures: [all]
apps: ...
Your snap now will be created with the word all
in the end.
snapName_version_all.snap
This indicate that the snap itself can be installed on all the architectures. (Not sure about working).
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f815058%2fhardware-architecture-for-snaps%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:
Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.
Build your snap on the (freely available) Launchpad snap builders: submit the project containing your
snapcraft.yaml
to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.
Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.
add a comment |
Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:
Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.
Build your snap on the (freely available) Launchpad snap builders: submit the project containing your
snapcraft.yaml
to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.
Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.
add a comment |
Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:
Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.
Build your snap on the (freely available) Launchpad snap builders: submit the project containing your
snapcraft.yaml
to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.
Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.
Yes, you can upload packages for any of the architectures supported by the store (amd64, i386, armhf, arm64, even ppc64el and s390x if you want). The only requirement is that you must be able to actually build the snaps for those architectures (unless your snap is all shell script or similarly non-arch-specific). You can do that in a few different ways:
Build your snaps on a device (or emulated device with) the desired architecture. This really the only way if your snap is closed source and you want complete control of its build process.
Build your snap on the (freely available) Launchpad snap builders: submit the project containing your
snapcraft.yaml
to Launchpad and select which architectures you want to support, and it'll build (and even upload to the store) your snaps for you. You can read more about that here.
Either solution results in a snap you can submit to the store alongside the other revisions you already have uploaded that target other architectures. It'll get its own revision number, etc.
answered Aug 21 '16 at 20:13
KyleKyle
4,4171621
4,4171621
add a comment |
add a comment |
In the
snapcraft.yaml
file you can add the line architectures: [all]
description: |
This is the description.
architectures: [all]
apps: ...
Your snap now will be created with the word all
in the end.
snapName_version_all.snap
This indicate that the snap itself can be installed on all the architectures. (Not sure about working).
add a comment |
In the
snapcraft.yaml
file you can add the line architectures: [all]
description: |
This is the description.
architectures: [all]
apps: ...
Your snap now will be created with the word all
in the end.
snapName_version_all.snap
This indicate that the snap itself can be installed on all the architectures. (Not sure about working).
add a comment |
In the
snapcraft.yaml
file you can add the line architectures: [all]
description: |
This is the description.
architectures: [all]
apps: ...
Your snap now will be created with the word all
in the end.
snapName_version_all.snap
This indicate that the snap itself can be installed on all the architectures. (Not sure about working).
In the
snapcraft.yaml
file you can add the line architectures: [all]
description: |
This is the description.
architectures: [all]
apps: ...
Your snap now will be created with the word all
in the end.
snapName_version_all.snap
This indicate that the snap itself can be installed on all the architectures. (Not sure about working).
answered 2 days ago
guyguy
1014
1014
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f815058%2fhardware-architecture-for-snaps%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown