From db30df84a427405e28ef879a1bbbe1aa5942b26f Mon Sep 17 00:00:00 2001 From: Enderson Maia Date: Thu, 2 May 2024 14:58:32 +0100 Subject: [PATCH] feat(cli): stop using bsdtar it was used before because of Unicode issues, but that was solved after cartesi/sdk:0.6.1 release that uses most recent version of cartesi/xgenext2fs:1.5.6 --- .changeset/stupid-nails-happen.md | 5 +++++ apps/cli/src/commands/build.ts | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 .changeset/stupid-nails-happen.md diff --git a/.changeset/stupid-nails-happen.md b/.changeset/stupid-nails-happen.md new file mode 100644 index 00000000..ff3c8f50 --- /dev/null +++ b/.changeset/stupid-nails-happen.md @@ -0,0 +1,5 @@ +--- +"@cartesi/cli": patch +--- + +stop using bsdtar diff --git a/apps/cli/src/commands/build.ts b/apps/cli/src/commands/build.ts index 40d3f677..996cec34 100644 --- a/apps/cli/src/commands/build.ts +++ b/apps/cli/src/commands/build.ts @@ -203,13 +203,7 @@ Update your application Dockerfile using one of the templates at https://github. "crane", "export", "-", // OCI Image from stdin - "-", // rootfs tarball to stdout - "|", - "bsdtar", - "-cf", - "/tmp/output", - "--format=gnutar", - "@/dev/stdin", // rootfs tarball from stdin + "/tmp/output", // rootfs tarball ]; return ["/usr/bin/env", "bash", "-c", cmd.join(" ")]; }