summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-12 10:02:38 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-02-12 10:02:38 +0000
commit9d5a4cf6daa74d2ae7012839d9350e163f94d5bf (patch)
tree3f4e554bd53b3a50c21a4e50ff457c6a217dd4b4
parent1319309d3ff4eb85cb0e7e6cb178cb56ff116524 (diff)
downloaddefinitions-baserock/franred/always-use-coreutils-dd.tar.gz
Use coreutils dd instead of busybox ddbaserock/franred/always-use-coreutils-dd
This hack is for supporting "fdatasync" argument in "dd" command which busybox "dd" does not support. This hack should dissappear when we merge /usr/bin and /bin.
-rw-r--r--strata/coreutils-common/coreutils.morph5
1 files changed, 5 insertions, 0 deletions
diff --git a/strata/coreutils-common/coreutils.morph b/strata/coreutils-common/coreutils.morph
index 08808333..cc1ae683 100644
--- a/strata/coreutils-common/coreutils.morph
+++ b/strata/coreutils-common/coreutils.morph
@@ -9,3 +9,8 @@ build-commands:
- make WERROR_CFLAGS=
install-commands:
- make INSTALL_PROGRAM=install DESTDIR="$DESTDIR" install
+# This hack is for supporting "fdatasync" argument in "dd" command
+# which busybox "dd" does not support.
+# This hack should dissappear when we merge /usr/bin and /bin.
+- mkdir -p "$DESTDIR"/bin/
+- ln -sf ../usr/bin/dd "$DESTDIR"/bin/