A few notes on manipulating image files of a Raspberry Pi filesystem. How to mount the image file. How to compress the image file.
I’ve been using MCP79410 RTC chip with Raspberry Pi for a few years. In the pre-systemd version of Raspbian there was an init.d script hwclock.sh which took care of synchronizing time. On systemd it is different.