1FLATPAK BUILD-BUNDL(1) flatpak build-bundle FLATPAK BUILD-BUNDL(1)
2
3
4
6 flatpak-build-bundle - Create a single-file bundle from a local
7 repository
8
10 flatpak build-bundle [OPTION...] LOCATION FILENAME NAME [BRANCH]
11
13 Creates a single-file named FILENAME for the application (or runtime)
14 named NAME in the repository at LOCATION. If a BRANCH is specified,
15 this branch of the application is used.
16
17 The collection ID set on the repository at LOCATION (if set) will be
18 used for the bundle.
19
20 Unless --oci is used, the format of the bundle file is that of an
21 ostree static delta (against an empty base) with some flatpak specific
22 metadata for the application icons and appdata.
23
25 The following options are understood:
26
27 -h, --help
28 Show help options and exit.
29
30 --runtime
31 Export a runtime instead of an application.
32
33 --arch=ARCH
34 The arch to create a bundle for. See flatpak --supported-arches for
35 architectures supported by the host.
36
37 --repo-url=URL
38 The URL for the repository from which the application can be
39 updated. Installing the bundle will automatically configure a
40 remote for this URL.
41
42 --runtime-repo=URL
43 The URL for a .flatpakrepo file that contains the information about
44 the repository that supplies the runtimes required by the app.
45
46 --gpg-keys=FILE
47 Add the GPG key from FILE (use - for stdin).
48
49 --gpg-homedir=PATH
50 GPG Homedir to use when looking for keyrings.
51
52 --from-commit=COMMIT
53 The OSTree commit to create a delta bundle from.
54
55 --oci
56 Export to an OCI image instead of a Flatpak bundle.
57
58 -v, --verbose
59 Print debug information during command processing.
60
61 --ostree-verbose
62 Print OSTree debug information during command processing.
63
65 $ flatpak build-bundle /var/lib/flatpak/repo gnome-calculator.flatpak
66 org.gnome.Calculator stable
67
68 $ flatpak build-bundle ~/.local/share/flatpak/repo
69 gnome-calculator.flatpak org.gnome.Calculator stable
70
72 ostree(1), flatpak(1), flatpak-build-init(1), flatpak-build(1),
73 flatpak-build-finish(1), flatpak-build-import-bundle(1), flatpak-build-
74 update-repo(1)
75
76
77
78flatpak FLATPAK BUILD-BUNDL(1)