Do Not Use profile macro 56/97456/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 14 Nov 2016 07:56:02 +0000 (16:56 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 14 Nov 2016 07:56:24 +0000 (16:56 +0900)
It is to be obsolete in 4.0.

It is allowed to use "profile" macro ONLY for backward compatibility while
keeping the compatibility with unified build environment.
- Both are false in this usage.

Change-Id: I13a3a94a49cb75dc18cedaa95e2e82f34bcedb3e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/README.update_kernel-profile
packaging/linux-stable.spec

index 9592ea3..4725e84 100644 (file)
@@ -9,6 +9,9 @@ or
 # profile=ivi
 ..
 
+CAUTION: From Tizen 4.0, we are going to abandon profile macro in build proejct
+so that we can build package for every profile in a single build project and
+put packages for every profile at a single RPM repo.
 
 1. Clone kernel-$profile
 ------------------------
index 265a383..e74829d 100644 (file)
@@ -10,7 +10,7 @@
 %define platform default
 %endif
 
-%define variant %{profile}-%{_arch}-%{platform}
+%define variant common-%{_arch}-%{platform}
 %define kernel_version %{version}-%{release}
 %define kernel_full_version %{version}-%{release}-%{variant}
 %define arch_32bits i386 i586 i686 %{ix86}
@@ -95,7 +95,7 @@ This package contains the Linux kernel for Tizen.
 %package -n kernel-%{variant}
 Summary: Tizen kernel
 Group: System/Kernel
-Provides: kernel-profile-%{profile} = %{version}-%{release}
+Provides: kernel-profile-common = %{version}-%{release}
 Provides: kernel-uname-r = %{kernel_full_version}
 Requires(post): /usr/bin/ln
 Requires(post): /usr/bin/sort
@@ -130,7 +130,7 @@ AutoReq: no
 AutoProv: yes
 
 %description -n kernel-%{variant}
-This package contains the Linux kernel for Tizen (%{profile} profile, architecure %{_arch})
+This package contains the Linux kernel for Tizen (common profile, architecure %{_arch})
 
 %package -n kernel-%{variant}-devel
 Summary: Development package for building kernel modules