def METHOD_NAME(self, **kwargs):
    super().METHOD_NAME()
    if not self.compiling_for_host() and self.target_info.is_freebsd():
        self.write_file(self.rootfs_dir / "etc/rc.conf.d/dbus", contents="dbus_enable=\"YES\"\n",
                        overwrite=True, print_verbose_only=False)
        # Slightly modified version of https://cgit.freebsd.org/ports/plain/devel/dbus/files/dbus.in
        # to add the necessary users on-demand and chmod/chown the rsync'd files
        self.write_file(self.rootfs_dir / self.target_info.localbase / "etc/rc.d/dbus", contents=f"""#!/bin/sh