Enable --enable-largefile option to process a file (bigger than 2GB) 37/111937/2 accepted/tizen_4.0_base accepted/tizen_5.0_base accepted/tizen_5.5_base accepted/tizen_5.5_base_mobile_hotfix accepted/tizen_5.5_base_wearable_hotfix accepted/tizen_6.0_base_tool_hotfix accepted/tizen_base_tool tizen_4.0_base tizen_4.0_tv tizen_5.0_base tizen_5.5_base tizen_5.5_base_mobile_hotfix tizen_5.5_base_wearable_hotfix tizen_5.5_tv tizen_6.0_base_hotfix tizen_base accepted/tizen/4.0/base/20170811.092737 accepted/tizen/4.0/base/20170828.221110 accepted/tizen/5.0/base/20181101.090444 accepted/tizen/5.5/base/20191030.082405 accepted/tizen/5.5/base/mobile/hotfix/20201023.084557 accepted/tizen/5.5/base/wearable/hotfix/20201023.080941 accepted/tizen/6.0/base/20201029.110337 accepted/tizen/6.0/base/tool/20201029.111906 accepted/tizen/6.0/base/tool/hotfix/20201030.124723 accepted/tizen/6.0/base/tool/hotfix/20201102.085855 accepted/tizen/base/20170210.190115 submit/tizen_4.0_base/20170811.071500 submit/tizen_4.0_base/20170828.000000 submit/tizen_4.0_base/20170828.000001 submit/tizen_5.0_base/20181101.000001 submit/tizen_5.5_base/20191030.000001 submit/tizen_5.5_base_mobile_hotfix/20201023.171501 submit/tizen_5.5_base_wearable_hotfix/20201023.155601 submit/tizen_6.0_base/20201029.184801 submit/tizen_6.0_base_hotfix/20201030.192501 submit/tizen_6.0_base_hotfix/20201102.162701 submit/tizen_base/20170206.021618 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release tizen_5.5.m2_release tizen_6.0.m2_release
authorGeunsik Lim <geunsik.lim@samsung.com>
Wed, 25 Jan 2017 04:25:34 +0000 (13:25 +0900)
committerGeunsik Lim <geunsik.lim@samsung.com>
Wed, 1 Feb 2017 00:58:04 +0000 (16:58 -0800)
commitaf7e46e444fe3abfd1b9b6a0054d6ad201adc209
treebb4bdbbe1719101105172270edaa35b32547adca
parent5ab61dbb334461e0b8808d1e4200a1316cc13495
Enable --enable-largefile option to process a file (bigger than 2GB)

The 'ext4' filesystem (default) of Tizen supports a large file until 16 TiB
(for 4k block filesystem) compared to the past. However, the existing 'cpio'
is still supports processing a file that is less than 2GB. This commit is
to allow 'cpio' to handle a large file  such as chromium-efl package.

* build error of chromium-efl:
[ 1080s] warning: Could not canonicalize hostname: s007
[ 1080s] error: create archive failed on file
         /home/abuild/rpmbuild/SOURCES/chromium-efl-47.2526.69.49.tar.gz:
         cpio: File too large for archive
[ 1080s] Building target platforms: armv7l-tizen-linux
[ 1080s] Building for target armv7l-tizen-linux

@ To maintainer:
Note that you have to enable "--enable-largefile" option on your
host pc if you use host pc's cpio as well as qemu rootfs's cpio
to compile a Tizen package.

* For Host Linux PC
ubuntu-64bit$> wget http://ftp.gnu.org/gnu/cpio/cpio-2.12.tar.bz2
ubuntu-64bit$> tar xvjf ./cpio-2.12.tar.bz2
ubuntu-64bit$> cd ./cpio-2.12
ubuntu-64bit$> ./configure  --enable-largefile --prefix=/usr
ubuntu-64bit$> make -j4
ubuntu-64bit$> make -j4 install

Change-Id: Ida7d736875f4ae11da7df496e83acf9c3e87f288
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
packaging/cpio.spec