-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fork https://github.com/abitrolly/podman #3772
fork https://github.com/abitrolly/podman #3772
Conversation
af3ac12
to
1530b17
Compare
@haircommander git validation is not your friend here |
1530b17
to
8d04c80
Compare
🤞 |
contrib/snapcraft/README.md
Outdated
<br /> | ||
</h1> | ||
|
||
<p align="center"><b>This is the snap for <a href="https://podman.io/">podman</a></b>, <i>“Managing Pods, Containers, and Container Images in Multiple Formats (Docker, OCI, ...).”</i>. It works on Ubuntu, Fedora, Debian, and other major Linux |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we mention RHEL and/or SUSE here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes Suse, RHEL, Centos ...
LGTM |
@TomSweeneyRedHat as far as I can tell, this is a WIP. @abitrolly is that correct? |
Yes, it is a WIP. It might even require some hacks on When building with a very old version of |
Hi @abitrolly, most of the bugs you're experiencing were fixed in snapcraft 3.o or later. When building the snap make to follow these steps for prep. Prepsudo snap install snapcraft --classic |
@mikeroyal I run |
We need @mikeroyal @abitrolly @lsm5 @jnovy To approve this PR. since I have no knowlege of how Snap works. Can we merge this into libpod and then automatically get snaps to build and be installable on Ubuntu and Debian distros? |
source: https://github.com/containers/libpod/archive/v0.11.1.1.tar.gz | ||
go-importpath: github.com/containers/libpod | ||
build-packages: | ||
# https://github.com/containers/libpod/blob/master/install.md#build-and-run-dependencies |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Used this snapcraft.yaml to build it:
# snapcraft --debug
...
The 'podman' part is missing libraries that are not included in the snap or base. They can be satisfied by adding the following entry for this part
stage-packages:
- libarchive13
- libassuan0
- libgpgme11
- libicu60
- libostree-1-1
- libsoup2.4-1
- libxml2
'grade' property not specified: defaulting to 'stable'
Snapping 'podman' /
Snapped podman_0.11.1.1_amd64.snap
# ls -l
total 28640
-rw-r--r--. 1 root root 29323264 Aug 12 15:28 podman_0.11.1.1_amd64.snap
-rw-r--r--. 1 root root 1134 Aug 12 15:24 snapcraft.yaml
Should we add the stage-packages entry there as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jnovy most likely podman
snap won't work without them if you install and try the snap.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @jnovy,
The 'stage-packages:' should be placed right below the 'build-packages:'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the missing stage-packages to snapcraft.yaml.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for adding that @jnovy , I squashed the commits to fix the validate problem :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm now - @mheon - Could you merge this please?
by forking https://github.com/abitrolly/podman Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Signed-off-by: Jindrich Novy <jnovy@redhat.com>
43e3b74
to
e9365c1
Compare
PTAL @mikeroyal @abitrolly |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: haircommander, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
LGTM, but would like a mheon head nod. |
/lgtm |
per conversation in #1915
Signed-off-by: Peter Hunt pehunt@redhat.com