Ebuild for Gentoo

18 views
Skip to first unread message

David...@sony.com

unread,
Jun 13, 2019, 9:03:06 PM6/13/19
to mini...@chromium.org, chut...@gentoo.org
Hi,

I'm planning on adding a Gentoo package for minijail based off the ebuild in the one included in chromiumos[1]:

https://gist.github.com/dcoles/1c24ad0fe41dbab9995254ec8cb3ca6a

Please let me know if you have any feedback or concerns before we upstream it.

1. https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/chromeos-base/minijail/minijail-9999.ebuild

Cheers,
David Coles
デイビッド·コールズ
CGEI - Sony Interactive Entertainment

Mike Frysinger

unread,
Jun 14, 2019, 9:55:45 AM6/14/19
to David...@sony.com, mini...@chromium.org, chut...@gentoo.org
that SRC_URI won't work due to a long standing bug in gitiles where the generated archives aren't stable.  i don't think there's a public bug about it, but you can see yourself by running wget a few times (with a 1sec delay).

the archive will have to be mirrored manually.
-mike

--
You received this message because you are subscribed to the Google Groups "minijail" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minijail+u...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/minijail/022CFA84330DA0458F65815255B5D68F1130D496%40USCULXMSG15.am.sony.com.

David...@sony.com

unread,
Jun 14, 2019, 6:12:06 PM6/14/19
to vap...@chromium.org, mini...@chromium.org, chut...@gentoo.org
> From Mike Frysinger

> that SRC_URI won't work due to a long standing bug in gitiles where the generated archives aren't stable. i don't think there's a public bug about it, but you can see yourself by running wget a > few times (with a 1sec delay).
>
> the archive will have to be mirrored manually.

That's unfortunate. Thanks for pointing it out though.

I'll ask for it to be added to the Gentoo mirrors and make sure we always pull from there (unless by chance the Linux releases are already mirrored on https://commondatastorage.googleapis.com/chromeos-localmirror ?).

Cheers,
David

Mike Frysinger

unread,
Jun 14, 2019, 6:17:12 PM6/14/19
to David...@sony.com, mini...@chromium.org, chut...@gentoo.org
On Fri, Jun 14, 2019 at 6:12 PM <David...@sony.com> wrote:
> > From Mike Frysinger
> > that SRC_URI won't work due to a long standing bug in gitiles where the generated archives aren't stable. i don't think there's a public bug about it, but you can see yourself by running wget a > few times (with a 1sec delay).
> >
> > the archive will have to be mirrored manually.
>
> That's unfortunate. Thanks for pointing it out though.
>
> I'll ask for it to be added to the Gentoo mirrors and make sure we always pull from there

unfortunately that is the only option atm. i was hoping minijail was
mirrored to github somewhere but doesn't look like it.

i see Android has https://github.com/aosp-mirror/, but it doesn't have
all repos. let me poke some people internally to see if we can get
minijail mirrored there.

> (unless by chance the Linux releases are already mirrored on https://commondatastorage.googleapis.com/chromeos-localmirror ?).

they are not. in CrOS, we build from the git repos directly rather
than specific tags/releases.
-mike

Mike Frysinger

unread,
Jun 18, 2019, 6:08:39 PM6/18/19
to David...@sony.com, mini...@chromium.org, chut...@gentoo.org
On Fri, Jun 14, 2019 at 6:16 PM Mike Frysinger wrote:
> unfortunately that is the only option atm. i was hoping minijail was
> mirrored to github somewhere but doesn't look like it.

thanks to Jorge we were able to get a mirror set up here:
https://github.com/google/minijail

with the v9 release here:
https://github.com/google/minijail/releases/tag/linux-v9

so you should be able to pull stable tarballs from there.

we'll see if we can't get the repo touched up a bit more ... there's a
crap ton of auto-generated tags (thanks Android) that we don't care
about.
-mike

David...@sony.com

unread,
Jun 18, 2019, 7:00:34 PM6/18/19
to vap...@chromium.org, mini...@chromium.org, chut...@gentoo.org
On Fri, Jun 14, 2019 at 6:16 PM Mike Frysinger wrote:
> thanks to Jorge we were able to get a mirror set up here:
> https://github.com/google/minijail

Awesome. Thank you very much for following up. That's great we can mirror from GitHub.

> we'll see if we can't get the repo touched up a bit more ... there's a
> crap ton of auto-generated tags (thanks Android) that we don't care
> about.

I did notice that. :) Took a bit of scrolling to find the Linux tags.

Cheers,
David

David...@sony.com

unread,
Jun 19, 2019, 5:45:40 PM6/19/19
to vap...@chromium.org, mini...@chromium.org, chut...@gentoo.org
Just a heads up - the ebuild has landed in the Gentoo repository:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9981dc903cb650313d13401a99c193be7a8cb4ee

Thanks again for your help.

Cheers,
David
Reply all
Reply to author
Forward
0 new messages