extracting and creating ipk files

后端 未结 5 810
野的像风
野的像风 2021-02-01 17:10

ipk packages are the intallation packages used by opkg.

I\'m trying to extract the contents of one of them and also create my own ipk.

I\'ve read that I should b

5条回答
  •  星月不相逢
    2021-02-01 17:46

    If you want a list of files in an ipk, you can do something like:

    #!/bin/sh
    for f
    do
       tar -x -z -f $f ./data.tar.gz -O | tar tvzf -
    done
    

    -O is extract to standard output. ipk files used to be AR (like DPKG), but are now tgz. I feel that some dpkg utility ought to cope with ipkg files, but I haven't found the right one.

提交回复
热议问题