From 3a2f641e4e70e76ffa77629c6208970c1a7af667 Mon Sep 17 00:00:00 2001 From: Paul Sherwood Date: Fri, 25 Sep 2015 08:47:49 +0000 Subject: Proposed re-org of definitions repo --- baserock/strata/coreutils-common/coreutils.morph | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 baserock/strata/coreutils-common/coreutils.morph (limited to 'baserock/strata/coreutils-common/coreutils.morph') diff --git a/baserock/strata/coreutils-common/coreutils.morph b/baserock/strata/coreutils-common/coreutils.morph new file mode 100644 index 00000000..19542d79 --- /dev/null +++ b/baserock/strata/coreutils-common/coreutils.morph @@ -0,0 +1,16 @@ +name: coreutils +kind: chunk +build-system: autotools +configure-commands: +- sed -i -e '/^buildreq="/,/^"/{/rsync/d}' bootstrap.conf +- bash bootstrap --skip-po --no-git --gnulib-srcdir=gnulib +- FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix="$PREFIX" --disable-nls +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/ -- cgit v1.2.1