Instead of installing the u-boot binary to the /boot/u-boot,
we'll choose /var/tmp/u-boot because it is only required to
find from .ks file which generates the boot image.
Change-Id: I256ac8127a4c38d361f436fc5d06b48a78c2f76e
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
( cd %{buildroot}%{_bindir}; ln -sf fw_printenv fw_setenv )
# u-boot installation
-install -d %{buildroot}/boot/u-boot
-install -m 755 u-boot.bin %{buildroot}/boot/u-boot
-install -m 755 u-boot-mmc.bin %{buildroot}/boot/u-boot
+mkdir -p %{buildroot}/var/tmp/u-boot
+install -d %{buildroot}/var/tmp/u-boot
+install -m 755 u-boot.bin %{buildroot}/var/tmp/u-boot
+install -m 755 u-boot-mmc.bin %{buildroot}/var/tmp/u-boot
%clean
%files
%manifest u_boot.manifest
%defattr(-,root,root,-)
-/boot/u-boot/
+/var/tmp/u-boot
%files -n u-boot-tools
%manifest u_boot.manifest