Re: gnome-continuous: speeding up "builddisks"
- From: Alexander Larsson <alexl redhat com>
- To: Owen Taylor <otaylor redhat com>, gnome-os-list gnome org, ostree-list gnome org
- Subject: Re: gnome-continuous: speeding up "builddisks"
- Date: Fri, 02 Sep 2016 14:55:16 +0200
On fre, 2016-09-02 at 14:52 +0200, Alexander Larsson wrote:
On ons, 2016-08-31 at 09:37 -0400, Owen Taylor wrote:
1) Do the ostree operations outside the container on the host
filesystem, then copy the entire results into the container.
The main problem with this is one of filesystem ownership: as
non-root, we can't create files with the ownership that will be
needed inside the VM. It would be possible to enhance ostree to
write ownership as xattrs, and then convert when copying into
the
VM, or to even have ostree directly stream a tarfile to be
unpacked
in the VM, but either would be significant work.
This is what the "bare-user" repo format does. Its writable as a
regular user, but loses no fidelity wrt things like permissions. And
yes, it does work by storing the permissions in the xattrs.
This should work well, as its the primary format that flatpak uses
for
its repositories (both to support user installs, and to avoid a
remote
ostree repo setuid file actually being stored setuid in the object
store).
Oh, and once the repo is done you can export it as a tar file with
"ostree export".
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alexander larsson gmail com
He's a jaded crooked jungle king on a search for his missing sister.
She's a cold-hearted snooty opera singer with someone else's memories.
They fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]