Searched refs:tmpdir (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/Documentation/dvb/
H A Dget_dvb_firmware67 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
72 unzip($sourcefile, $tmpdir);
73 verify("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $hash);
74 copy("$tmpdir/software/OEM/HE/App/boot/SC_MAIN.MC", $outfile);
85 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
91 unzip($sourcefile, $tmpdir);
92 unshield("$tmpdir/$cabfile", $tmpdir);
93 verify("$tmpdir/ZEnglish/sc_main.mc", $hash);
94 copy("$tmpdir/ZEnglish/sc_main.mc", $outfile);
104 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
109 unzip($sourcefile, $tmpdir);
110 extract("$tmpdir/software/OEM/PCI/App/ttlcdacc.dll", 0x37ef9, 30555, "$tmpdir/fwtmp");
111 verify("$tmpdir/fwtmp", $hash);
112 copy("$tmpdir/fwtmp", $outfile);
122 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
127 unzip($sourcefile, $tmpdir);
128 extract("$tmpdir/TT_PCI_2.19h_28_11_2006/software/OEM/PCI/App/ttlcdacc.dll", 0x65389, 24478, "$tmpdir/fwtmp");
129 verify("$tmpdir/fwtmp", $hash);
130 copy("$tmpdir/fwtmp", $outfile);
140 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
145 unzip($sourcefile, $tmpdir);
146 extract("$tmpdir/LVHybrid.sys", 0x8b088, 24602, "$tmpdir/fwtmp");
147 verify("$tmpdir/fwtmp", $hash);
148 copy("$tmpdir/fwtmp", $outfile);
173 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
178 unzip($sourcefile, $tmpdir);
179 verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $hash);
180 copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_T.bin", $outfile);
190 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
195 unzip($sourcefile, $tmpdir);
196 verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $hash);
197 copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_X.bin", $outfile);
207 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
212 unzip($sourcefile, $tmpdir);
213 verify("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $hash);
214 copy("$tmpdir/software/OEM/STB/App/Boot/STB_PC_S.bin", $outfile);
219 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
224 extract("2830SCap2.sys", 0x62e8, 55024, "$tmpdir/opera1-fpga.fw");
225 extract("2830SLoad2.sys",0x3178,0x3685-0x3178,"$tmpdir/fw1part1");
226 extract("2830SLoad2.sys",0x0980,0x3150-0x0980,"$tmpdir/fw1part2");
227 delzero("$tmpdir/fw1part1","$tmpdir/fw1part1-1");
228 delzero("$tmpdir/fw1part2","$tmpdir/fw1part2-1");
229 verify("$tmpdir/fw1part1-1","5e0909858fdf0b5b09ad48b9fe622e70");
230 verify("$tmpdir/fw1part2-1","d6e146f321427e931df2c6fcadac37a1");
231 verify("$tmpdir/opera1-fpga.fw","0f8133f5e9051f5f3c1928f7e5a1b07d");
237 open FW,">$tmpdir/opera.fw";
242 appendfile(FW,"$tmpdir/fw1part1-1");
247 appendfile(FW,"$tmpdir/fw1part2-1");
252 copy ("$tmpdir/opera1-fpga.fw",$fwfile1);
253 copy ("$tmpdir/opera.fw",$fwfile2);
263 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
268 unzip($sourcefile, $tmpdir);
269 extract("$tmpdir/VisionDTV/Drivers/Win2K&XP/UDTTload.sys", 12503, 3036, "$tmpdir/fwtmp1");
270 extract("$tmpdir/VisionDTV/Drivers/Win2K&XP/UDTTload.sys", 2207, 10274, "$tmpdir/fwtmp2");
275 open $FW, ">$tmpdir/fwtmp3";
278 appendfile($FW, "$tmpdir/fwtmp1");
281 appendfile($FW, "$tmpdir/fwtmp2");
286 verify("$tmpdir/fwtmp3", $hash);
287 copy("$tmpdir/fwtmp3", $outfile);
323 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
328 unzip($sourcefile, $tmpdir);
329 verify("$tmpdir/SkyNET.sys", $hash);
330 extract("$tmpdir/SkyNET.sys", 331624, 5908, $outfile);
340 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
345 unzip($sourcefile, $tmpdir);
346 verify("$tmpdir/3xHybrid.sys", $hash);
347 extract("$tmpdir/3xHybrid.sys", 465304, 9584, $outfile);
405 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
409 unzip($archive, $tmpdir);
411 my $sourcefile = "$tmpdir/Yuan MPC718 TV Tuner Card 2.13.10.1016/mpc718_32bit/yuanrap.sys";
539 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
547 unzip($sourcefile, $tmpdir);
548 verify("$tmpdir/Driver/Files/AF15BDA.sys", $hash);
550 open INFILE, '<', "$tmpdir/Driver/Files/AF15BDA.sys";
647 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
655 unzip($zipfile, $tmpdir);
656 extract("$tmpdir/$drvfile", 0x14dd8, 15634, "$fwfile");
665 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
673 unzip($zipfile, $tmpdir);
674 extract("$tmpdir/$drvfile", 0x117b0, 42692, "$fwfile");
696 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 0);
704 unzip($zipfile, $tmpdir);
705 extract("$tmpdir/$drvfile", 0x4e5c0, 42692, "$fwfile");
737 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
743 unzip($sourcefile, $tmpdir);
744 extract("$tmpdir/PCTV\ 70e\ 80e\ 100e\ 320e\ 330e\ 800e/32\ bit/emOEM.sys", 0x67d38, 40504, $fwfile);
754 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
760 unzip($sourcefile, $tmpdir);
761 extract("$tmpdir/PCTV\ 70e\ 80e\ 100e\ 320e\ 330e\ 800e/32\ bit/emOEM.sys", 0x72b80, 42692, $fwfile);
793 my $tmpdir = tempdir(DIR => "/tmp", CLEANUP => 1);
799 unzip($sourcefile, $tmpdir);
800 extract("$tmpdir/Driver10/Hcw10bda.sys", 0x80788, 0x81E08-0x80788, "$tmpdir/fw1");
802 delzero("$tmpdir/fw1","$tmpdir/fw1-1");
803 #verify("$tmpdir/fw1","5e0909858fdf0b5b09ad48b9fe622e70");
814 appendfile(FW,"$tmpdir/fw1");
/linux-4.4.14/scripts/package/
H A Dbuilddeb92 tmpdir="$objtree/debian/tmp"
127 rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir" $objtree/debian/files
128 mkdir -m 755 -p "$tmpdir/DEBIAN"
129 mkdir -p "$tmpdir/lib" "$tmpdir/boot"
135 mkdir -p "$tmpdir/usr/lib/uml/modules/$version" "$tmpdir/usr/bin" "$tmpdir/usr/share/doc/$packagename"
137 cp System.map "$tmpdir/usr/lib/uml/modules/$version/System.map"
138 cp $KCONFIG_CONFIG "$tmpdir/usr/share/doc/$packagename/config"
139 gzip "$tmpdir/usr/share/doc/$packagename/config"
141 cp System.map "$tmpdir/boot/System.map-$version"
142 cp $KCONFIG_CONFIG "$tmpdir/boot/config-$version"
146 cp $KBUILD_IMAGE "$tmpdir/$installed_image_path"
148 cp arch/$ARCH/boot/$KBUILD_IMAGE "$tmpdir/$installed_image_path"
154 $MAKE KBUILD_SRC= INSTALL_DTBS_PATH="$tmpdir/usr/lib/$packagename" dtbs_install
159 INSTALL_MOD_PATH="$tmpdir" $MAKE KBUILD_SRC= modules_install
160 rm -f "$tmpdir/lib/modules/$version/build"
161 rm -f "$tmpdir/lib/modules/$version/source"
163 mv "$tmpdir/lib/modules/$version"/* "$tmpdir/usr/lib/uml/modules/$version/"
164 rmdir "$tmpdir/lib/modules/$version"
167 for module in $(find $tmpdir/lib/modules/ -name *.ko -printf '%P\n'); do
171 $OBJCOPY --only-keep-debug $tmpdir/$module $dbg_dir/usr/lib/debug/$module
173 $OBJCOPY --strip-debug $tmpdir/$module
175 $OBJCOPY --add-gnu-debuglink=$dbg_dir/usr/lib/debug/$module $tmpdir/$module
181 INSTALL_MOD_PATH="$tmpdir" $MAKE KBUILD_SRC= modules_sign
203 mkdir -p "$tmpdir$debhookdir/$script.d"
204 cat <<EOF > "$tmpdir/DEBIAN/$script"
218 chmod 755 "$tmpdir/DEBIAN/$script"
349 if [ -e "$tmpdir/lib/firmware" ]; then
350 mv "$tmpdir/lib/firmware"/* "$fwdir/lib/firmware/$version/"
351 rmdir "$tmpdir/lib/firmware"
380 create_package "$packagename" "$tmpdir"
/linux-4.4.14/arch/powerpc/boot/
H A Dwrapper57 tmpdir=.
127 tmpdir="$1"
169 tmp=$tmpdir/zImage.$$.o
307 vmz="$tmpdir/`basename \"$kernel\"`.$ext"
/linux-4.4.14/tools/testing/ktest/
H A Dktest.pl81 my $tmpdir;
233 "TMP_DIR" => \$tmpdir,
2145 run_command "$make INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=$tmpdir modules_install" or
2155 run_command "cd $tmpdir && tar -cjf $modtar lib/modules/$version" or
2158 run_scp_mod "$tmpdir/$modtar", "/tmp" or
2161 unlink "$tmpdir/$modtar";
2816 my $tmp_log = "$tmpdir/ktest_bisect_log";
3327 $good_config = "$tmpdir/good_config";
3328 $bad_config = "$tmpdir/bad_config";
3805 my $temp_config = "$tmpdir/temp_config";
4237 if (!-d $tmpdir) {
4238 mkpath($tmpdir) or
4239 die "can't create $tmpdir";
4245 $buildlog = "$tmpdir/buildlog-$machine";
4246 $testlog = "$tmpdir/testlog-$machine";
4247 $dmesg = "$tmpdir/dmesg-$machine";
4305 run_command "cat $addconfig $min > $tmpdir/add_config" or
4307 $minconfig = "$tmpdir/add_config";

Completed in 218 milliseconds