ostree/src
Matthew Leeds fc357adb79 create-usb: Always use archive mode
Change the create-usb command so that it always creates the destination
repository using the "archive" mode, rather than using archive mode when
xattrs aren't supported and bare-user otherwise. This has a few
advantages:

1. The archive mode works with FAT filesystems, which is what most
USB drives are, and which doesn't support xattrs.

2. At least in some quick testing I did, archive mode is about
twice as performant as bare-user mode, in terms of how long it takes for
the create-usb command to complete.

3. This ensures that a tool can safely change the permissions on
".ostree/repo" and subdirectories after create-usb completes, which is
important for Endless since otherwise you can't use `ostree create-usb`
as root and then `flatpak create-usb` as a non-root user on the same USB
drive (or in other words copy OS updates and apps to the same USB).

Closes: #1733
Approved by: cgwalters
2018-09-25 13:52:38 +00:00
..
boot ostree-remount.service: RemainAfterExit=yes 2018-07-31 21:15:57 +00:00
libostree lib/fetcher-curl: Prefix fatal errors with full URL 2018-09-21 18:43:09 +00:00
libotutil lib: Fix some logic/error-checking code 2018-07-26 21:01:19 +00:00
ostree create-usb: Always use archive mode 2018-09-25 13:52:38 +00:00
rofiles-fuse Add SPDX-License-Identifier to source files 2018-01-30 20:03:42 +00:00
switchroot switchroot: Move late /run/ostree-booted creation to ostree-system-generator 2018-07-09 00:11:31 +00:00