From ad8e4c308b920b5bfd9f8aab980a0eba2f646678 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 28 Sep 2012 17:11:42 +0200 Subject: plymouth build script fix --- remote/tools/plymouth/build.plymouth | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'remote/tools') diff --git a/remote/tools/plymouth/build.plymouth b/remote/tools/plymouth/build.plymouth index 21ef5761..f654a5ee 100644 --- a/remote/tools/plymouth/build.plymouth +++ b/remote/tools/plymouth/build.plymouth @@ -1,22 +1,26 @@ #!/bin/bash install_dependencies() { - apt-get install --force-yes $deps + apt-get install --force-yes $DEPS } -fetch_sources() { - if [ ! -e .fetched_sources ]; then +fetch_source() { + if [ ! -e .fetched_source ]; then # download and extract tarball - wget -q $url - TARBALL=`basename $url` + [ ! -d src ] && mkdir src + cd src + wget -q $URL + TARBALL=`basename $URL` tar xvf $TARBALL rm $TARBALL - touch .fetched_sources + cd - + touch .fetched_source fi } build() { if [ ! -e .built ]; then + cd src ./configure --enable-systemd-integration make [ ! -d $INIT_DIR ] && mkdir $INIT_DIR -- cgit v1.2.3-55-g7522 From 3818341d4310444fd5643e230d9a5a9cfd3ad920 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 28 Sep 2012 17:13:03 +0200 Subject: fix lalala --- remote/tools/plymouth/build.plymouth | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'remote/tools') diff --git a/remote/tools/plymouth/build.plymouth b/remote/tools/plymouth/build.plymouth index f654a5ee..c726b4a6 100644 --- a/remote/tools/plymouth/build.plymouth +++ b/remote/tools/plymouth/build.plymouth @@ -20,11 +20,12 @@ fetch_source() { build() { if [ ! -e .built ]; then - cd src + cd src/$VERSION ./configure --enable-systemd-integration make [ ! -d $INIT_DIR ] && mkdir $INIT_DIR DESTDIR="$INIT_DIR" make install + cd - touch .built fi } -- cgit v1.2.3-55-g7522