[PATCH mock] Allow installation when /dev is mounted read-only