How to compress/decompress SVR4 package
By Jan Hlodan on Dec 03, 2008
Last time we needed to edit SVR4 package, we hit a couple problems with compressing the cpio archive. Here is our how to:
$ cd package/archive $ bunzip2 none.bz2 $ cpio -id<none
Edit files which you need then in archive directory:
$ find .|sed s%\^\\./%%>list.files $ vi list.files
Remove "." and "list"
$ cat list.files | cpio -oVc>none $ bzip2 none
Remove all files and directories except 'none.bz2'
Now you can install or publish SVR4 package as a usual.