Convert more upgrade scripts to the new sysctl helper
Add gluon-legacy package with legacy upgrade scripts