packaging: update the spec file for packaging non-singed image
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 6 Dec 2017 10:15:37 +0000 (19:15 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 21 Jan 2019 07:23:08 +0000 (16:23 +0900)
It needs to sign the bootloader image since OS_3.0.0.
Include the nonsigned-xxxx.img in rpm packages.
Modify the spec file to release the prebuilt image about each boards.

Change-Id: Id7fe5a794b0526ba25a16a427c02763244f8de8d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/u-boot-artik530.spec
packaging/u-boot-artik7.spec

index cee63087db0ae7660bdddc0c2d520837cd3aaf79..b9b536718e11e6a8de186d14579aa78c24cc780e 100644 (file)
@@ -54,7 +54,8 @@ rm -rf %{buildroot}
 # u-boot installation
 mkdir -p %{buildroot}/boot/u-boot
 install -d %{buildroot}/boot/u-boot
-install -m 755 bootloader.img %{buildroot}/boot/u-boot
+install -m 755 bootloader.img %{buildroot}/boot/u-boot/nonsigned-bootloader.img
+install -m 755 ./scripts/tizen/artik530s/os_3.0.0/bootloader.img %{buildroot}/boot/u-boot
 install -m 755 params.bin %{buildroot}/boot/u-boot
 
 %clean
index 768be95001059dc1b9ca99acff41cbfaca58674e..45cb14b7b72adf72161d445a76229746d3d61497 100644 (file)
@@ -67,7 +67,8 @@ rm -rf %{buildroot}
 # u-boot installation
 mkdir -p %{buildroot}/boot/u-boot
 install -d %{buildroot}/boot/u-boot
-install -m 755 fip-nonsecure.img %{buildroot}/boot/u-boot
+install -m 755 fip-nonsecure.img %{buildroot}/boot/u-boot/nonsigned-fip-nonsecure.img
+install -m 755 ./scripts/tizen/artik710s/os_3.0.0/fip-nonsecure.img %{buildroot}/boot/u-boot
 install -m 755 params.bin %{buildroot}/boot/u-boot
 mkdir -p %{buildroot}/boot/tools
 install -d %{buildroot}/boot/tools