1OSTREE CREATE-USB(1)           ostree create-usb          OSTREE CREATE-USB(1)
2
3
4

NAME

6       ostree-create-usb - Put the given refs on an external drive for P2P
7       distribution.
8

SYNOPSIS

10       ostree create-usb [OPTIONS...] {MOUNT-PATH} {COLLECTION-ID REF}
11                         [COLLECTION-ID REF...]
12

DESCRIPTION

14       This command creates a repository in MOUNT-PATH and pulls the given
15       REF(s) into it so they can be found and pulled from (perhaps by another
16       computer that's offline). See ostree-find-remotes(1) for more
17       information on P2P distribution.
18
19       In order for ostree to pull refs from a mounted filesystem (such as a
20       USB drive) the repo must be in a standard location. Specifically,
21       subdirectories of .ostree/repos.d are checked, then .ostree/repo,
22       ostree/repo, and var/lib/flatpak/repo are checked. By default ostree
23       create-usb uses .ostree/repo, but if you specify another location using
24       --destination-repo a symbolic link will be created for you in
25       .ostree/repos.d.
26
27       This command will regenerate the summary file in the destination repo
28       so that it stays accurate, so you shouldn't try to use summary
29       signatures in the destination repo. This shouldn't be a concern because
30       clients that support pulling from USB mounts use signed per-repo and
31       per-commit metadata instead of summary signatures.
32

OPTIONS

34       --disable-fsync
35           Do not invoke fsync().
36
37       --destination-repo=DEST
38           Create the repository in DEST under MOUNT-PATH, rather than the
39           default location.
40
41       --commit=COMMIT
42           Pull COMMIT instead of whatever REF points to. This can only be
43           used if a single ref is specified.
44

EXAMPLE

46       ostree --repo=/var/lib/flatpak/repo create-usb
47       /run/media/mwleeds/f6d04c7a-60f6-4ba3-bb96-0f40498675be
48       com.exampleos.Apps app/org.kde.Khangman/x86_64/stable
49       com.exampleos.Apps ostree-metadata com.exampleos.Apps appstream/x86_64
50
51
52           5 metadata, 213 content objects imported; 1 KiB transferred in 1 seconds                                                                                                                      Copied 3/3 refs successfully from ‘/var/lib/flatpak/repo’ to ‘.ostree/repo’ repository in ‘/run/media/mwleeds/f6d04c7a-60f6-4ba3-bb96-0f40498675be’.
53
54
55
56
57OSTree                                                    OSTREE CREATE-USB(1)
Impressum