summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/mrc.sh12
1 files changed, 1 insertions, 11 deletions
diff --git a/include/mrc.sh b/include/mrc.sh
index d4c94e5d..9cb64e69 100755
--- a/include/mrc.sh
+++ b/include/mrc.sh
@@ -19,7 +19,7 @@ extract_mrc()
x_ cd "${appdir}"
extract_partition
extract_shellball
- extract_coreboot
+ extract_archive "${SHELLBALL}" .
) || err "mrc download/extract failure"
"${cbfstool}" "${appdir}/"bios.bin extract -n mrc.bin \
@@ -51,13 +51,3 @@ extract_shellball()
printf "cd /usr/sbin\ndump chromeos-firmwareupdate ${SHELLBALL}\nquit" \
| debugfs "${ROOTFS}" || err "extract_shellball: debugfs"
}
-
-extract_coreboot()
-{
- _unpacked=$( mktemp -d )
-
- printf "Extracting coreboot image\n"
- [ -f "${SHELLBALL}" ] || \
- err "extract_coreboot: shellball missing in google cros image"
- x_ unzip "${SHELLBALL}"
-}