From: Michael Tremer Date: Sun, 17 Jul 2022 17:33:15 +0000 (+0000) Subject: pakfire: Remove mount_tmpfs flag X-Git-Tag: 0.9.28~696 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b28b43627e6ed10653a15984373da14cd0e22b2b;p=pakfire.git pakfire: Remove mount_tmpfs flag This is no longer in use Signed-off-by: Michael Tremer --- diff --git a/src/libpakfire/include/pakfire/pakfire.h b/src/libpakfire/include/pakfire/pakfire.h index 392a87819..1b855c011 100644 --- a/src/libpakfire/include/pakfire/pakfire.h +++ b/src/libpakfire/include/pakfire/pakfire.h @@ -48,7 +48,6 @@ enum pakfire_flags { PAKFIRE_FLAGS_BUILD = (1 << 2), PAKFIRE_FLAGS_DISABLE_CCACHE = (1 << 3), PAKFIRE_FLAGS_DISABLE_SNAPSHOT = (1 << 4), - PAKFIRE_FLAGS_DISABLE_RAMDISK = (1 << 5), }; // Callbacks diff --git a/src/libpakfire/pakfire.c b/src/libpakfire/pakfire.c index 9d3dd50e8..b95815657 100644 --- a/src/libpakfire/pakfire.c +++ b/src/libpakfire/pakfire.c @@ -116,7 +116,6 @@ struct pakfire { // States int build_setup:1; int destroy_on_free:1; - int mount_tmpfs:1; int pool_ready:1; int in_free:1; }; @@ -768,9 +767,6 @@ PAKFIRE_EXPORT int pakfire_create(struct pakfire** pakfire, const char* path, goto ERROR; } - // Mount this as tmpfs - p->mount_tmpfs = !pakfire_has_flag(p, PAKFIRE_FLAGS_DISABLE_RAMDISK); - // Destroy everything when done p->destroy_on_free = 1; }