I was trying to do the same thing and this was the post which duckduck go lead me to.
For the future searchers: you'll need format_partitions__func_name() function (notice "partitions" vs "partition").
You have 2 options: create separate file in extensions with your function and enable it in board config file or just create function in board config file (eg config/boards/orangepizero3.csc), like:
function format_partitions__fstab() {
echo "# something custom for fstab" >> $SDCARD/etc/fstab
}
Rerun compile.sh and you'll have your custom fstab
I did try all the hooks but only modifications done in format_partitions will end up not overwritten.