summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 4a5638fb60..7ca9947df8 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1100,7 +1100,7 @@ class BBCooker:
1100 1100
1101 self.configuration.server_register_idlecallback(buildTargetsIdle, rq) 1101 self.configuration.server_register_idlecallback(buildTargetsIdle, rq)
1102 1102
1103 def generateNewImage(self, image, base_image, package_queue, timestamp): 1103 def generateNewImage(self, image, base_image, package_queue, timestamp, description):
1104 ''' 1104 '''
1105 Create a new image with a "require"/"inherit" base_image statement 1105 Create a new image with a "require"/"inherit" base_image statement
1106 ''' 1106 '''
@@ -1125,6 +1125,9 @@ class BBCooker:
1125 package_install += "\"\n" 1125 package_install += "\"\n"
1126 imagefile.write(package_install) 1126 imagefile.write(package_install)
1127 1127
1128 description_var = "DESCRIPTION = \"" + description + "\"\n"
1129 imagefile.write(description_var)
1130
1128 self.state = state.initial 1131 self.state = state.initial
1129 if timestamp: 1132 if timestamp:
1130 return timestr 1133 return timestr