diff options
| author | Michael Neves | 2012-11-19 14:17:28 +0100 |
|---|---|---|
| committer | Michael Neves | 2012-11-19 14:17:28 +0100 |
| commit | c0f768fc5af6a315e7064778792368250154d509 (patch) | |
| tree | 0c81c680edfaebec93edbb8e3d236ef10c1282a5 | |
| parent | missing ld-linux fix (diff) | |
| download | tm-scripts-c0f768fc5af6a315e7064778792368250154d509.tar.gz tm-scripts-c0f768fc5af6a315e7064778792368250154d509.tar.xz tm-scripts-c0f768fc5af6a315e7064778792368250154d509.zip | |
plymouth
| -rw-r--r-- | remote/tools/plymouth/build.plymouth | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/remote/tools/plymouth/build.plymouth b/remote/tools/plymouth/build.plymouth index 082db46f..af459be8 100644 --- a/remote/tools/plymouth/build.plymouth +++ b/remote/tools/plymouth/build.plymouth @@ -21,25 +21,9 @@ build() { cd src/$VERSION ./configure --enable-systemd-integration make - DESTDIR=$INIT_DIR make install + [ ! -d ../build/$TARGET_DIR ] && mkdir -p ../build/$TARGET_DIR + DESTDIR=$TOOL_DIR/$TOOL/build make install cd - touch .built fi } - -build_package() { - - COPYFILES_LIST="/tmp/plymouth_files_$$" - INSTALL_DIR=$INIT_DIR - - for bin in $INSTALL_DIR/bin/plymouth $INSTALL_DIR/sbin/plymouthd - do - for i in $(ldd $bin |awk -F ">" '{print $2}'|awk '{print $1}'|grep ^/) - do - filename_base=$(basename $i | awk -F "." '{print $1}') - filename_path=$(dirname $i) - echo "$filename_path/$filename_base*" >> $COPYFILES_LIST - done - done - tar -cpv $(cat $COPYFILES_LIST) | tar -xp -C $INSTALL_DIR -} |
