summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark A. Greer <mgreer@mvista.com>2006-11-09 01:50:44 +0100
committerPaul Mackerras <paulus@samba.org>2006-11-13 04:48:58 +0100
commite9c4b4bd56a7dfdc8879a5876e498991c9194321 (patch)
treecfcfcf733d61f5996926fff54ab1f77191a8d955
parent[PATCH] Do a single one-line printk in bad_page_fault() (diff)
downloadlinux-e9c4b4bd56a7dfdc8879a5876e498991c9194321.tar.xz
linux-e9c4b4bd56a7dfdc8879a5876e498991c9194321.zip
[PATCH] Remove dtb file created by wrapper script
When the wrapper script is passed a dts file, it runs 'dtc' to create a dtb file. This patch deletes that dtb file once its no longer needed. Signed-off-by: Mark A. Greer <mgreer@mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-xarch/powerpc/boot/wrapper3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/boot/wrapper b/arch/powerpc/boot/wrapper
index b5fb1fee76f8..024e4d425c59 100755
--- a/arch/powerpc/boot/wrapper
+++ b/arch/powerpc/boot/wrapper
@@ -184,6 +184,9 @@ fi
if [ -n "$dtb" ]; then
addsec $tmp "$dtb" .kernel:dtb
+ if [ -n "$dts" ]; then
+ rm $dtb
+ fi
fi
if [ "$platform" != "miboot" ]; then