recipes: kernel/generic: Use 'rootdir' in post-install script