build: Drop unnecessary argument to BuildCommand()
Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
		@@ -102,7 +102,7 @@ class Build:
 | 
				
			|||||||
        macro.add(WriteBBConfig())
 | 
					        macro.add(WriteBBConfig())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Build
 | 
					        # Build
 | 
				
			||||||
        macro.add(BuildCommand(args.task))
 | 
					        macro.add(BuildCommand())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if 'SSH_PRIVATE_KEY' in os.environ:
 | 
					        if 'SSH_PRIVATE_KEY' in os.environ:
 | 
				
			||||||
            macro.add(CleanupSSHAgent())
 | 
					            macro.add(CleanupSSHAgent())
 | 
				
			||||||
@@ -117,9 +117,8 @@ class BuildCommand(Command):
 | 
				
			|||||||
        Implements the bitbake build step.
 | 
					        Implements the bitbake build step.
 | 
				
			||||||
    """
 | 
					    """
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __init__(self, task):
 | 
					    def __init__(self):
 | 
				
			||||||
        super().__init__()
 | 
					        super().__init__()
 | 
				
			||||||
        self.task = task
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def __str__(self):
 | 
					    def __str__(self):
 | 
				
			||||||
        return 'build'
 | 
					        return 'build'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user