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