summaryrefslogtreecommitdiff
path: root/strata
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2014-12-02 09:07:47 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:26 +0000
commitdca40db051092ddc2022327182cde0578c4a1a7e (patch)
treec4893010d213c5690a5fed6a359931dffa6a1cb9 /strata
parentf949f154cb2b3b7230e1b94c7b3deab6e36581ee (diff)
downloaddefinitions-dca40db051092ddc2022327182cde0578c4a1a7e.tar.gz
Replace busybox dd by coreutils dd
This hack is needed in Cinder to remove volumes, which uses dd, and busybox dd does not support fdatasync. This commit should be reverted when we merge /usr/bin and /bin.
Diffstat (limited to 'strata')
-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 479e9925..9f708b1d 100644
--- a/strata/coreutils-common/coreutils.morph
+++ b/strata/coreutils-common/coreutils.morph
@@ -7,3 +7,8 @@ configure-commands:
- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix="$PREFIX" --disable-nls
install-commands:
- make INSTALL_PROGRAM=install DESTDIR="$DESTDIR" install
+# This hack is to get Cinder to work because otherwise it uses
+# busybox "dd" which does not support "fdatasync".
+# This will dissappear when we merge /usr/bin and /bin.
+- mkdir -p "$DESTDIR"/bin/
+- ln -sf ../usr/bin/dd "$DESTDIR"/bin/