runonce: Fix a basename oversight

This fixes an issue where we were accidentally concatenating two full absolute
paths together for storing the script content hash to disk. Additionally, this
ensures the script run status is flushed to disk after each successful run.

Change-Id: Idd1d8670dc576e3fc6a72d5b4072a981e116274c
1 file changed
tree: ce409cbe90d76b79585544979daf1fce1df7e33b
  1. debian/
  2. usr/