Bug 5677 - Verify postinstall behaviour
Summary: Verify postinstall behaviour
Status: RESOLVED DUPLICATE of bug 8433
Alias: None
Product: Runtime Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: unspecified
Hardware: All Multiple
: Medium enhancement
Target Milestone: Future
Assignee: Jose Perez C
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-12-17 11:00 UTC by Ross Burton
Modified: 2016-11-07 14:03 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***