Bug 5677

Summary: Verify postinstall behaviour
Product: [QA/Testing] Runtime Testing Reporter: Ross Burton <ross.burton>
Component: generalAssignee: Jose Perez C <jose.perez.carranza>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: Medium CC: bluelightning, jessica.zhang, richard.purdie
Version: unspecified   
Target Milestone: Future   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2013-12-17 11:00:06 UTC
The postinst behaviour needs to be verified, specifically that a postinstall that should run on the host does, and a postinstall that should run on first boot also does.

One idea for implementing this would be a package that creates a file in postinst at rootfs time, and then inspect the contents of the image before booting (either extracting the filesystem, or checking the build dir) to verify it exists.  Another recipe would create a file in the postinst on the target, verify that it doesn't exist on the host and then that it does exist once it's been booted.
Comment 1 Ross Burton 2016-07-26 16:18:15 UTC
Moving to Benjamin to reassign over to someone working on QA.  I'm sure that there's a duplicate of this somewhere but I can't find it...
Comment 2 Jose Perez C 2016-11-07 14:03:42 UTC
this a duplicated bug of bug 8433

*** This bug has been marked as a duplicate of bug 8433 ***