diff --git a/InstallAppdata.sh b/InstallAppdata.sh index f2ad433..3a00a4d 100644 --- a/InstallAppdata.sh +++ b/InstallAppdata.sh @@ -40,9 +40,10 @@ while ([ "$1" = "-R" ]); do fi ;; yast2) - if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then + # We do not validate an appdata.xml.gz in a yast2 repo: those are created by appstream-builder, and we can trust them + #if appstream-util validate-relax --nonet "$6$YAST2/appdata.xml.gz" 2>&1 > /dev/null; then appstream-util install-origin "$2" "$6$YAST2/appdata.xml.gz" "$6$YAST2/appdata-icons.tar.gz" 2>&1 > /dev/null - fi + #fi ;; *) echo "unknown repo type - Appstream data not considered" diff --git a/libzypp-plugin-appdata.changes b/libzypp-plugin-appdata.changes index cefd21e..4c6522e 100644 --- a/libzypp-plugin-appdata.changes +++ b/libzypp-plugin-appdata.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 23 07:23:16 UTC 2015 - dimstar@opensuse.org + +- No need to validate appdata.xml.gz in a yast2 repo: those are + created by kiwi, which in turn spanws appstream-builder: we can + trust that it creates valid enough metadata. + ------------------------------------------------------------------- Tue Apr 7 11:42:52 UTC 2015 - dimstar@opensuse.org