[Debian Wiki] Update of "BOINC/ServerGuide/WrapperApp" by dhananjay
Debian Wiki
debian-www at lists.debian.org
Mon Aug 15 17:45:44 UTC 2011
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The "BOINC/ServerGuide/WrapperApp" page has been changed by dhananjay:
http://wiki.debian.org/BOINC/ServerGuide/WrapperApp?action=diff&rev1=19&rev2=20
EOJOB
}}}
- {{{
- FIXME: Missing: where does job.xml.sig come from?!?!? Have not tried it, but this can be omitted, not? SM
- }}}
As mentioned above, the payload binary/script has to be copied to the sub-directory for each platform. Since the script can be the same for every platform (it is just text), we do plain copies: {{{
cd $installroot/$fileprojectnme && \
@@ -137, +134 @@
|-- wrapper_6.12_x86_64-pc-linux-gnu
`-- wrapper_6.12_x86_64-pc-linux-gnu.sig
}}}
+ Please not that every file that ends with ''.sig'' extention, contains the signature of the respective file. They (signature files) are generated by
+ {{{
+ $projectroot/bin/sign_executable /path/to/file/ /path/to/code_sign_private >> filename.sig
+ }}}
+ the code_sign_private is the private key file of the project, and for a production level real world project, it is advised you store it in a __separate__ isolated computer and perform signing from there.
Use ''bin/xadd'' and ''bin/update_versions'' to put the app to database:
- * Add the application entries, {{{
- $ cat <<APPCONFIG >>$installroot/$fileprojectname/project.xml
+ * Add the application entries, in the project.xml, inside the <boinc> main tag.
+ {{{
<app>
<name>wrapper</name>
<user_friendly_name>Wrapper Test</user_friendly_name>
</app>
- APPCONFIG
}}}
* Put to the database and update versions, {{{
@@ -197, +198 @@
--result_template $installroot/$fileprojectname/templates/wrapper_result
}}}
- This effort has now added a single job to the system. For adding multiple jobs with different input files, do as follows.
+ This effort has now added a single job to the system. For adding multiple jobs with different input files, check next section.
+
- {{{
- FIXME: Missing, TBA
- }}}
=== Some complex Extensions ===
==== Multiple Tasks ====
@@ -224, +223 @@
==== Status of Computation ====
The '''<fraction_done_filename>''' tag can be used to specify a file to check completion. Wrapper checks for a number between 0 and 1, inside the file, and sets the percentage of completion.
+
+ ==== Multiple Input Files ====
== See Also ==
More information about the pkg-boinc-commits
mailing list