diff --git a/pkgschema/schemas/raw-object.json b/pkgschema/schemas/raw-object.json index cd6173c..0d7a0ef 100644 --- a/pkgschema/schemas/raw-object.json +++ b/pkgschema/schemas/raw-object.json @@ -23,9 +23,9 @@ "$ref": "install-if-different.json" }, "target-type": { - "description": "The type of target (only device)", + "description": "The type of target: device, or boot-emmc for the eMMC hardware boot partition of the installation set being installed (the target is then the eMMC base device, e.g. /dev/mmcblk1)", "type": "string", - "enum": ["device"] + "enum": ["device", "boot-emmc"] }, "target": { "$ref": "definitions.json#/target" diff --git a/tests/schemas/run.sh b/tests/schemas/run.sh index 4a12016..824eba2 100755 --- a/tests/schemas/run.sh +++ b/tests/schemas/run.sh @@ -511,7 +511,7 @@ runner "raw-object target-type property must be mtdname or device" \ raw-object.json \ raw-object/invalid-target-type.json \ INVALID \ - "properties/target-type/enum: 'ubivolume' is not one of ['device']" + "properties/target-type/enum: 'ubivolume' is not one of ['device', 'boot-emmc']" ## PROPERTY: target runner "raw-object target is required" \