Add a helper to generate a post-install script for device pmtest subpackages. This script configures the console and enables logging in the initramfs for images running in CI. [ci:ignore-count]