LFS Manual is still unknown to the majority of the LFS community, it seems Anyway, this might help get you started: https://en.lfsmanual.net/wiki/Script_Guide