FLATPAK BUILD(1) flatpak build FLATPAK BUILD(1) (NAME) flatpak-build - (SYNOPSIS) flatpak build [OPTION...] DIRECTORY [COMMAND [ARG...]] (DESCRIPTION) (build) . DIRECTORY flatpak build-init . (sdk) metadata /usr files var /app /var (mount) . . (OPTIONS) : -h, --help . -v, --verbose . --ostree-verbose OSTree . -r, --runtime (devel). -p, --die-with-parent . --bind-mount=DEST=SOURCE (bind mount) . . --build-dir=PATH ( ). --share=SUBSYSTEM . Context . SUBSYSTEM : network ipc. . --unshare=SUBSYSTEM . Context . SUBSYSTEM : network ipc. . --socket=SOCKET . Context . SOCKET : x11 wayland fallback-x11 pulseaudio system-bus session-bus ssh-auth pcsc cups gpg-agent inherit-wayland-socket. . --nosocket=SOCKET . Context . SOCKET : x11 wayland fallback-x11 pulseaudio system-bus session-bus ssh-auth pcsc cups gpg-agent inherit-wayland-socket. . --device=DEVICE . Context . DEVICE : dri input usb kvm shm all. . --nodevice=DEVICE . Context . DEVICE : dri input usb kvm shm all. . --allow=FEATURE . [Context] . FEATURE : devel multiarch bluetooth canbus per-app-dev-shm. . flatpak-build- finish(1) . --disallow=FEATURE . [Context] . FEATURE : devel multiarch bluetooth canbus per-app-dev-shm. . --filesystem=FILESYSTEM[:ro|:create] . Context . FILESYSTEM : home host host-os host-etc host-root xdg-desktop xdg-documents xdg-download xdg-music xdg-pictures xdg-public-share xdg-templates xdg-videos xdg-run xdg-config xdg-cache xdg-data ~/dir xdg xdg-download/subdir. :ro . :create - . . "[Context] filesystems" flatpak-metadata(5) . .. host . --nofilesystem=FILESYSTEM . Context . FILESYSTEM : home host host-os host-etc host-root xdg-desktop xdg-documents xdg-download xdg-music xdg-pictures xdg-public-share xdg-templates xdg-videos ~/dir. . --with-appdir $HOME/.var/app. . --add-policy=SUBSYSTEM.KEY=VALUE . "--add-policy=subsystem.key=v1 --add-policy=subsystem.key=v2" : [Policy subsystem] key=v1;v2; . --remove-policy=SUBSYSTEM.KEY=VALUE . . --env=VAR=VALUE . Context . . --unset-env=VAR . unset-environment [Context] [Environment] . . --env-fd=FD FD --env . . VAR=VALUE . env -0 /proc/*/environ . --own-name=NAME NAME (session bus). Context . . --talk-name=NAME NAME . Context . . --system-own-name=NAME NAME (system bus). Context . . --system-talk-name=NAME NAME . Context . . --persist=FILENAME ( ) FILENAME (bind mount) . Context . . --sdk-dir=DIR usr ( --writable-sdk --type=runtime build-init ). --sdk-dir . build-init --sdk-dir . --readonly . (sandbox) . --metadata=FILE ( metadata). ( sdk). --log-session-bus (session bus). D-Bus . --log-system-bus (system bus). D-Bus . (EXAMPLES) $ flatpak build /build/my-app rpmbuild my-app.src.rpm (SEE ALSO) flatpak(1), flatpak-build-init(1), flatpak-build-finish(1), flatpak- build-export(1) flatpak FLATPAK BUILD(1)