From 83dcd2b34cefd5b324b5a4f54be141a858dc5238 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 27 Feb 2013 22:19:53 +0100 Subject: Generalization: - Rework install_dependencies: make it a global function, not per tools.build - Determine packet manager of local system (currently supports apt/dpkg and zypper/rpm) - Look for packet manager specific tools.conf.$MANAGER first, use tools.conf otherwise - Added list_package_files which should be used instead of "for $(dpkg -L | grep ...) ... >> ... done" --- remote/tools/ldm/ldm.build | 4 ---- remote/tools/ldm/ldm.conf | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'remote/tools/ldm') diff --git a/remote/tools/ldm/ldm.build b/remote/tools/ldm/ldm.build index 9f45e058..c1bc08e8 100644 --- a/remote/tools/ldm/ldm.build +++ b/remote/tools/ldm/ldm.build @@ -5,10 +5,6 @@ fetch_source () { touch .fetched_source } -install_dependencies() { - apt-get install -y $DEPS -} - build () { BUILDDIR="$TOOL_DIR/$TOOL/build" if [ ! -e .built ]; then diff --git a/remote/tools/ldm/ldm.conf b/remote/tools/ldm/ldm.conf index 7e133e54..d40aab7f 100644 --- a/remote/tools/ldm/ldm.conf +++ b/remote/tools/ldm/ldm.conf @@ -1,6 +1,6 @@ VERSION=lightdm-1.4.0 URL=https://launchpad.net/lightdm/1.4/1.4.0/+download/lightdm-1.4.0.tar.gz -DEPS="libpam-dev itstool liblightdm-gobject-1-dev" +REQUIRED_DEPENDENCIES="libpam-dev itstool liblightdm-gobject-1-dev" REQUIRED_PACKAGES="" REQUIRED_BINARIES="dm-tool lightdm lightdm-set-defaults gdmflexiserver lightdm-guest-session-wrapper lightdm-set-defaults" REQUIRED_DIRECTORIES="/etc /lib" -- cgit v1.2.3-55-g7522