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>