Revert "remove device/kernel: defined in localmanifest"

This reverts commit 6bf4751aafcd3474951a5484d2c88646896d0fb1.