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 17:37:09 +0000
commit302e9c0c537f8e52fd4000b3f97cfa20b5b3a205 (patch)
treee979669c92dfe122c027d447778d27450deabafe
parentb431149876ed496bbfae17ee5a64c78617bcbf28 (diff)
downloaddefinitions-302e9c0c537f8e52fd4000b3f97cfa20b5b3a205.tar.gz
Use coreutils dd instead of busybox 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/