diff options
| author | Jonathan Bauer | 2013-03-14 18:30:10 +0100 |
|---|---|---|
| committer | Jonathan Bauer | 2013-03-14 18:30:10 +0100 |
| commit | 765e0502c315d250ab8f671bc726fef6f63a026a (patch) | |
| tree | e5624ec583c98fd3202caefad9b37289d9cad348 /remote/tools/ldm | |
| parent | base -> base32 and started new base31 (diff) | |
| download | tm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.tar.gz tm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.tar.xz tm-scripts-765e0502c315d250ab8f671bc726fef6f63a026a.zip | |
restructuring...
Diffstat (limited to 'remote/tools/ldm')
| l--------- | remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service | 1 | ||||
| -rw-r--r-- | remote/tools/ldm/data/etc/systemd/system/lightdm.service | 10 | ||||
| -rw-r--r-- | remote/tools/ldm/ldm.build | 42 | ||||
| -rw-r--r-- | remote/tools/ldm/ldm.conf | 8 |
4 files changed, 0 insertions, 61 deletions
diff --git a/remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service b/remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service deleted file mode 120000 index c7aaa65a..00000000 --- a/remote/tools/ldm/data/etc/systemd/system/graphical.target.wants/lightdm.service +++ /dev/null @@ -1 +0,0 @@ -../lightdm.service
\ No newline at end of file diff --git a/remote/tools/ldm/data/etc/systemd/system/lightdm.service b/remote/tools/ldm/data/etc/systemd/system/lightdm.service deleted file mode 100644 index 99911bff..00000000 --- a/remote/tools/ldm/data/etc/systemd/system/lightdm.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=LightDM Display Manager -Requires=dev-tty7.device -After=dev-tty7.device systemd-user-sessions.service - -[Service] -ExecStart=/sbin/lightdm - -[Install] -WantedBy=graphical.target diff --git a/remote/tools/ldm/ldm.build b/remote/tools/ldm/ldm.build deleted file mode 100644 index 9aaad683..00000000 --- a/remote/tools/ldm/ldm.build +++ /dev/null @@ -1,42 +0,0 @@ -#tool/distro specific functions for fetching, building and installing dependencies - -fetch_source () { - [ ! -e .fetched_source ] && download_untar "$URL" "src/" - touch .fetched_source -} - -build () { - BUILDDIR="$TOOL_DIR/$TOOL/build" - if [ ! -e .built ]; then - cd "src/$VERSION" - pinfo "Running configure" - ./configure --prefix="/" --datarootdir="/usr/share" || perror "failed." - pinfo "Running make" - make || perror "failed." - pinfo "Running make install" - DESTDIR="$BUILDDIR" make install || perror "failed." - - COPYLIST="list_dpkg_output" - - [ -e "$COPYLIST" ] && rm "$COPYLIST" - - list_packet_files >> "$COPYLIST" - tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR" - - cd - - touch .built - fi -} - -post_copy() { - mkdir -p "${TARGET_BUILD_DIR}/var/lib/lightdm" - touch "${TARGET_BUILD_DIR}/var/lib/lightdm/.Xauthority" || perror "Cannot touch '${TARGET_BUILD_DIR}/var/lib/lightdm/.Xauthority'" - local LDMUID=$(add_user "lightdm") - local LDMGID=$(add_group "lightdm") - pinfo "lightdm user and group is $LDMUID $LDMGID" - chown -R "${LDMUID}:${LDMGID}" "${TARGET_BUILD_DIR}/var/lib/lightdm/" || perror "chowning '${TARGET_BUILD_DIR}/var/lib/lightdm/' failed." - #copyi static data files - cp -r "${TOOL_DIR}/${TOOL}/data/"* "${TARGET_BUILD_DIR}" || perror "Copying data/ failed." - -} - diff --git a/remote/tools/ldm/ldm.conf b/remote/tools/ldm/ldm.conf deleted file mode 100644 index d40aab7f..00000000 --- a/remote/tools/ldm/ldm.conf +++ /dev/null @@ -1,8 +0,0 @@ -VERSION=lightdm-1.4.0 -URL=https://launchpad.net/lightdm/1.4/1.4.0/+download/lightdm-1.4.0.tar.gz -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" -REQUIRED_FILES="" - |
