Writing the *.inf Metadata File
In addition to the compressed archive that you created in the previous step, a plain text file with essential information for the endpoint device is necessary. In this, step you will create the hello.inf
file.
Change to the directory that contains the compressed contents of our Custom Partition (
hello.tar.bz2
):cd /custom/
Create a new file named
hello.inf
and put the following into it:[INFO]
[PART]
file="hello.tar.bz2"
version="1.0_igel1"
size="10M"
name="hello"
minfw="11.01.100"
The individual entries and their meaning are:[INFO]
Mandatory string[PART]
Mandatory stringfile
The filename of the*.tar.bz2
archiveversion
The version of the contents, consisting of the vendor version (let's say this is "hello 1.0") and the IGEL package version (the first package we produced of the software), joined with an underscore.size
Size of the decompressed contentsname
Name of this content, used for naming the subdirectory within the custom partition and for keeping track of installed contentsminfw
Minimum firmware version required for these contentsSave the file.