Merge lp:~bennabiy/ltsp/ltsp-LM into lp:~ltsp-upstream/ltsp/ltsp-trunk

Proposed by ben-Nabiy Derush
Status: Merged
Merged at revision: 2493
Proposed branch: lp:~bennabiy/ltsp/ltsp-LM
Merge into: lp:~ltsp-upstream/ltsp/ltsp-trunk
Diff against target: 68 lines (+23/-13)
3 files modified
common/ltsp-common-functions (+3/-3)
server/share/ltsp/plugins/ltsp-build-client/Ubuntu/000-basic-configuration (+2/-10)
server/share/ltsp/plugins/ltsp-build-client/Ubuntu/001-set-mint-dist (+18/-0)
To merge this branch: bzr merge lp:~bennabiy/ltsp/ltsp-LM
Reviewer Review Type Date Requested Status
Vagrant Cascadian Pending
Review via email: mp+188410@code.launchpad.net

Description of the change

Bug Fix for Initial LinuxMint support

To post a comment you must log in.
lp:~bennabiy/ltsp/ltsp-LM updated
2489. By Launchpad Translations on behalf of ltsp-upstream

Launchpad automatic translations update.

2490. By Launchpad Translations on behalf of ltsp-upstream

Launchpad automatic translations update.

2491. By Vagrant Cascadian

ltsp-localappsd: move call to ltsp-localappsd into a function, reducing code
duplication.

2492. By Vagrant Cascadian

ltsp-localappsd: Only use su if running as a different user,
currently use in ltsp6 prof-of-concept code.

2493. By Vagrant Cascadian

Merge LinuxMint fixes.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'common/ltsp-common-functions'
--- common/ltsp-common-functions 2013-09-25 22:50:09 +0000
+++ common/ltsp-common-functions 2013-11-06 01:54:32 +0000
@@ -101,15 +101,15 @@
101 . /etc/sysconfig/ltspdist101 . /etc/sysconfig/ltspdist
102 echo "$VENDORDEF"102 echo "$VENDORDEF"
103 else103 else
104 LSB_VENDOR=$(lsb_release --id --short | tr " " "_")104 lsb_vendor=$(lsb_release --id --short | tr " " "_")
105 if [ "$LSB_VENDOR" = LinuxMint ]; then105 if [ "$lsb_vendor" = LinuxMint ]; then
106 if [ "$(lsb_release -s -c)" = "debian" ]; then106 if [ "$(lsb_release -s -c)" = "debian" ]; then
107 echo "Debian"107 echo "Debian"
108 else108 else
109 echo "Ubuntu"109 echo "Ubuntu"
110 fi110 fi
111 else111 else
112 echo "$LSB_VENDOR"112 echo "$lsb_vendor"
113 fi113 fi
114 fi114 fi
115}115}
116116
=== modified file 'server/share/ltsp/plugins/ltsp-build-client/Ubuntu/000-basic-configuration'
--- server/share/ltsp/plugins/ltsp-build-client/Ubuntu/000-basic-configuration 2013-09-25 22:50:09 +0000
+++ server/share/ltsp/plugins/ltsp-build-client/Ubuntu/000-basic-configuration 2013-11-06 01:54:32 +0000
@@ -2,16 +2,8 @@
2 configure)2 configure)
3 ARCH=${ARCH:-"$(dpkg --print-architecture)"}3 ARCH=${ARCH:-"$(dpkg --print-architecture)"}
4 APT_GET_OPTS=${APT_GET_OPTS:-"-y"}4 APT_GET_OPTS=${APT_GET_OPTS:-"-y"}
5 if [ -n "$MINT_DIST" ] || ( [ "$LSB_VENDOR" = "LinuxMint" ] && [ -z "$DIST" ] ); then5 DIST=${DIST:-"$(lsb_release -s -c)"}
6 MINT_DIST=${MINT_DIST:-"$(lsb_release -s -c)"}6 EARLY_PACKAGES=${EARLY_PACKAGES:-"ltsp-client"}
7 DIST=${DIST:-$(sed -n 's/base_codename=//p' "/usr/share/mintsources/$MINT_DIST/mintsources.conf")}
8 MINT_MIRROR=${MINT_MIRROR:-"http://packages.linuxmint.com"}
9 MINT_COMPONENTS=${MINT_COMPONENTS:-"main upstream import"}
10 EARLY_PACKAGES=${EARLY_PACKAGES:-"ltsp-client mint-meta-core"}
11 else
12 DIST=${DIST:-"$(lsb_release -s -c)"}
13 EARLY_PACKAGES=${EARLY_PACKAGES:-"ltsp-client"}
14 fi
15 COMPONENTS=${COMPONENTS:-"main restricted universe multiverse"}7 COMPONENTS=${COMPONENTS:-"main restricted universe multiverse"}
16 OVERRIDE_EXPORTS=${OVERRIDE_EXPORTS:-"true"}8 OVERRIDE_EXPORTS=${OVERRIDE_EXPORTS:-"true"}
17 export DEBIAN_PRIORITY=critical9 export DEBIAN_PRIORITY=critical
1810
=== added file 'server/share/ltsp/plugins/ltsp-build-client/Ubuntu/001-set-mint-dist'
--- server/share/ltsp/plugins/ltsp-build-client/Ubuntu/001-set-mint-dist 1970-01-01 00:00:00 +0000
+++ server/share/ltsp/plugins/ltsp-build-client/Ubuntu/001-set-mint-dist 2013-11-06 01:54:32 +0000
@@ -0,0 +1,18 @@
1case "$MODE" in
2 commandline)
3 add_option "mint-dist" "`eval_gettext "set the linuxmint distribution to be used for install, defaults to running distribution"`" "regular" "true"
4 LSB_RELEASE_C="$(lsb_release -s -c)"
5 LSB_RELEASE_I="$(lsb_release -s -i)"
6 ;;
7 configure)
8 if [ -n "$option_mint_dist_value" ] || [ "$LSB_RELEASE_I" = "LinuxMint" ]; then
9 APT_KEYS=${APT_KEYS:-"/usr/share/keyrings/linuxmint-keyring.gpg"}
10 MINT_DIST=${option_mint_dist_value:-"$LSB_RELEASE_C"}
11 DIST=$(sed -n 's/base_codename=//p' "/usr/share/mintsources/$MINT_DIST/mintsources.conf")
12 MINT_MIRROR=${MINT_MIRROR:-"http://packages.linuxmint.com"}
13 MINT_COMPONENTS=${MINT_COMPONENTS:-"main upstream import"}
14 EARLY_PACKAGES=${EARLY_PACKAGES:-"ltsp-client"}
15 LATE_PACKAGES=${LATE_PACKAGES:-"linuxmint-keyring mint-meta-core mint-artwork-common"}
16 fi
17 ;;
18esac

Subscribers

People subscribed via source and target branches