Downgrade message from ERROR to NOTICE.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 4 Mar 2010 22:47:57 +0000 (22:47 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Thu, 4 Mar 2010 22:47:57 +0000 (22:47 +0000)
This is a normal condition for feeds which supply multiple target
architectures, as pointed out by Koen Kooi.

git-svn-id: http://opkg.googlecode.com/svn/trunk@525 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libopkg/pkg_hash.c

index 5850082..a7e3f52 100644 (file)
@@ -107,7 +107,7 @@ pkg_hash_add_from_file(const char *file_name,
 
                if (!pkg->architecture || !pkg->arch_priority) {
                        char *version_str = pkg_version_str_alloc(pkg);
-                       opkg_msg(ERROR, "Package %s version %s has no "
+                       opkg_msg(NOTICE, "Package %s version %s has no "
                                        "valid architecture, ignoring.\n",
                                        pkg->name, version_str);
                        free(version_str);