phosphor: mrw-api: fetch all of serverwiz

Fetch all of the serverwiz repository so we get the LICENSE.

Change-Id: Ibd2b0d1afeb07e04b940bb82540b7024109087bf
Fixes: 7def530c51f5372756eea09fd6d0589a7f7c22a8
Fixes: openbmc/openbmc#3426
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/classes/mrw-rev.bbclass b/classes/mrw-rev.bbclass
index b5f6e25..6f5cf20 100644
--- a/classes/mrw-rev.bbclass
+++ b/classes/mrw-rev.bbclass
@@ -1,4 +1,4 @@
-MRW_API_SRC_URI ?= "git://github.com/open-power/serverwiz.git;subpath=scripts"
+MRW_API_SRC_URI ?= "git://github.com/open-power/serverwiz.git"
 MRW_API_SRCREV ?= "60c8e10cbb11768cd1ba394b35cb1d6627efec42"
 
 MRW_TOOLS_SRC_URI ?= "git://github.com/openbmc/phosphor-mrw-tools"
diff --git a/recipes-phosphor/mrw/mrw-api-native.bb b/recipes-phosphor/mrw/mrw-api-native.bb
index b08db69..1d277cf 100644
--- a/recipes-phosphor/mrw/mrw-api-native.bb
+++ b/recipes-phosphor/mrw/mrw-api-native.bb
@@ -2,9 +2,9 @@
 DESCRIPTION = "The API for the MRW XML generated by the Serverwiz tool"
 PR = "r1"
 LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=d2794c0df5b907fdace235a619d80314"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
 
-S = "${WORKDIR}/scripts"
+S = "${WORKDIR}/git"
 
 inherit native
 inherit perlnative
@@ -18,5 +18,5 @@
 
 do_install() {
     install -d ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw
-    install -m 0755 Targets.pm ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw/Targets.pm
+    install -m 0755 scripts/Targets.pm ${D}${PERLLIBDIRS_class-native}/perl/site_perl/${PERLVERSION}/mrw/Targets.pm
 }