magiccore: add ubuntu/debian depext (#1304)