diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-12-02 09:07:47 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-01-22 12:46:26 +0000 |
commit | dca40db051092ddc2022327182cde0578c4a1a7e (patch) | |
tree | c4893010d213c5690a5fed6a359931dffa6a1cb9 /strata | |
parent | f949f154cb2b3b7230e1b94c7b3deab6e36581ee (diff) | |
download | definitions-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.morph | 5 |
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/ |