build: add support for per-device rootfs based on device profile packges