Merge lp:~cyphermox/debian-cd/default-language into lp:~ubuntu-cdimage/debian-cd/ubun3

Proposed by Mathieu Trudel-Lapierre
Status: Merged
Merged at revision: 1911
Proposed branch: lp:~cyphermox/debian-cd/default-language
Merge into: lp:~ubuntu-cdimage/debian-cd/ubun3
Diff against target: 114 lines (+16/-0)
9 files modified
tools/boot/wily/boot-amd64 (+1/-0)
tools/boot/wily/boot-amd64+mac (+1/-0)
tools/boot/wily/boot-armel+dove (+1/-0)
tools/boot/wily/boot-armel+omap (+1/-0)
tools/boot/wily/boot-i386 (+1/-0)
tools/boot/wily/boot-i386+mac (+1/-0)
tools/boot/wily/boot-powerpc (+1/-0)
tools/boot/wily/boot-ppc64el (+1/-0)
tools/boot/wily/common.sh (+8/-0)
To merge this branch: bzr merge lp:~cyphermox/debian-cd/default-language
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+256221@code.launchpad.net

Description of the change

Language magic for ubuntukylin.

To post a comment you must log in.
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Work in progress, I haven't done the same thing on all architectures so we could discuss whether that's the right way to handle this.

It's explicitly not removing the isolinux/lang bits for kylin and kubuntu, as they're needed to not pop up the language picker gfxboot menu when the CD loads.

Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Now ready for review.

1909. By Adam Conrad

vivid -> Release

1910. By Adam Conrad

Copy vivid -> wily, and add wily to CONF.sh

1911. By Mathieu Trudel-Lapierre

Provide a way for flavors to specify a default language.

Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'tools/boot/wily/boot-amd64'
--- tools/boot/wily/boot-amd64 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-amd64 2015-05-14 16:01:34 +0000
@@ -24,6 +24,7 @@
24fi24fi
2525
26default_preseed26default_preseed
27default_language
2728
28cd $CDDIR/..29cd $CDDIR/..
2930
3031
=== modified file 'tools/boot/wily/boot-amd64+mac'
--- tools/boot/wily/boot-amd64+mac 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-amd64+mac 2015-05-14 16:01:34 +0000
@@ -26,6 +26,7 @@
26fi26fi
2727
28default_preseed28default_preseed
29default_language
2930
30cd $CDDIR/..31cd $CDDIR/..
3132
3233
=== modified file 'tools/boot/wily/boot-armel+dove'
--- tools/boot/wily/boot-armel+dove 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-armel+dove 2015-05-14 16:01:34 +0000
@@ -27,6 +27,7 @@
27fi27fi
2828
29default_preseed29default_preseed
30default_language
3031
31cd $CDDIR/..32cd $CDDIR/..
3233
3334
=== modified file 'tools/boot/wily/boot-armel+omap'
--- tools/boot/wily/boot-armel+omap 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-armel+omap 2015-05-14 16:01:34 +0000
@@ -27,6 +27,7 @@
27fi27fi
2828
29default_preseed29default_preseed
30default_language
3031
31cd $CDDIR/..32cd $CDDIR/..
3233
3334
=== modified file 'tools/boot/wily/boot-i386'
--- tools/boot/wily/boot-i386 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-i386 2015-05-14 16:01:34 +0000
@@ -24,6 +24,7 @@
24fi24fi
2525
26default_preseed26default_preseed
27default_language
2728
28cd $CDDIR/..29cd $CDDIR/..
2930
3031
=== modified file 'tools/boot/wily/boot-i386+mac'
--- tools/boot/wily/boot-i386+mac 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-i386+mac 2015-05-14 16:01:34 +0000
@@ -24,6 +24,7 @@
24fi24fi
2525
26default_preseed26default_preseed
27default_language
2728
28cd $CDDIR/..29cd $CDDIR/..
2930
3031
=== modified file 'tools/boot/wily/boot-powerpc'
--- tools/boot/wily/boot-powerpc 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-powerpc 2015-05-14 16:01:34 +0000
@@ -24,6 +24,7 @@
24fi24fi
2525
26default_preseed26default_preseed
27default_language
2728
28cd $CDDIR/..29cd $CDDIR/..
2930
3031
=== modified file 'tools/boot/wily/boot-ppc64el'
--- tools/boot/wily/boot-ppc64el 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/boot-ppc64el 2015-05-14 16:01:34 +0000
@@ -21,6 +21,7 @@
21fi21fi
2222
23default_preseed23default_preseed
24default_language
2425
25cd $CDDIR/..26cd $CDDIR/..
2627
2728
=== modified file 'tools/boot/wily/common.sh'
--- tools/boot/wily/common.sh 2015-05-08 05:28:37 +0000
+++ tools/boot/wily/common.sh 2015-05-14 16:01:34 +0000
@@ -76,6 +76,14 @@
76 fi76 fi
77}77}
7878
79default_language() {
80 case $PROJECT in
81 ubuntukylin)
82 KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }locale=zh_CN keyboard-configuration/layoutcode?=cn"
83 ;;
84 esac
85}
86
79list_kernel_abis() {87list_kernel_abis() {
80 perl -le '88 perl -le '
81 BEGIN { %images = map { $_ => 1 } @ARGV; $found = 0; %abis = (); }89 BEGIN { %images = map { $_ => 1 } @ARGV; $found = 0; %abis = (); }

Subscribers

People subscribed via source and target branches