mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-29 10:01:18 -05:00
This removes the most basic codepaths for p2p installation, as well as the tests for it. There still remains various codepaths that looks as the collection id, these will be removed later. This is the first step in dropping the p2p code and replacing it with a simpler approach that focuses on the sideloading case only.
35 lines
798 B
Bash
Executable File
35 lines
798 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for feature in $(echo $1 | sed "s/^.*@\(.*\).wrap/\1/" | tr "," "\n"); do
|
|
case $feature in
|
|
system)
|
|
export USE_SYSTEMDIR=yes
|
|
;;
|
|
system-norevokefs)
|
|
export USE_SYSTEMDIR=yes
|
|
export FLATPAK_DISABLE_REVOKEFS=yes
|
|
;;
|
|
user)
|
|
export USE_SYSTEMDIR=no
|
|
;;
|
|
deltas)
|
|
export USE_DELTAS=yes
|
|
;;
|
|
nodeltas)
|
|
export USE_DELTAS=no
|
|
;;
|
|
labels)
|
|
export USE_OCI_LABELS=yes
|
|
;;
|
|
annotations)
|
|
export USE_OCI_ANNOTATIONS=yes
|
|
;;
|
|
*)
|
|
echo unsupported test feature $feature
|
|
exit 1
|
|
esac
|
|
done
|
|
|
|
WRAPPED=$(echo $1 | sed "s/@.*/\.sh/")
|
|
. $WRAPPED "$@"
|