Lines Matching refs:TMP
7 TMP="$me.tmp"
14 echo "hi there" > ${TMP}.config.txt
15 echo "hello boys" > ${TMP}.config2.txt
16 dd if=/dev/urandom bs=512 count=1 of=${TMP}.bootloader.bin
17 dd if=/dev/urandom bs=512 count=1 of=${TMP}.bootloader2.bin
18 dd if=/dev/urandom bs=1M count=16 of=${TMP}.kern_partition
30 --pack ${TMP}.blob1.${arch} \
34 --config ${TMP}.config.txt \
35 --bootloader ${TMP}.bootloader.bin \
42 ${FUTILITY} vbutil_kernel --verify ${TMP}.blob1.${arch} \
44 --signpubkey ${DEVKEYS}/recovery_key.vbpubk > ${TMP}.verify1
51 --config ${TMP}.config.txt \
52 --bootloader ${TMP}.bootloader.bin \
57 --outfile ${TMP}.blob2.${arch}
59 ${FUTILITY} vbutil_kernel --verify ${TMP}.blob2.${arch} \
61 --signpubkey ${DEVKEYS}/recovery_key.vbpubk > ${TMP}.verify2
64 cmp ${TMP}.blob1.${arch} ${TMP}.blob2.${arch}
65 diff ${TMP}.verify1 ${TMP}.verify2
71 --repack ${TMP}.blob3.${arch} \
72 --oldblob ${TMP}.blob1.${arch} \
77 --config ${TMP}.config2.txt \
78 --bootloader ${TMP}.bootloader2.bin
81 ${FUTILITY} vbutil_kernel --verify ${TMP}.blob3.${arch} \
83 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify3
91 --config ${TMP}.config2.txt \
92 --bootloader ${TMP}.bootloader2.bin \
93 ${TMP}.blob2.${arch} \
94 ${TMP}.blob4.${arch}
96 ${FUTILITY} vbutil_kernel --verify ${TMP}.blob4.${arch} \
98 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify4
101 cmp ${TMP}.blob3.${arch} ${TMP}.blob4.${arch}
102 diff ${TMP}.verify3 ${TMP}.verify4
107 cp ${TMP}.blob2.${arch} ${TMP}.blob5.${arch}
113 --config ${TMP}.config2.txt \
114 --bootloader ${TMP}.bootloader2.bin \
115 ${TMP}.blob5.${arch}
117 ${FUTILITY} vbutil_kernel --verify ${TMP}.blob5.${arch} \
119 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify5
122 cmp ${TMP}.blob3.${arch} ${TMP}.blob5.${arch}
123 diff ${TMP}.verify3 ${TMP}.verify5
130 --pack ${TMP}.blob1.${arch}.vb1 \
135 --config ${TMP}.config.txt \
136 --bootloader ${TMP}.bootloader.bin \
143 dd bs=${padding} count=1 if=${TMP}.blob1.${arch} of=${TMP}.blob1.${arch}.vb0
144 cmp ${TMP}.blob1.${arch}.vb0 ${TMP}.blob1.${arch}.vb1
151 --config ${TMP}.config.txt \
152 --bootloader ${TMP}.bootloader.bin \
158 ${TMP}.blob2.${arch}.vb1
161 dd bs=${padding} count=1 if=${TMP}.blob2.${arch} of=${TMP}.blob2.${arch}.vb0
162 cmp ${TMP}.blob2.${arch}.vb0 ${TMP}.blob2.${arch}.vb1
168 --repack ${TMP}.blob3.${arch}.vb1 \
170 --oldblob ${TMP}.blob1.${arch} \
175 --config ${TMP}.config2.txt \
176 --bootloader ${TMP}.bootloader2.bin
179 dd bs=${padding} count=1 if=${TMP}.blob3.${arch} of=${TMP}.blob3.${arch}.vb0
180 cmp ${TMP}.blob3.${arch}.vb0 ${TMP}.blob3.${arch}.vb1
183 dd bs=${padding} skip=1 if=${TMP}.blob3.${arch} of=${TMP}.blob3.${arch}.kb0
188 --fv ${TMP}.blob3.${arch}.kb0 \
189 ${TMP}.blob3.${arch}.vb1 > ${TMP}.verify3v
196 --config ${TMP}.config2.txt \
197 --bootloader ${TMP}.bootloader2.bin \
200 ${TMP}.blob2.${arch} \
201 ${TMP}.blob4.${arch}.vb1 \
204 dd bs=${padding} count=1 if=${TMP}.blob4.${arch} of=${TMP}.blob4.${arch}.vb0
205 cmp ${TMP}.blob4.${arch}.vb0 ${TMP}.blob4.${arch}.vb1
208 dd bs=${padding} skip=1 if=${TMP}.blob4.${arch} of=${TMP}.blob4.${arch}.kb0
213 --fv ${TMP}.blob4.${arch}.kb0 \
214 ${TMP}.blob4.${arch}.vb1 > ${TMP}.verify4v
220 cp ${TMP}.kern_partition ${TMP}.part1.${arch}
221 dd if=${TMP}.blob1.${arch} of=${TMP}.part1.${arch} conv=notrunc
224 ${FUTILITY} vbutil_kernel --verify ${TMP}.part1.${arch} \
226 --signpubkey ${DEVKEYS}/recovery_key.vbpubk > ${TMP}.verify6
229 diff ${TMP}.verify1 ${TMP}.verify6
233 --repack ${TMP}.part6.${arch} \
234 --oldblob ${TMP}.part1.${arch} \
239 --config ${TMP}.config2.txt \
240 --bootloader ${TMP}.bootloader2.bin
243 ${FUTILITY} vbutil_kernel --verify ${TMP}.part6.${arch} \
245 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify6.old
248 cmp ${TMP}.blob3.${arch} ${TMP}.part6.${arch}
251 cp ${TMP}.part1.${arch} ${TMP}.part6.${arch}.new1
257 --config ${TMP}.config2.txt \
258 --bootloader ${TMP}.bootloader2.bin \
259 ${TMP}.part6.${arch}.new1
261 ${FUTILITY} vbutil_kernel --verify ${TMP}.part6.${arch}.new1 \
263 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify6.new1
266 diff ${TMP}.verify6.old ${TMP}.verify6.new1
269 blobsize=$(stat -c '%s' ${TMP}.part6.${arch})
270 cmp -n ${blobsize} ${TMP}.part6.${arch} ${TMP}.part6.${arch}.new1
272 cmp -i ${blobsize} ${TMP}.part1.${arch} ${TMP}.part6.${arch}.new1
275 cp ${TMP}.part1.${arch} ${TMP}.part1.${arch}.in
281 --config ${TMP}.config2.txt \
282 --bootloader ${TMP}.bootloader2.bin \
283 ${TMP}.part1.${arch}.in \
284 ${TMP}.part6.${arch}.new2
286 ${FUTILITY} vbutil_kernel --verify ${TMP}.part6.${arch}.new2 \
288 --signpubkey ${DEVKEYS}/kernel_subkey.vbpubk > ${TMP}.verify6.new2
291 cmp ${TMP}.part1.${arch} ${TMP}.part1.${arch}.in
293 diff ${TMP}.verify6.old ${TMP}.verify6.new2
295 cmp ${TMP}.part6.${arch} ${TMP}.part6.${arch}.new2
307 rm -rf ${TMP}*