Editing Enterprise Provisioning - Appendix

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
== Appendix 1: Content Type headers ==
+
= Appendix 1: Content Type headers =
Content Type headers direct the web browser behaviour. Headers must be the first output of the web application.  
Content Type headers direct the web browser behaviour. Headers must be the first output of the web application.  
Line 38: Line 38:
  <span style="color:green"><file content here></span>
  <span style="color:green"><file content here></span>
-
== Appendix 2: Creating a package on-the-fly ==
+
= Appendix 2: Creating a package on-the-fly =
The following section gives an example how to create an application package. In the example, a package containing the EUF is created. The file will be first created in <code>/etc/EnterpriseConfig.xml</code> and then copied to its final place by a post-install script. The reasons to do it this are:
The following section gives an example how to create an application package. In the example, a package containing the EUF is created. The file will be first created in <code>/etc/EnterpriseConfig.xml</code> and then copied to its final place by a post-install script. The reasons to do it this are:
Line 97: Line 97:
This command will create a package called <code>user-info-1.2345.deb</code>.
This command will create a package called <code>user-info-1.2345.deb</code>.
-
== Appendix 3: Creating a repository on-the-fly ==
+
= Appendix 3: Creating a repository on-the-fly =
The following section gives an example of how to create a temporary repository.
The following section gives an example of how to create a temporary repository.
Line 139: Line 139:
  components = sample1 sample2
  components = sample1 sample2
-
== Appendix 4a:  Creating an offline repository on-the-fly ==
+
= Appendix 4a:  Creating an offline repository on-the-fly =
The following section gives an example how to create an "offline repository" (i.e., a local repository on the device).
The following section gives an example how to create an "offline repository" (i.e., a local repository on the device).
Line 181: Line 181:
* Tap the "Maemolocal"-install file to start the repository configuration and installation.
* Tap the "Maemolocal"-install file to start the repository configuration and installation.
-
=== Appendix 4b - Selfcontained Offline repository ===
+
= Appendix 4b - Selfcontained Offline repository =
If you need a repository which can be used completely offline, it needs to be self-contained (i.e., no dependencies for any other repositories)
If you need a repository which can be used completely offline, it needs to be self-contained (i.e., no dependencies for any other repositories)
Line 207: Line 207:
Automatic triggering of memory card installs (TO_BE_VERIFIED): Whenever a memory card is inserted that contains a file called <b>.auto.install</b>, that file is processed by the Application Manager. If you copy this MaemoOffline.install into .auto.install then the repository should get installed when user inserts the memory card.
Automatic triggering of memory card installs (TO_BE_VERIFIED): Whenever a memory card is inserted that contains a file called <b>.auto.install</b>, that file is processed by the Application Manager. If you copy this MaemoOffline.install into .auto.install then the repository should get installed when user inserts the memory card.
-
== Appendix 5: Application Manager repository configuration commands ==
+
= Appendix 5: Application Manager repository configuration commands =
The Application Manager repository configuration may need to be changed manually as a prerequisite for the Enterprise Package installation.
The Application Manager repository configuration may need to be changed manually as a prerequisite for the Enterprise Package installation.
Line 222: Line 222:
First, create an XML file containing the desired repository configuration. In this example, we define two repositories, the second one being disabled.
First, create an XML file containing the desired repository configuration. In this example, we define two repositories, the second one being disabled.
-
<source lang="xml">
+
<config>
-
<config>
+
    <catalogue>
-
  <catalogue>
+
      <name>Enterprise Repository</name>
-
      <name>Enterprise Repository</name>
+
      <uri>https://server.example.com/repository/enterprise/</uri>
-
      <uri>https://server.example.com/repository/enterprise/</uri>
+
      <components>base extras</components>
-
      <components>base extras</components>
+
    </catalogue>
-
  </catalogue>
+
    <catalogue>
-
  <catalogue>
+
      <name>Test Repository</name>
-
      <name>Test Repository</name>
+
      <uri>https://server.example.com/repository/test/</uri>
-
      <uri>https://server.example.com/repository/test/</uri>
+
      <components>base extras</components>
-
      <components>base extras</components>
+
      <disabled/>
-
      <disabled/>
+
    </catalogue>
-
  </catalogue>
+
</config>
-
</config>
+
-
</source>
+
Second, run the following command (assuming the XML file is at <code>/etc/repoconf.xml</code>)
Second, run the following command (assuming the XML file is at <code>/etc/repoconf.xml</code>)
  hildon-application-manager-config add /etc/repoconf.xml
  hildon-application-manager-config add /etc/repoconf.xml
-
 
-
[[Category:Enterprise]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)