Bug 7271

Summary: bitbake should be able to run the toasterui in daemon mode
Product: [Build System, Metadata & Runtime] Toaster Reporter: Alexandru Damian <alexandru.damian>
Component: toasterAssignee: Alexandru Damian <alexandru.damian>
Status: VERIFIED FIXED QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: enhancement    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bluelightning, cristiana.voicu, jessica.zhang, randy.e.witt, srifenbark
Version: 1.9   
Target Milestone: 1.9   
Hardware: x86   
OS: Multiple   
Whiteboard: 29 May 2015: Marking doc flag "done"
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Done (doc changes complete)

Description Alexandru Damian 2015-02-02 12:19:58 UTC
The fix for https://bugzilla.yoctoproject.org/show_bug.cgi?id=7171 introduces a new external dependency for the 'daemon' program.

This can be solved by adding enough code into bitbake to be able to start the "toasterui" in daemon mode, removing the external dependency.
Comment 1 Belen Barros Pena 2015-04-30 13:06:06 UTC
Moving this to 1.9. Randy has provided some feedback on how difficult this dependency makes things for Fedora users.
Comment 2 Alexandru Damian 2015-05-12 09:16:59 UTC
Re-assigned to Randy since he said he's working on it.
Comment 3 Randy Witt 2015-05-19 17:30:18 UTC
This should be fixed in master as of:

commit 8b8859a8fee709a808b4cbb8ed126b8f7e1eafa9
Author: Randy Witt <randy.e.witt@linux.intel.com>
Date:   Mon May 18 15:06:12 2015 -0700
Comment 4 Belen Barros Pena 2015-05-20 10:34:53 UTC
I tested this on Fedora 20 and it seems to be working. Thanks!

I am not sure if we can set to resolved though, since we need to update the Toaster manual to remove the daemon dependency. Hopefully the QA guys know what the usual process is.
Comment 5 Mihail Stanciu 2015-05-29 12:33:54 UTC
Verified that "daemon" is no longer required on master: 6e23a3deb905fab64db3cb085776e3453a45bd8a

Adding Scott for the Toaster manual update required.
Comment 6 Scott Rifenbark 2015-05-29 13:20:56 UTC
I will update the manual.  

On a side note, I think we need a change in bug protocol to account for the documentation flag.  Any bug with the doc flag set to "yes" that gets "fixed" should not be put into a RESOLVED state since the bug is not really fully resolved.  The code might be but the doc part is not.  Our process should be to keep the bug in whatever state it was (e.g. IN PROCESS IMPLEMENTATION or something like that) and then move the owner of the bug to the doc person.  Then, once the doc person is done it can be moved to RESOLVED and on to VERIFIED.  I think this would be a better flow.

scott
Comment 7 Scott Rifenbark 2015-05-29 13:36:09 UTC
Hi, 

I updated the manual to remove the daemon stuff.  Please look over this section:

http://www.yoctoproject.org/docs/1.9/toaster-manual/toaster-manual.html#toaster-establishing-toaster-system-dependencies

I removed the mentioning of the daemon in the intro paragraph and then completely removed a sub-section that described how to install the daemon. 

Let me know if this is good and I will set the doc flag to "done".

Thanks,
Scott
Comment 8 Belen Barros Pena 2015-05-29 16:00:43 UTC
(In reply to comment #7)
> Hi, 
> 
> I updated the manual to remove the daemon stuff.  Please look over this
> section:
> 
> http://www.yoctoproject.org/docs/1.9/toaster-manual/toaster-manual.
> html#toaster-establishing-toaster-system-dependencies
> 
> I removed the mentioning of the daemon in the intro paragraph and then
> completely removed a sub-section that described how to install the daemon. 
> 
> Let me know if this is good and I will set the doc flag to "done".

This looks good to me. Thanks!


> 
> Thanks,
> Scott
Comment 9 Alexandru Damian 2015-05-29 16:09:04 UTC
This is fine, thank you Scott. Please mark the bug as Done.
Comment 10 Scott Rifenbark 2015-05-29 17:39:17 UTC
Hi, 

I am marking the documentation flag to "done" for this issue. 

Thanks, 
Scott