From a93c3369a670bc5f376f0706eb687d4a4e04ed55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chrz=C4=85szcz?= Date: Tue, 3 Dec 2024 14:31:25 +0100 Subject: [PATCH 1/2] Don't create /usr/lib/mongooseim, because it already exists This issue affected Debian/Ubuntu. --- tools/pkg/scripts/deb/debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pkg/scripts/deb/debian/postinst b/tools/pkg/scripts/deb/debian/postinst index 6d10b49a757..91ba9232b78 100755 --- a/tools/pkg/scripts/deb/debian/postinst +++ b/tools/pkg/scripts/deb/debian/postinst @@ -40,7 +40,7 @@ setup() case "$1" in configure) - useradd --system --shell /bin/sh --home-dir $PKG_ROOT --create-home $NAME + useradd --system --shell /bin/sh --home-dir $PKG_ROOT $NAME setup "$@" ;; From 6ed31092c4ecc28706674a7acc3f763fa028872a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chrz=C4=85szcz?= Date: Fri, 6 Dec 2024 17:09:33 +0100 Subject: [PATCH 2/2] Set progress to 'plain' to see full docker logs --- tools/pkg/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/pkg/build.sh b/tools/pkg/build.sh index 784cf3cccc2..0240459afab 100755 --- a/tools/pkg/build.sh +++ b/tools/pkg/build.sh @@ -75,6 +75,7 @@ done builder_image="erlangsolutions/erlang:${platform}-${erlang_version}" target_image="${platform/-/:}" docker build -t mongooseim-${platform}:${version}-${revision} \ + --progress=plain \ --build-arg builder_image=${builder_image} \ --build-arg target_image=${target_image} \ --build-arg version=${version} \