summaryrefslogtreecommitdiff
path: root/strata/coreutils-common-wrt/tar.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/coreutils-common-wrt/tar.morph')
-rw-r--r--strata/coreutils-common-wrt/tar.morph18
1 files changed, 18 insertions, 0 deletions
diff --git a/strata/coreutils-common-wrt/tar.morph b/strata/coreutils-common-wrt/tar.morph
new file mode 100644
index 00000000..17d6a597
--- /dev/null
+++ b/strata/coreutils-common-wrt/tar.morph
@@ -0,0 +1,18 @@
+name: tar
+kind: chunk
+build-system: autotools
+pre-configure-commands:
+- rm .gitmodules
+- bash bootstrap --skip-po --gnulib-srcdir="$(pwd)/gnulib" --paxutils-srcdir="$(pwd)/paxutils"
+configure-commands:
+# Configure flag notes:
+# 1. Needed to run configure as root
+# 2. Disable some warning that cause the build to fail
+# 3. To use GNU tar instead the busybox one.
+# This will dissappear when we merge /usr/bin and /bin
+
+- |
+ `# [1]` env FORCE_UNSAFE_CONFIGURE=1 \
+ ./configure --prefix="$PREFIX" \
+ `# [2]` --disable-gcc-warnings \
+ `# [3]` --bindir=/bin