diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-09-28 21:45:24 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-29 14:11:37 +0100 |
commit | d98c771a9aa047a71a30b570aba544c043d05447 (patch) | |
tree | 2fdcddd23547a1a6cea72cb9ed7e576f4d8a5c5e /bitbake/lib/toaster/toastergui/views.py | |
parent | 37948cc5d0e9274a2ca0ec70a5b4788fa26e55e5 (diff) | |
download | poky-d98c771a9aa047a71a30b570aba544c043d05447.tar.gz |
bitbake: toaster: Add Image customisation frontend feature
Add the Image customisation front end feature to Toaster.
Caveat - This feature is currently in development and should not be
enabled by default.
(Bitbake rev: 543586462b66434741f47f2884b4ccdeda5397b5)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: brian avery <avery.brian@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rwxr-xr-x | bitbake/lib/toaster/toastergui/views.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 392e56da2a..b7eddf411d 100755 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
@@ -2790,6 +2790,15 @@ if True: | |||
2790 | 2790 | ||
2791 | return(vars_managed,sorted(vars_fstypes),vars_blacklist) | 2791 | return(vars_managed,sorted(vars_fstypes),vars_blacklist) |
2792 | 2792 | ||
2793 | def customrecipe(request, pid, recipe_id): | ||
2794 | project = Project.objects.get(pk=pid) | ||
2795 | context = {'project' : project, | ||
2796 | 'projectlayers': [], | ||
2797 | 'recipe' : CustomImageRecipe.objects.get(pk=recipe_id) | ||
2798 | } | ||
2799 | |||
2800 | return render(request, "customrecipe.html", context) | ||
2801 | |||
2793 | @_template_renderer("projectconf.html") | 2802 | @_template_renderer("projectconf.html") |
2794 | def projectconf(request, pid): | 2803 | def projectconf(request, pid): |
2795 | 2804 | ||