trivial: drop the flatpak target

We don't use it for dependency building at all.
This commit is contained in:
Mario Limonciello 2021-09-15 22:46:40 -05:00
parent 05a3ee1fc8
commit 0c77e34c73
3 changed files with 2 additions and 12 deletions

View File

@ -1508,16 +1508,6 @@
<package />
</distro>
</dependency>
<dependency type="build" id="flatpak-builder">
<distro id="flatpak">
<package />
</distro>
</dependency>
<dependency type="build" id="tree">
<distro id="flatpak">
<package />
</distro>
</dependency>
<dependency type="build" id="libtss2-dev">
<distro id="arch">
<package>tpm2-tss</package>

View File

@ -55,7 +55,7 @@ if __name__ == "__main__":
"-o",
"--os",
default=target,
choices=["fedora", "centos", "flatpak", "debian", "ubuntu", "arch"],
choices=["fedora", "centos", "debian", "ubuntu", "arch"],
help="dependencies for OS",
)
args = parser.parse_args()

View File

@ -52,7 +52,7 @@ with open("Dockerfile", "w") as wfd:
replace = ""
wfd.write(line.replace("%%%ARCH_PREFIX%%%", replace))
elif line == "%%%INSTALL_DEPENDENCIES_COMMAND%%%\n":
if OS == "fedora" or OS == "flatpak":
if OS == "fedora":
wfd.write("RUN dnf --enablerepo=updates-testing -y install \\\n")
elif OS == "centos":
wfd.write("RUN yum -y install \\\n")