QDK - QPKG Development Kit
  • Introduction
  • Installation of QDK
  • QPKG Configuration File
  • Installation Script
    • Generic Installation Script
    • Package Specific Installation Functions
    • Order of Execution
  • QDK Variables
  • Build Scripts
  • User Configuration File
  • Invoking qbuild
    • Initialize a Build Environment
    • Control the Build
    • Trust but Verify
    • Exclude Files
    • Scripts
    • Status Information
    • Sections
    • Extract QPKG Packages
    • Query Packages
    • Help and Usage
  • Creating a QPKG Package Using QDK
    • Creating a Simple QPKG Package
    • Creating Platform Specific QPKG Packages
    • Converting an Existing QPKG Package
  • Appendix A – QPKG Format
    • Header Script
    • Control Files
    • Data File
    • Extra Data Files
    • QDK Area
    • Tail Section
Powered by GitBook
On this page

Was this helpful?

  1. Appendix A – QPKG Format

Data File

This is the compressed (gzip, bzip2, or 7-zip) tar archive with the actual data files which was created at build

time with the files from the build root directory. The compressed tar archive is extracted to the installation

directory and the installation script uncompress and extract the content to the QPKG directory. When the

data archive is extracted to the installation directory some redundant data is included at the end of the data

archive for performance reasons. The \/bin\/dd command on QNAP devices doesn't support different block

sizes for the input and output, so to be able to extract the data at a reasonable speed the block size is set to

1024 bytes for both input and output. This gives the result that some extra data is added to the end of the

archive (up to 1023 bytes depending on the original size of the archive). This doesn't matter since the tar

archive includes an EOF marker and can be extracted without problems.

PreviousControl FilesNextExtra Data Files

Last updated 5 years ago

Was this helpful?