summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeunsik Lim <geunsik.lim@samsung.com>2017-01-25 13:25:34 +0900
committerGeunsik Lim <geunsik.lim@samsung.com>2017-01-31 16:58:04 -0800
commitaf7e46e444fe3abfd1b9b6a0054d6ad201adc209 (patch)
treebb4bdbbe1719101105172270edaa35b32547adca
parent5ab61dbb334461e0b8808d1e4200a1316cc13495 (diff)
downloadcpio-tizen_4.0_base.tar.gz
cpio-tizen_4.0_base.tar.bz2
cpio-tizen_4.0_base.zip
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>
-rw-r--r--packaging/cpio.spec2
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}