Skip to content
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

Support for Gentoo Prefix? #62

Open
awesomebytes opened this issue Nov 24, 2018 · 4 comments
Open

Support for Gentoo Prefix? #62

awesomebytes opened this issue Nov 24, 2018 · 4 comments

Comments

@awesomebytes
Copy link

Hello,

Given you've built the infrastructure already, and you have the expertise I'd like to ask you if making an image (or images actually) of a Gentoo Prefix bootstrapped would be possible.

I have two motivations to ask for this:

  1. Given all the image flavours you already offer, it would be great to also support that one.
  2. Be able to provide an out-of-the-box working Gentoo Prefix installation. Let me expand on this.

The goal of Gentoo Prefix (as can be read in the article of use cases) is to allow people to have a 'full OS with package manager' in any folder without root permissions needed. This is great! My personal use-case is deploy on robots with ancient systems and also in computing farm machines without a user that has privileges.

To make my workflow as re-usable as possible I found the trick of bootstrapping Gentoo Prefix in /tmp/gentoo. This is great cause /tmp/ is generally writable by anyone. And one can extract a full Gentoo Prefix system in any folder and just symlink to /tmp/gentoo. Then you can use it as normal.

Having a Docker image that builds continuously has the added benefit to, well, keep track that it does not break. And anyone can pull the image and either mount the Docker /tmp/gentoo in the system /tmp/gentoo, or copy it to deploy it in any machine directly (I have machines that can't have Docker).

If I could request it, I'd love a x86_64 and a i686 image of Gentoo Prefix.

(Kinda offtopic) I'm currently fighting myself to make it work, but no luck. x86_64 is not building. And i686 fails even earlier cause I haven't figured out how to generate it from a x86_64 machine.

@awesomebytes
Copy link
Author

I've started a thread with the people from Gentoo Prefix about this:

https://archives.gentoo.org/gentoo-alt/message/272fb0738ea63808e21884e78a098f9e

I don't know how to offer a more full-email-thread view of it, but there you can open the follow up answers. In my last answer I show a proof of concept setup I made.

@haubi
Copy link

haubi commented May 13, 2020

The Gentoo Prefix CI running on my company's MS Azure account does push docker images now:
docker search gentooprefix
However, IMHO it would make sense to integrate Prefix CI with Gentoo infra.

@awesomebytes
Copy link
Author

@haubi thanks for resurrecting this! I'll add that I also have CI building Prefix nightly at:

But having it integrated in Gentoo infrastructure would be ideal, indeed.

@haubi
Copy link

haubi commented May 13, 2020

For the links: Right now Gentoo Prefix CI is:
The bootstrap pipelines defined at https://github.com/haubi/gentoo-prefix-ci
are operated once a week at https://dev.azure.com/ssi-gentoo/prefix-ci/_build
Initially triggered by and based on @awesomebytes' work (thanks!), they now do build both RAP and Guest Prefix with both 32 and 64 bits for a bunch of Linux distros and releases, and also 64bit guest Prefix for Cygwin on Windows Server 2019.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants