diff options
author | Geunsik Lim <geunsik.lim@samsung.com> | 2017-01-25 13:25:34 +0900 |
---|---|---|
committer | Geunsik Lim <geunsik.lim@samsung.com> | 2017-01-31 16:58:04 -0800 |
commit | af7e46e444fe3abfd1b9b6a0054d6ad201adc209 (patch) | |
tree | bb4bdbbe1719101105172270edaa35b32547adca /packaging/cpio.spec | |
parent | 5ab61dbb334461e0b8808d1e4200a1316cc13495 (diff) | |
download | cpio-af7e46e444fe3abfd1b9b6a0054d6ad201adc209.tar.gz cpio-af7e46e444fe3abfd1b9b6a0054d6ad201adc209.tar.bz2 cpio-af7e46e444fe3abfd1b9b6a0054d6ad201adc209.zip |
Enable --enable-largefile option to process a file (bigger than 2GB)tizen_6.0.m2_releasetizen_5.5.m2_releasetizen_4.0.m2_releasetizen_4.0.m1_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_base/20170206.021618submit/tizen_6.0_base_hotfix/20201102.162701submit/tizen_6.0_base_hotfix/20201030.192501submit/tizen_6.0_base/20201029.184801submit/tizen_5.5_base_wearable_hotfix/20201023.155601submit/tizen_5.5_base_mobile_hotfix/20201023.171501submit/tizen_5.5_base/20191030.000001submit/tizen_5.0_base/20181101.000001submit/tizen_4.0_base/20170828.000001submit/tizen_4.0_base/20170828.000000submit/tizen_4.0_base/20170811.071500accepted/tizen/base/20170210.190115accepted/tizen/6.0/base/tool/hotfix/20201102.085855accepted/tizen/6.0/base/tool/hotfix/20201030.124723accepted/tizen/6.0/base/tool/20201029.111906accepted/tizen/6.0/base/20201029.110337accepted/tizen/5.5/base/wearable/hotfix/20201023.080941accepted/tizen/5.5/base/mobile/hotfix/20201023.084557accepted/tizen/5.5/base/20191030.082405accepted/tizen/5.0/base/20181101.090444accepted/tizen/4.0/base/20170828.221110accepted/tizen/4.0/base/20170811.092737tizen_basetizen_6.0_base_hotfixtizen_5.5_tvtizen_5.5_base_wearable_hotfixtizen_5.5_base_mobile_hotfixtizen_5.5_basetizen_5.0_basetizen_4.0_tvtizen_4.0_baseaccepted/tizen_base_toolaccepted/tizen_6.0_base_tool_hotfixaccepted/tizen_5.5_base_wearable_hotfixaccepted/tizen_5.5_base_mobile_hotfixaccepted/tizen_5.5_baseaccepted/tizen_5.0_baseaccepted/tizen_4.0_base
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>
Diffstat (limited to 'packaging/cpio.spec')
-rw-r--r-- | packaging/cpio.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/cpio.spec b/packaging/cpio.spec index f990052..3bd7479 100644 --- a/packaging/cpio.spec +++ b/packaging/cpio.spec @@ -30,7 +30,7 @@ cp %{SOURCE1001} . %build export ac_cv_prog_cc_c99=no -%configure --disable-nls +%configure --disable-nls --enable-largefile make %{?_smp_mflags} |