From: Jaechul Lee Date: Thu, 16 Feb 2017 05:42:28 +0000 (+0900) Subject: packaging: removed code associated with module build X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f0f86cbf520fd8acd1a186aa3a415c4df9fc74e2;p=profile%2Fwearable%2Fplatform%2Fkernel%2Flinux-3.18-exynos7270.git packaging: removed code associated with module build It is not need to build kernel modules, we don't use it. Change-Id: I534648cf110ae606187a75bca6e49bd9d954eb33 Signed-off-by: Jaechul Lee --- diff --git a/packaging/linux-3.18-exynos7270.spec b/packaging/linux-3.18-exynos7270.spec index 6a8b90f..93c390b 100644 --- a/packaging/linux-3.18-exynos7270.spec +++ b/packaging/linux-3.18-exynos7270.spec @@ -30,15 +30,13 @@ Group: System/Kernel Requires(post): coreutils %files -n linux-%{CHIPSET}-%{MODEL} -/boot/kernel/mod_%{MODEL} /boot/kernel/kernel-%{MODEL}/dzImage %post -n linux-%{CHIPSET}-%{MODEL} -mv /boot/kernel/mod_%{MODEL}/lib/modules/* /lib/modules/. mv /boot/kernel/kernel-%{MODEL}/dzImage /boot/kernel/. %description -n linux-%{CHIPSET}-%{MODEL} -This package provides the %{CHIPSET}_eur linux kernel image & module.img. +This package provides the %{CHIPSET}_eur linux kernel image. %package -n linux-%{CHIPSET}-%{MODEL}-debuginfo License: GPL-2.0 @@ -46,7 +44,6 @@ Summary: Linux support debug symbol Group: System/Kernel %files -n linux-%{CHIPSET}-%{MODEL}-debuginfo -/boot/kernel/mod_%{MODEL} /boot/kernel/kernel-%{MODEL} %description -n linux-%{CHIPSET}-%{MODEL}-debuginfo @@ -86,7 +83,6 @@ This package provides kernel license file. %build -mkdir -p %{_builddir}/mod_%{MODEL} make distclean ./release_obs.sh @@ -137,8 +133,6 @@ mkdir -p %{buildroot}/boot/kernel/devel mkdir -p %{buildroot}/boot/kernel/kernel-%{MODEL} mkdir -p %{buildroot}/boot/kernel/license-%{MODEL} -mv %_builddir/mod_%{MODEL} %{buildroot}/boot/kernel/mod_%{MODEL} - mv %_builddir/Image.%{MODEL} %{buildroot}/boot/kernel/kernel-%{MODEL}/Image mv %_builddir/merged-dtb.%{MODEL} %{buildroot}/boot/kernel/kernel-%{MODEL}/merged-dtb mv %_builddir/dzImage.%{MODEL} %{buildroot}/boot/kernel/kernel-%{MODEL}/dzImage