summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-03-11 18:19:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-16 17:44:12 +0000
commit5c4b7e00525b68958d551de189dbcf871cedf68d (patch)
treecb3a28a6bb492c8f46cf10bd9ff9c95e93a3c492 /bitbake/lib/toaster/toastergui
parentc2a1e044c811c6a1174e17373b184d40caa829ed (diff)
downloadpoky-5c4b7e00525b68958d551de189dbcf871cedf68d.tar.gz
bitbake: toaster: projectconf fix typo of package name
The package should be deb rather than dev. (Bitbake rev: 0d305d0ae06f5e4a3e271147e7f87c33a20fdcb2) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/projectconf.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html b/bitbake/lib/toaster/toastergui/templates/projectconf.html
index c994f31bbc..ffdf760dab 100644
--- a/bitbake/lib/toaster/toastergui/templates/projectconf.html
+++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html
@@ -89,7 +89,7 @@
89 <i class="icon-question-sign get-help" title="The package format used to generate the root file system. Options are <code>dev</code>, <code>ipk</code> and <code>rpm</code>"></i> 89 <i class="icon-question-sign get-help" title="The package format used to generate the root file system. Options are <code>dev</code>, <code>ipk</code> and <code>rpm</code>"></i>
90 </label> 90 </label>
91 <select id="package_classes-select"> 91 <select id="package_classes-select">
92 <option>package_dev</option> 92 <option>package_deb</option>
93 <option>package_ipk</option> 93 <option>package_ipk</option>
94 <option>package_rpm</option> 94 <option>package_rpm</option>
95 </select> 95 </select>
@@ -98,7 +98,7 @@
98 <i class="icon-question-sign get-help" title="Extra package formats to build"></i> 98 <i class="icon-question-sign get-help" title="Extra package formats to build"></i>
99 </label> 99 </label>
100 <label class="checkbox" id="package_class_1"> 100 <label class="checkbox" id="package_class_1">
101 <input type="checkbox" id="package_class_1_input"> package_dev 101 <input type="checkbox" id="package_class_1_input"> package_deb
102 </label> 102 </label>
103 <label class="checkbox" id="package_class_2"> 103 <label class="checkbox" id="package_class_2">
104 <input type="checkbox" id="package_class_2_input"> package_ipk 104 <input type="checkbox" id="package_class_2_input"> package_ipk
@@ -325,16 +325,16 @@
325 // Preset or reset the Package Class checkbox labels 325 // Preset or reset the Package Class checkbox labels
326 function updatePackageClassCheckboxes() { 326 function updatePackageClassCheckboxes() {
327 $('#package_class_1, #package_class_2').hide(); 327 $('#package_class_1, #package_class_2').hide();
328 if ($('select').val() == 'package_dev') { 328 if ($('select').val() == 'package_deb') {
329 $('#package_class_1').html('<input type="checkbox" id="package_class_1_input"> package_ipk'); 329 $('#package_class_1').html('<input type="checkbox" id="package_class_1_input"> package_ipk');
330 $('#package_class_2').html('<input type="checkbox" id="package_class_2_input"> package_rpm'); 330 $('#package_class_2').html('<input type="checkbox" id="package_class_2_input"> package_rpm');
331 } 331 }
332 if ($('select').val() == 'package_ipk') { 332 if ($('select').val() == 'package_ipk') {
333 $('#package_class_1').html('<input type="checkbox" id="package_class_1_input"> package_dev'); 333 $('#package_class_1').html('<input type="checkbox" id="package_class_1_input"> package_deb');
334 $('#package_class_2').html('<input type="checkbox" id="package_class_2_input"> package_rpm'); 334 $('#package_class_2').html('<input type="checkbox" id="package_class_2_input"> package_rpm');
335 } 335 }
336 if ($('select').val() == 'package_rpm') { 336 if ($('select').val() == 'package_rpm') {
337 $('#package_class_1').html('<input type="checkbox" id="package_class_1_input"> package_dev'); 337 $('#package_class_1').html('<input type="checkbox" id="package_class_1_input"> package_deb');
338 $('#package_class_2').html('<input type="checkbox" id="package_class_2_input"> package_ipk'); 338 $('#package_class_2').html('<input type="checkbox" id="package_class_2_input"> package_ipk');
339 } 339 }
340 $('#package_class_1, #package_class_2').fadeIn(1500); 340 $('#package_class_1, #package_class_2').fadeIn(1500);
@@ -687,7 +687,7 @@
687 687
688 // initialize the pulldown and checkboxes 688 // initialize the pulldown and checkboxes
689 var value = document.getElementById("package_classes").innerHTML; 689 var value = document.getElementById("package_classes").innerHTML;
690 if (0 == value.indexOf("package_dev")) { 690 if (0 == value.indexOf("package_deb")) {
691 $('select').selectedIndex = 0; 691 $('select').selectedIndex = 0;
692 updatePackageClassCheckboxes(); 692 updatePackageClassCheckboxes();
693 if (0 < value.indexOf("package_ipk")) {document.getElementById("package_class_1_input").checked = true}; 693 if (0 < value.indexOf("package_ipk")) {document.getElementById("package_class_1_input").checked = true};
@@ -696,13 +696,13 @@
696 if (0 == value.indexOf("package_ipk")) { 696 if (0 == value.indexOf("package_ipk")) {
697 $('select').selectedIndex = 1; 697 $('select').selectedIndex = 1;
698 updatePackageClassCheckboxes(); 698 updatePackageClassCheckboxes();
699 if (0 < value.indexOf("package_dev")) {document.getElementById("package_class_1_input").checked = true;}; 699 if (0 < value.indexOf("package_deb")) {document.getElementById("package_class_1_input").checked = true;};
700 if (0 < value.indexOf("package_rpm")) {document.getElementById("package_class_2_input").checked = true;}; 700 if (0 < value.indexOf("package_rpm")) {document.getElementById("package_class_2_input").checked = true;};
701 } 701 }
702 if (0 == value.indexOf("package_rpm")) { 702 if (0 == value.indexOf("package_rpm")) {
703 $('select').selectedIndex = 2; 703 $('select').selectedIndex = 2;
704 updatePackageClassCheckboxes(); 704 updatePackageClassCheckboxes();
705 if (0 < value.indexOf("package_dev")) {document.getElementById("#package_class_1_input").checked = true;}; 705 if (0 < value.indexOf("package_deb")) {document.getElementById("#package_class_1_input").checked = true;};
706 if (0 < value.indexOf("package_ipk")) {document.getElementById("#package_class_2_input").checked = true;}; 706 if (0 < value.indexOf("package_ipk")) {document.getElementById("#package_class_2_input").checked = true;};
707 } 707 }
708 }); 708 });
@@ -723,16 +723,16 @@
723 723
724 pc1_checked = document.getElementById("package_class_1_input").checked; 724 pc1_checked = document.getElementById("package_class_1_input").checked;
725 pc2_checked = document.getElementById("package_class_2_input").checked; 725 pc2_checked = document.getElementById("package_class_2_input").checked;
726 if (val == "package_dev") { 726 if (val == "package_deb") {
727 if (pc1_checked) val = val + " package_ipk"; 727 if (pc1_checked) val = val + " package_ipk";
728 if (pc2_checked) val = val + " package_rpm"; 728 if (pc2_checked) val = val + " package_rpm";
729 } 729 }
730 if (val == "package_ipk") { 730 if (val == "package_ipk") {
731 if (pc1_checked) val = val + " package_dev"; 731 if (pc1_checked) val = val + " package_deb";
732 if (pc2_checked) val = val + " package_rpm"; 732 if (pc2_checked) val = val + " package_rpm";
733 } 733 }
734 if (val == "package_rpm") { 734 if (val == "package_rpm") {
735 if (pc1_checked) val = val + " package_dev"; 735 if (pc1_checked) val = val + " package_deb";
736 if (pc2_checked) val = val + " package_ipk"; 736 if (pc2_checked) val = val + " package_ipk";
737 } 737 }
738 738