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

Explain how to use under jhbuild #367

Closed
hadess opened this issue Oct 23, 2016 · 1 comment
Closed

Explain how to use under jhbuild #367

hadess opened this issue Oct 23, 2016 · 1 comment

Comments

@hadess
Copy link
Contributor

hadess commented Oct 23, 2016

flatpak master currently uses an unreleased ostree, which means it's a better idea than ever to run a locally compiled version in a separate tree.

However, because of the integration with polkit and d-bus activation, it means that the system version will often be activated instead of the jhbuilt one.

$ jhbuild run flatpak remote-add --gpg-import=gnome-sdk.gpg gnome https://sdk.gnome.org/repo/
<password prompt>
$ jhbuild run flatpak remote-add --gpg-import=gnome-sdk.gpg gnome-apps https://sdk.gnome.org/repo-apps/
<password prompt>
$ jhbuild run flatpak install gnome org.gnome.Platform 3.20
error: Remote "gnome" not found

Building with --disable-system-helper doesn't help either, as flatpak helpers for the session and system are still running.

It would be nice to be able to install "system-wide" in the jhbuild install tree, without disturbing the system installation, so that new features can be tested, especially the ones related to building flatpaks.

@alexlarsson
Copy link
Member

--disable-system-helper now makes it not use another system-helper either.

gnomesysadmins pushed a commit to GNOME/jhbuild that referenced this issue Oct 24, 2016
…sion

This will allow us to test flatpak itself, with separate runtimes from
the real system installation, without password prompts.

This also disables sudo usage during installation, to avoid prompting
for passwords when using jhbuild. Note that this will need to be
overridden for distributions without user namespaces support.

See flatpak/flatpak#367
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