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:52:04 +0200
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).
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alexander larsson gmail com
He's a globe-trotting amnesiac assassin looking for 'the Big One.' She's
a violent tomboy socialite operating on the wrong side of the law. They
fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]