summaryrefslogtreecommitdiff
path: root/packaging
AgeCommit message (Collapse)AuthorFilesLines
2014-11-18packaging: update to 3.10.60v3.10.60-rebaseChanho Park3-3/+3
Change-Id: Icf9f18a293de098cc93b863a49591660807b51bc Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: separate modules.imgChanho Park3-28/+2
This patch separates modules.img from /boot. We'll add a new partition for modules. Change-Id: I50ef63dfebacd389c96d7e012970f1a1e9796125 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: fix %setup top dir nameStephane Desneux2-2/+2
Change-Id: I21a9d05153a3e80cebdc7901fb3c0e03635417ec Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
2014-11-18Fix source tarball name for odroid and rinato kernels.Stephane Desneux2-2/+2
Change-Id: I1b14b5f5b19eb8aa1eba11f5fc11c63d4e4a1759 Bug-Tizen: TC-1495 Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
2014-11-18packaging: rename linux-kernel.spec to linux-3.10.specChanho Park1-0/+0
Stephane recommended renaming of the spec file. https://bugs.tizen.org/jira/browse/TC-1495 Change-Id: If0f38c516e2443d4c268fa2272cda15f4df0e278 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: support multiple boardsChanho Park3-64/+163
We support three boards, trats2(RD-PQ)/odroid-u3 and rinato(Galaxy Gear2). To avoid overwrite headers package, only provide the package in Mobile profile. Change-Id: I03b423da193bb2f654a40e959b01458401b49437 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: fix source name to match repo namePhilippe Coval2-4/+4
Change-Id: I33d643c3073ba6a55af442d47e5a1878ce181792 Bug-Tizen: TC-1495 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
2014-11-18packaging: upgrade to v3.10.52Chanho Park2-2/+2
Change-Id: I18d6c0b36f64ac8409d1a3eba8a0ee4b6961fa9d Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: support odroid kernel buildChanho Park1-0/+103
This patch supports odroid kernel build. I think we can use a single binary for odroid and trats2(rd-pq). However, I didn't merge it at this point because I don't want to disturb current odroid development. I'll try to merge it to single binary later. Change-Id: I9064affe86510107b992d9e5fbe7c77c81c0d223 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: move modules from /boot/lib/modules to /boot/modules.imgChanho Park1-10/+30
The latest e2fsprogs have a functionality to make ext2/3/4 image from directory. It acts like genext2fs or mkext4fs of android tools. I took some patches for it from e2fsprogs next branch and it will be merged in next release. A mobile device tend to locate kernel image and modules in the same partition because it should be easily recovered when the partition was broken. Thus, I also located the modules image in the /boot partition instead of /lib/modules directory. This patch supports making the modules.img from obs/gbs build. Change-Id: I480837378e07bc327ac2379211893799bb452402 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: update kernel version to 3.10.39Marek Szyprowski1-1/+1
Recent rebase updated kernel base from 3.10.33 to 3.10.39, so update kernel version in the spec file too. Change-Id: Ifc5239ea428e2178aa70ddd3b94364fdbb7ebadc Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2014-11-18packaging: specify ExclusiveArch to arm/aarch64Chanho Park1-0/+1
This patch specifies "ExclusiveArch" for building only arm and aarch64. Change-Id: I33a484b478d7848257a4ea8b4375b0ea1994c47e Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: change modules directory to /boot/lib/modulesChanho Park1-10/+10
This patch changes the default modules directory from /lib/modules to /boot/lib/modules. The mobile kernel didn't use /lib/modules for modules because it should be matched with kernel version and can be recoveried with the /boot directory. The old kernel used modules.img which includes kernel modules. And we also loop-mounted it to the /lib/modules directory. Instead of it, we'll use /boot/lib/ modules directory because it will have same functionality if the /boot directory will be read-only. And we will add the recovery partition of the /boot. Change-Id: Ie0f0af47f0f6d3fe25c780fb8685df745b587dd7 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18packaging: update kernel version to 3.10.33Chanho Park1-1/+1
Recently, we updated the kernel version from 3.10.19 to 3.10.33. This patch also updates the kernel version in the spec file. Change-Id: Ifc5239ea428e2178aa70ddd3b94364fdbb7ebe79 Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18Fix building RPM with tar 1.27 and renamed m0 dtbMaciej Wereski1-3/+2
Change-Id: I50a01f8a005ed958e0d2d00f8033eb1a9a2340ec Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
2014-11-18spec: add missing build dependences and output packages cleanup.Jacek Pielaszkiewicz1-9/+23
The following changes have been implemeneted: 1. Add BuildRequires on module-init-tools 2. Cleanup Documentation directory from *.txt files 3. Update file permisions for executable files (*.sh, *pl) Change-Id: I06a9348f6220ce2383b6f788635acbd0fe5ef78e Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18tizen: packaging: support perf buildChanho Park1-0/+33
Change-Id: Idc375608e3bde344347de6ad37c434b5f16aefbc Signed-off-by: Chanho Park <chanho61.park@samsung.com>
2014-11-18Add dependency on kernel package in kernel-devel package.Jacek Pielaszkiewicz1-0/+1
Change-Id: Iba7d12ecac46b3e5985f412f4cc3f623162cf728 Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18Split uImage on "clean" uImage and Device Tree blob.Jacek Pielaszkiewicz1-4/+6
1. The change is due to upgrade u-boot to latest upstream version which support separate uImage and DTB. Addtionally current defult u-boot configuration for trats2 assumes that kernel image and DTB are delivered as separat files. 2. DTB files are located in /boot directory. 3. Together with uImage are delivered all DTBs which are compatible with tizen_defconfig kernel configuration. Change-Id: I60a581edb4edccbf2ef704de525409da6572c4f8 Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18Bring kernel packaging in line with ivi's kernel.Jacek Pielaszkiewicz1-50/+50
The following changes have been implemented: 1. Add provides to for linux-kernel, linux-kernel-devel packages. The following "Provides" have been added: - kernel - package linux-kernel - kernel-uname-r - package linux-kernel - kernel-devel - package linux-kernel-devel - kernel-devel-uname-r - package linux-kernel-devel 2. Remove linux-kernel-uImage package. 3. linux-kernel package has been extended to deliver uImage and kernel modules (in /boot directory) 4. Rename linux-kenrel-build package to linux-kernel-devel. 4. Extend linux-kernel-devel by the content of /lib/modules/kernel directory. Change-Id: I824a307327d56c63c7cfc7eb6124d4fa10e1f49a Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18*spec file cleanup and linux-kernel-sources package removal.Jacek Pielaszkiewicz1-70/+47
The following changes have been implemented: 1. linux-kernel-sources package has been removed. devel package is enough to correctly linux-kernel-build external kernel modules. 2. Symbolic link that points pre-build kernel sources has been added. The link is located in /lib/modules/__kernel_version__. 3. Rename linux-kernel-headers package on linux-kernel-user-headers. Change-Id: I6e1a4283d832a5fced7fafbb8fefc9c369364f59 Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18*spec file update to build output uImage and Device TreeJacek Pielaszkiewicz1-16/+57
The following changes have been implemented: 1. A new linux-kernel-uImage package was added. The package provide kernel uImage. 2. Additional cleanup linux-kernel-sources and linux-kernel-build packages was added. 3. Symbolic links linux-kernel-build-current and linux-kernel-sources-current were added. Links points current kernel sources and build directories. Change-Id: Ifa889d42fca69cce4d458d9ac7e0514cfdf1caef Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18Revert "linux-kernel and linux kernel modules ABI tools."Jacek Pielaszkiewicz1-106/+19
This reverts commit 23b22df7b6b7d91e7c1866dc760c2586ba161c43. Change-Id: I3ea15671a029e781a153d43201bf79118f66b148
2014-11-18Revert "linux-kernel and linux kernel modules ABI - next changes"Jacek Pielaszkiewicz1-19/+0
This reverts commit 45fe7044915b03bc6444102e55e45cccf4a4455d. Change-Id: Ie479df1039134b1fcd89bc942c61d6669c51faf0
2014-11-18Revert "abi-checker - tool directory location update."Jacek Pielaszkiewicz1-8/+8
This reverts commit 952c6d9596e18f9df43174f513ce84ebe7cd6ca2. Change-Id: Id6f4bd3d4e76c3a07fb8cdf121745c17e59b7a2a
2014-11-18abi-checker - tool directory location update.Jacek Pielaszkiewicz1-8/+8
- abi-checker tool has been moved into tools/directory - abi-checker short documentation has been added. Change-Id: I88d4c6081b1df276243c9edfb44d1de2e009cc10 Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18linux-kernel and linux kernel modules ABI - next changesJacek Pielaszkiewicz1-0/+19
The following changes have implemented: 1. New API/ABI check tools were added: - "abi-module-checker" - single module ABI/API checker. The tool compare module fingerprint with kernel fingerprint. - "abi-module-dumper" - create for current kernel version ABI/API fingerprint file. - "abi-module-kernels-list" - list compatible kernel versions with given kernel module 2. sample kernel module was added to show how to use ABI/API tools 3. a new rpm package "linux-kernel-abi-devel" is build. The package deliver kernel fingerprints repository for development . 4. New links "linux-kernel-build-current" and "linux-kernel-sources-current" are make easer access to sources and build kernel directories. Change-Id: I06f7dc1b8cc118f48e64595d257dbd29fd53e11e Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18linux-kernel and linux kernel modules ABI tools.Jacek Pielaszkiewicz1-19/+106
The following changes have been implemented: 1. A new tool "abi-checker" has been created. The tool allows: - compare two Module.symvers files. - reports which symbols are new, changed or have been removed. - create dump all kernel symbols that are present in external kernel module. 2. linux-3.10.spec has been updated to check changes in kernel ABI/API. In case if any change kernel installation process aborts. In such case user is requested to update kernel version and update ABI dump file. ABI dump file should be located in "abi-checker/data" directory. 3. Output rpm with uImage has been extended by ABI dump. Default location for the file is /boot/abi/_kernel_version_. 4. New output rpm package is build - "abi-tools". The package delivers ABI-checker. By default the rpm install ABI-checker tool into /usr/local/bin directory. Change-Id: I37a2a52f64fde915cff24aa85349aa1dbee3a5b8 Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18update linux-kernel.spec file to fix build problems.Karol Lewandowski1-4/+88
The following changes have been implemented: 1. kernel-source package 2. kernel-build package 3. linux-kernel package 4. add kernel configuration name and abi version to output names. Change-Id: I95479b660dda8a18f3e8f32c20fcbfbab8ab6000 Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
2014-11-18packaging: Bump versionKarol Lewandowski1-1/+1
Modified version number, again. Change-Id: Idf67ccbf9c36030644be6c6f76f5fe0e2b857246 Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com> Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2014-11-18packaging: add .spec file to generate kernel-headersChanho Park1-0/+42
This patch is able to generate kernel-headers by GBS. I'll add build script to generate a kernel binary. Signed-off-by: Chanho Park <chanho61.park@samsung.com>