Add minItems to ensure that we always have proper sources.list.

This commit is contained in:
Tomasz Rybak 2014-01-25 17:08:35 +01:00
parent f3195b5f6b
commit f5eb071bec

View file

@ -26,7 +26,10 @@
"type": "object",
"properties": {
"release": { "enum": ["wheezy", "testing", "unstable"] },
"sections": { "type": "array" },
"sections": {
"type": "array",
"minItems": 1
},
"architecture": { "enum": ["i386", "amd64"] },
"bootloader": { "enum": ["pvgrub", "grub", "extlinux"] },
"timezone": { "type": "string" },