packaging: Change a statement of condition 38/318138/1 accepted/tizen_9.0_unified accepted/tizen_unified_toolchain tizen_9.0 accepted/tizen/9.0/unified/20241030.234642 accepted/tizen/unified/20240926.050048 accepted/tizen/unified/toolchain/20241004.101955 accepted/tizen/unified/x/20240926.095741 accepted/tizen/unified/x/asan/20241014.000350 tizen_9.0_m2_release
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 24 Sep 2024 23:43:25 +0000 (08:43 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 24 Sep 2024 23:43:25 +0000 (08:43 +0900)
Change a statement of condidtion form %{tizen_profile_name} to %{mv_prj}
about robot. It doesn't use %{tizen_profile_name} for robot. Instead,
it's using %{mv_prj} as specific macro.

Change-Id: I2b0bfa5a8d34242950a4f9967578a04ee70169d0
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
packaging/initrd.spec

index bdeea607b3a550a3f048e3878d3491186ac42dae..4e7296e0bea5c52c19e3a6da560b489cd2daf2d9 100644 (file)
@@ -22,7 +22,7 @@ Requires(posttrans): e2fsprogs
 Requires(posttrans): btrfs-progs
 Requires(posttrans): f2fs-tools
 Requires(posttrans): kmod-compat
-%if "%{tizen_profile_name}" != "tv" && "%{tizen_profile_name}" != "robot"
+%if "%{tizen_profile_name}" != "tv" && "%{mv_prj}" != "1"
 Requires(posttrans): nbd-client
 %endif
 Requires(posttrans): bow-restore
@@ -81,7 +81,7 @@ cp -f data/initrd-file-64bit.list %{buildroot}%{_initrd_dir}
 cp -f data/initrd-file-dmverity.list %{buildroot}%{_initrd_dir}
 
 # Remove nbd-client from initrd-file.list
-%if "%{tizen_profile_name}" == "tv" || "%{tizen_profile_name}" == "robot"
+%if "%{tizen_profile_name}" == "tv" || "%{mv_prj}" == "1"
 sed -i "/nbd-client/d" %{buildroot}%{_initrd_dir}/initrd-file.list
 %endif