Skip to content

Instantly share code, notes, and snippets.

@psyke83
Created July 10, 2011 00:43
Show Gist options
  • Save psyke83/1074101 to your computer and use it in GitHub Desktop.
Save psyke83/1074101 to your computer and use it in GitHub Desktop.
assert(package_extract_file("recovery.img", "/tmp/recovery.img"),
write_raw_image("/tmp/recovery.img", "recovery"),
delete("/tmp/recovery.img"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment