From 3694b599d6797dc2c48af671cf5c29bacdb80688 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 2 May 2019 16:23:22 +0200 Subject: [PATCH] Reduce reliance on Buildah by switching to 'podman pull ...' Currently, the toolbox script depends on both the buildah and podman commands. However, both are Go programs, and like all Go programs the absense of shared libraries leads to bigger binaries. eg., the buildah and podman binaries are approximately 22 MB and 48 MB respectively, whereas the flatpak binary is a mere 1.4 MB. Due to this, there's some nascent desire from the Endless OS folks to reduce the dependency footprint of the toolbox script by replacing Buildah with the corresponding Podman commands. This is a step in that direction. --- toolbox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbox b/toolbox index f933ee1..83a0d70 100755 --- a/toolbox +++ b/toolbox @@ -671,7 +671,7 @@ pull_base_toolbox_image() spinner_directory="" fi - $prefix_sudo buildah pull $base_toolbox_image_full >/dev/null 2>&3 + $prefix_sudo podman pull $base_toolbox_image_full >/dev/null 2>&3 ret_val=$? if [ "$spinner_directory" != "" ]; then