Welcome to Our Dreambox World - Japhar Sim - SuperSim
Forum Stats
12528 Members
237 Forums
7811 Topics
24004 Posts

Max Online: 9115 @ 08/24/24 07:30 PM
Newest Members
Bilawal, Zweistein, didond, OLIANI, sergiu75
12528 Registered Users
Who's Online
13 registered (Admin, Toysoft, tomash, OMEGA, Smokey, haki, bobot, karimkaki15, goode men, Franco89, raffsif1234, didond, gerolamo), 1525 Guests and 141 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Top Posters
Admin 9993
Toysoft 2649
satsedhu 1713
fairbird 765
ludo19 442
Top Posters (30 Days)
Admin 15
OMEGA 8
samh 3
Hum@xel 1
Smokey 1
November
M Tu W Th F Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
Topic Options
#96 - 09/21/11 09:39 AM How to make IPK files on Dreambox
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
For those who do not have Linux machines.
How to make ipk packges on Dreambox for dreambox images
that you can use in our images.
I have test all with BH 0.12 image

1.Put my ipk file to/tmp >>Install ipk tools file with Green Panel>>Addons>> Manual Install Ipk packges
2.Restart Dreambox
3.Now you should have ipkg-tools folder (/hdd/ipkg-tools)
Now start TELNET
4.ipk file unpack with the command ipkg-unbuild filename.ipk
example:
ipkg-unbuild enigma2-plugin-extensions-oroscopoitalia-e2-dreamelite_0.1_mipsel.ipk
5.ipk folder packing with ipkg-build foldername
example:
ipkg-build enigma2-plugin-extensions-oroscopoitalia-e2-dreamelite

For pack/unpack you have to use the same folder
Tools folder /hdd/ipkg-tools


Attachments
dreambox-ipkg-tools-mips_1.0_mipsel.ipk (35 downloads)

_________________________

Top
#97 - 09/21/11 09:40 AM Re: How to make IPK files on Dreambox [Re: Admin]
Admin Online   content
Japhar Member
Carpal Tunnel

Registered: 10/19/10
Posts: 9993
Building ipkgs

Here's a short and incomplete guide to building packages for the Ipkg package management system:


1.

Create the directory structure and files as you want them appear on the installed system.
2.

Create a directory named CONTROL at the top-level of this directory structure.
3.

Inside CONTROL create a file named "control" with lines of the form "Field: value". Required fields are Package, Version, Architecture, Maintainer, Section, Priority and Description. Optional fields include Depends. The meaning of each of the fields will be given later in this document.
4.

If your package has any configuration files, then create a file CONTROL/conffiles which lists the absolute path of each configuration file, (as it will appear on the installed system), one per line. This will prevent the package management system from automatically overwriting configuration changes when the user upgrades the package.
5.

If needed your package may include some scripts that will be invoked by the package maintenance system. There are four possible times a script will be run: just before your package is installed, just after your package is installed, just before the package is removed, and just after the package is removed. These scripts are named preinst, postinst, prerm, and postrm and should be located in the CONTROL directory. The scripts should return 0 on success, (a non-zero return value from preinst will prevent your package from being installed -- this can be useful in rare situations). The scripts can assume a tty is available so they may prompt the user. Note that the variable PKG_ROOT is set to the root of the package installation and can be used to refer to the packages contents in their installed locations.
6.

Now simply run:

ipkg-build directory [destination_directory]

where directory is the directory you have created. The destination_directory is optional and defaults to the current directory. The ipkg-build script peforms several sanity checks on the package directory and should guide you through any problems.

If you are not running ipkg-build as root, then provide the -g and -o options:

ipkg-build -o root -g root directory [destination_directory]
_________________________

Top


Moderator:  Toysoft 
New Topics
DM52xUHD : OpenATV 7.4 20241125 (Japhar)
by Admin
11/26/24 10:08 AM
DM52xUHD : OpenATV 7.4 20241125 (Original)
by Admin
11/26/24 10:00 AM
Dreambox 500HD ferrari sim ???
by OMEGA
11/25/24 04:28 PM
EchoStar left in limbo as DirecTV ditches Dishdeal
by Admin
11/22/24 02:52 PM
ZX Spectrum ZX81 Emulation : Experience with R36S
by Admin
11/21/24 02:13 AM
Grand chambardement autour des numéros de la TNT
by Admin
11/17/24 05:10 PM
OPENATV 7.5 VOD not possible
by samh
11/03/24 08:37 PM
How to exclude ProvID & Channels from OSCam to CI+
by Admin
11/03/24 12:34 PM
DreamTV Mini Ultra HD Android 9.0 IPTV Streamer...
by Admin
12/04/19 04:06 AM
Satellites.xml for Enigma² by Hum@xel
by Hum@xel
02/02/19 08:37 AM
Spark 7162 : OpenPLi 4.0 IPTV Japhar (April 2016)
by Admin
04/11/16 03:21 PM