Comment 1 for bug 1981637

Revision history for this message
Alex Murray (alexmurray) wrote :

I think this is expected - the snap declaration should use regex's for matching these attributes - something like the following I think (off the top of my head, this is untested):

"custom-device": {
 "allow-installation": [
      {
        "on-store": [
          "honeywell-international-inc"
        ],
        "slot-attributes": {
          "devices": "/dev/(mtd\\[0-9\\]|chunkfs/chunkfs\\[0-2\\])",
          "read-devices": "/dev/chunkfs/(geom|stats|sizes)"
        },
        "slot-names": [
          "fram-devices"
        ]
      }
    ]
}