summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorDave Lerner <dave.lerner@windriver.com>2016-03-24 12:12:10 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-26 07:34:58 +0000
commit9bf98a935177ce7ac04c830bcecbfc22961c36b8 (patch)
tree9d5968db8a6c77b52d34ad69e52e1df8354feeaf /bitbake
parentd5a419d6281f0547826fcae5b7f38148dcf643ed (diff)
downloadpoky-9bf98a935177ce7ac04c830bcecbfc22961c36b8.tar.gz
bitbake: toaster: new customise package-remove modal dlg
For customised image package removal, show a different modal dialog that lists ALL of the packages dependent on this package, with a Remove All button - implying that all of the dependents will be removed. [YOCTO #9121] (Bitbake rev: 768e6bb90c433687b0d52f256b7115499ca3418b) Signed-off-by: Dave Lerner <dave.lerner@windriver.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/customrecipe.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/customrecipe.html b/bitbake/lib/toaster/toastergui/templates/customrecipe.html
index 8cce919670..4b589926c5 100644
--- a/bitbake/lib/toaster/toastergui/templates/customrecipe.html
+++ b/bitbake/lib/toaster/toastergui/templates/customrecipe.html
@@ -66,13 +66,14 @@
66 <h3><span class="package-to-rm-name"></span> reverse dependencies</h3> 66 <h3><span class="package-to-rm-name"></span> reverse dependencies</h3>
67 </div> 67 </div>
68 <div class="modal-body"> 68 <div class="modal-body">
69 <p>Based on information from a previous build it is likely that <strong class="package-to-rm-name"></strong> may be added again as the following packages directly depend on it for your custom image:</p> 69 <p> <strong class="reverse-deps-count"></strong> <span class="reverse-deps-package"></span> in your image <span class="reverse-deps-depends"></span> on <strong class="package-to-rm-name"></strong>:</p>
70 <ul id="package-reverse-dep-list"> 70 <ul id="package-reverse-dep-list">
71 </ul> 71 </ul>
72 <p>In order to remove <strong class="package-to-rm-name"></strong>, you must remove <span class="reverse-deps-this"></span> <strong class="reverse-deps-count"></strong> <span class="reverse-deps-package"></span> as well.</p>
72 </div> 73 </div>
73 <div class="modal-footer"> 74 <div class="modal-footer">
74 <p class="help-block text-left">Total package size: <strong id="package-reverse-deps-total-size"></strong></p> 75 <p class="help-block text-left">Total package size: <strong id="package-reverse-deps-total-size"></strong></p>
75 <button id="rm-package-reverse-deps-modal-btn" type="submit" class="btn btn-primary" data-dismiss="modal">Remove package</button> 76 <button id="rm-package-reverse-deps-modal-btn" type="submit" class="btn btn-primary" data-dismiss="modal">Remove all <span class="reverse-deps-count-plus1"></button>
76 <button class="btn" data-dismiss="modal">Cancel</button> 77 <button class="btn" data-dismiss="modal">Cancel</button>
77 </div> 78 </div>
78</div> 79</div>