[PATCH v2] sysconfig: use a simple generator script to maintain