diff options
| author | Jonathan Bauer | 2013-03-01 18:22:10 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-01 18:22:10 +0100 |
| commit | 6edc351e326bc05b6ed0d82c66248ca0e1f8588a (patch) | |
| tree | bf97111484630d2589a69de95087b23109cdfa2a /remote/tools | |
| parent | use download_untar in plymouth.build (diff) | |
| download | tm-scripts-6edc351e326bc05b6ed0d82c66248ca0e1f8588a.tar.gz tm-scripts-6edc351e326bc05b6ed0d82c66248ca0e1f8588a.tar.xz tm-scripts-6edc351e326bc05b6ed0d82c66248ca0e1f8588a.zip | |
use list_packet_files in ldm.build
Diffstat (limited to 'remote/tools')
| -rw-r--r-- | remote/tools/ldm/ldm.build | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/remote/tools/ldm/ldm.build b/remote/tools/ldm/ldm.build index c1bc08e8..35584058 100644 --- a/remote/tools/ldm/ldm.build +++ b/remote/tools/ldm/ldm.build @@ -13,28 +13,18 @@ build () { ./configure --prefix="/" --datarootdir="/usr/share" || perror "failed." pinfo "Running make" make || perror "failed." - mkdir -p "$BUILDDIR" pinfo "Running make install" DESTDIR="$BUILDDIR" make install || perror "failed." - + COPYLIST="list_dpkg_output" + [ -e "$COPYLIST" ] && rm "$COPYLIST" - for PACKAGE in ${REQUIRED_PACKAGES} - do - for FILE in $(dpkg -L ${PACKAGE} | grep -v share/doc | grep -v share/man) - do - [ ! -d $FILE ] && echo $FILE >> "$COPYLIST" - done - done - - #prepare target dir & copy there - mkdir -p "$BUILDDIR" + list_packet_files >> "$COPYLIST" tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR" cd - touch .built - fi } |
