Pyra Wiki:DBP file format: Difference between revisions

From Pyra Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:


The zip part contain the meta-data related to the DBP.
The zip part contain the meta-data related to the DBP.
=== Sample session to build a dbp ===
Say you have a your application in a "rootfs" directory and a meta" directory containing the metadata.
<pre>
$ ls
icons  meta  rootfs
$ mksquashfs rootfs target.squash -all-root -force-gid 0
Creating 4.0 filesystem on target.squash, block size 131072.
....
$ zip -r target.zip meta icons
  adding: meta/ (stored 0%)
...
$ cat target.squash target.zip > target.dbp
</pre>


== meta-data structure ==
== meta-data structure ==


== the desktop file(s) ==
== the desktop file(s) ==
=== Desktop Entry ===
=== Package Entry ===

Revision as of 22:07, 13 March 2021

Please note: we're not going to describe something as painful as the pxml file here :P

file structure

a .dbp files is composed of 2 concatenated files :

  1. a squashfs file
  2. an *uncompressed* zip

The squashfs part contain your application(s) and everything it might need to run.

The zip part contain the meta-data related to the DBP.

Sample session to build a dbp

Say you have a your application in a "rootfs" directory and a meta" directory containing the metadata.

$ ls
icons  meta  rootfs
$ mksquashfs rootfs target.squash -all-root -force-gid 0
Creating 4.0 filesystem on target.squash, block size 131072.
....
$ zip -r target.zip meta icons
  adding: meta/ (stored 0%)
...
$ cat target.squash target.zip > target.dbp

meta-data structure

the desktop file(s)

Desktop Entry

Package Entry