summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2015-03-23 04:06:40 +0000
committerJavier Jardón <jjardon@gnome.org>2015-03-25 11:14:43 +0000
commit62ebe76ddb75fc9a852c5ef28d6e934c0dbafbd6 (patch)
treea29be5f4f23775b5749ead90298d04debc1ed0aa
parent85f0c8e334c712054b1196e7d70efc2bdeac1dbe (diff)
downloaddefinitions-baserock/jjardon/simplify_tar.tar.gz
tar.morph: simplify morphologybaserock/jjardon/simplify_tar
Change-Id: I929981507806d1561187ba8bede8784bede3bd13
-rw-r--r--strata/coreutils-common/tar.morph21
1 files changed, 14 insertions, 7 deletions
diff --git a/strata/coreutils-common/tar.morph b/strata/coreutils-common/tar.morph
index 9219abeb..d262d7b6 100644
--- a/strata/coreutils-common/tar.morph
+++ b/strata/coreutils-common/tar.morph
@@ -1,10 +1,17 @@
name: tar
kind: chunk
-configure-commands:
+build-system: autotools
+pre-configure-commands:
- bash bootstrap --skip-po
-- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin
- --disable-nls --disable-gcc-warnings
-build-commands:
-- make
-install-commands:
-- make DESTDIR="$DESTDIR" install
+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