pull/1/head
cfig 9 years ago
parent 918183bd33
commit 57f9e4f86d

@ -48,6 +48,10 @@ task unpack_cpio(type: Exec, dependsOn: unpack_ramdisk_gz) {
args = ['-i', '-F', '../ramdisk.img']
}
task unpack(type: Delete, dependsOn: unpack_cpio) {
delete workdir + "/ramdisk.img.gz"
}
public void unGunzipFile(String compressedFile, String decompressedFile) throws IOException {
byte[] buffer = new byte[1024];
try {
@ -65,7 +69,3 @@ public void unGunzipFile(String compressedFile, String decompressedFile) throws
throw ex;
}
}
task unpack(type: Delete, dependsOn: unpack_cpio) {
delete workdir + "/ramdisk.img.gz"
}

Loading…
Cancel
Save