Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@klihub
Copy link
Contributor

@klihub klihub commented Feb 22, 2017

This patch set enables the generation of flatpak repositories for the images we build. These repositories can then be used to (flatpak-)build applications against the images and (flatpak-)install them to a device running flatpak-enabled images.

The meta-flatpak layer consists of

  1. flatpak and its dependencies (including OSTree)
  2. a proof-of-concept daemon which can be used as
  • a systemd generator during boot to set up 'flatpak sessions' for monitored flatpak repositories
  • a helper binary to launch flatpak applications belonging to a 'flatpak session'
  • a daemon to update flatpak applications, and restart them if needed
  1. a simple systemd service to set up a fake flatpak runtime using a bunch of bind-mounts
  2. bitbake recipes, scripts, etc. to automate the generation of flatpak repositories, signing keys, etc.

meta-flatpak (flatpak itself) has a hard requirement, one it cannot enforce, on a fedora-like merged / and /usr (the 'usrmerge' patches) and PAM (for automatically starting flatpak sessions). Hence, this PR contains a commit which points openembedded-core to a forked repository with the usrmerge patchset applied on the latest upstream HEAD (def3800 as of this writing).

Once the usrmerge patchset lands upstream, we'll point the openembedded-core submodule back to the upstream repo with another corresponding commit.

See meta-flatpak for a slightly more concise introduction of what flatpak support is all about and how you can test it.

@klihub klihub force-pushed the pr/meta-flatpak/initial branch 2 times, most recently from 64a2eb6 to 3787b2b Compare February 22, 2017 19:16
@klihub klihub force-pushed the pr/meta-flatpak/initial branch 8 times, most recently from 2e5ebe8 to 3ee8b93 Compare February 23, 2017 20:15
@okartau
Copy link
Contributor

okartau commented Feb 24, 2017

test this please

@klihub klihub force-pushed the pr/meta-flatpak/initial branch 8 times, most recently from 8dfcf5e to a5b9d03 Compare February 28, 2017 17:31
@klihub klihub force-pushed the pr/meta-flatpak/initial branch from a5b9d03 to 6b9cdf1 Compare March 9, 2017 09:26
@klihub klihub force-pushed the pr/meta-flatpak/initial branch from 6b9cdf1 to 30afa6d Compare March 21, 2017 17:13
@mythi
Copy link
Contributor

mythi commented Mar 21, 2017

test this please

2 similar comments
@klihub
Copy link
Contributor Author

klihub commented Mar 22, 2017

test this please

@okartau
Copy link
Contributor

okartau commented Mar 22, 2017

test this please

@klihub klihub force-pushed the pr/meta-flatpak/initial branch from 30afa6d to b4e58c8 Compare March 22, 2017 09:18
@klihub klihub force-pushed the pr/meta-flatpak/initial branch 2 times, most recently from e610775 to 09e1f95 Compare April 12, 2017 18:50
klihub added 2 commits April 12, 2017 22:09
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
klihub added 6 commits April 12, 2017 22:09
If 'flatpak' is among DISTRO_FEATURES, inherit flatpak-image.
This should add the necessary flatpak runtime bits to the
image and enable generating a flatpak repository out of it.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Temporarily point openembedded-core to a forked repository at
github with the patches pre-applied until the usrmerge patchset
lands upstream and propagates back to us.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Updated conf-notes.txt and local.conf.sample with flatpak-related
snippets.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Enabled building flatpak runtime image and SDK for the minimal image
by default. Since it seems we don't export/run tests for the minimal
image I did not enable those for the runtime image either.

ATM, because of the default paths we use to create flatpak OSTree
repos, the archive-z2 SDK flatpak repository will not get exported
(but the bare-user one will). Will can address this later...

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Add back the recently split out meta-gplv2 layer. We need it for
GPG 1.%.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
@klihub klihub force-pushed the pr/meta-flatpak/initial branch from 09e1f95 to 6d36798 Compare April 12, 2017 19:13
@klihub
Copy link
Contributor Author

klihub commented Apr 13, 2017

test this please

@mythi
Copy link
Contributor

mythi commented May 5, 2017

@klihub can we close this since we have #122

@refkit-ci
Copy link

Can one of the admins verify this patch?

nagineni pushed a commit to nagineni/intel-iot-refkit that referenced this pull request Jun 13, 2017
* meta-iot-web e4310f8...1e515ff
> Merge pull request intel#42 from nagineni/update_restserver
> iot-rest-api-server.bb: Update iot-rest-api-server to latest
> Merge pull request intel#41 from TizenTeam:sandbox/pcoval/on/master/latest
> iotivity-node: Update to 1.2.1-1
> Merge pull request intel#40 from nagineni/update_node
> recipes-web: Update iotivity-node and iot-rest-api-server to latest version
> nodejs: Upgrade to latest LTS v6.11.0
> Merge pull request intel#35 from gunnarx/add_arm64_squashed
> Support aarch64 targets by passing arm64 to npm
> Merge pull request intel#36 from nagineni/update_license
> Update license to proper.

Signed-off-by: Sudarsana Nagineni <sudarsana.nagineni@intel.com>
nagineni pushed a commit to nagineni/intel-iot-refkit that referenced this pull request Jun 13, 2017
* meta-iot-web e4310f8...1e515ff (11):
  > Merge pull request intel#42 from nagineni/update_restserver
  > iot-rest-api-server.bb: Update iot-rest-api-server to latest
  > Merge pull request intel#41 from TizenTeam:sandbox/pcoval/on/master/latest
  > iotivity-node: Update to 1.2.1-1
  > Merge pull request intel#40 from nagineni/update_node
  > recipes-web: Update iotivity-node and iot-rest-api-server to latest version
  > nodejs: Upgrade to latest LTS v6.11.0
  > Merge pull request intel#35 from gunnarx/add_arm64_squashed
  > Support aarch64 targets by passing arm64 to npm
  > Merge pull request intel#36 from nagineni/update_license
  > Update license to proper.

Signed-off-by: Sudarsana Nagineni <sudarsana.nagineni@intel.com>
@mythi
Copy link
Contributor

mythi commented Jun 14, 2017

replaced by #181

@mythi mythi closed this Jun 14, 2017
mythi pushed a commit to mythi/intel-iot-refkit that referenced this pull request Jun 15, 2017
* meta-iot-web e4310f8...1e515ff (11):
  > Merge pull request intel#42 from nagineni/update_restserver
  > iot-rest-api-server.bb: Update iot-rest-api-server to latest
  > Merge pull request intel#41 from TizenTeam:sandbox/pcoval/on/master/latest
  > iotivity-node: Update to 1.2.1-1
  > Merge pull request intel#40 from nagineni/update_node
  > recipes-web: Update iotivity-node and iot-rest-api-server to latest version
  > nodejs: Upgrade to latest LTS v6.11.0
  > Merge pull request intel#35 from gunnarx/add_arm64_squashed
  > Support aarch64 targets by passing arm64 to npm
  > Merge pull request intel#36 from nagineni/update_license
  > Update license to proper.

Signed-off-by: Sudarsana Nagineni <sudarsana.nagineni@intel.com>
@klihub klihub deleted the pr/meta-flatpak/initial branch August 21, 2017 12:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants