blob: 6980c2312f320ab44e5fa1cb92a2caf4e2d10e5c [file] [log] [blame]
Mike Garrett9a0b3392021-08-27 17:13:07 -05001touch_var_lib_systemd_clock() {
2 install -d ${IMAGE_ROOTFS}/var/lib/systemd/timesync/
3 touch ${IMAGE_ROOTFS}/var/lib/systemd/timesync/clock
4}
5
6ROOTFS_POSTPROCESS_COMMAND += '${@bb.utils.contains("DISTRO_FEATURES", "systemd", "touch_var_lib_systemd_clock; ", "", d)}'
7