Jump to content

opkg info display


Olaf Mufjay

Recommended Posts

Posted

Hello everyone, I have created a program for me, but somehow I can not get any information with opkg displayed

I've created a folder control and created it like this:

control
              control

The file control / control has the following content:

Package: myprogramm
Version: 1.0
Architecture: ar71xx
Supervisor: Olaf Mufjay
Description: A description will follow later

I have created a data folder and built it up as follows:

data
    usr
        bin
            myprogramm

Then I created a Debian binary that contains the string 2.0

Then I created an archive with tar with the following commands

cd control && tar czvf ../control.tar.gz * && cd ..
cd data && tar czvf ../data.tar.gz * && cd ..

and then create an .ipk file with ar -r myprogramm.ipk debian-binary control.tar.gz data.tar.gz

I can install these and works so far really good, only when I start now opkg info myprogramm I get the following display

Package: myprogramm
Version: 1.0
Status: user installed
Architecture: ar71xx
Installed time: 1572307778

I was inspired by iw ...

Package: iw
Version: 3.17-1
Depends: libc, libnl-tiny
Status: unknown ok not-installed
Section: net
Architecture: ar71xx
Maintainer: Felix Fietkau <nbd@openwrt.org>
MD5Sum: 1b9de22990ede834460bbd4d56545bbc
Size: 40302
Filename: iw_3.17-1_ar71xx.ipk
Source: package/network/utils/iw
Description: cfg80211 interface configuration utility

Package: iw
Version: 4.3-1
Depends: libc, libnl-tiny
Status: install user installed
Architecture: ar71xx
Installed-Time: 1538522583

how can I get it to such a nice opkg info synonymous with opkg info myprogramm?

Thank you for taking the time to read this, I am still very new in development 

I am from Germany and the translator does not always help me or is described as very funny

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...