This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Building the example packs
To make the process of building an Update package as easy as possible, we have included a number of examples in the Driver Development Kit (DDK), which Citrix makes available to our partners with each build.
Import the DDK onto the XenServer host.
Refer to the instructions described in /root/examples/README.txt
, which outlines the example scripts for generating GPG test keys as well as the various configuration options for generating a pack.
For most cases, copying the example build files and customizing them with pack specific information is sufficient.
Pack UUIDs: Each pack has a UUID included in the metadata, which is required to build an update package. The UUID must be unique to the update being generating:
-
The same UUID cannot refer to different updates.
-
The same update cannot have multiple UUIDs.
A number of examples are supplied in the DDK under /root/examples
.
These include:
-
Userspace: a simple example of a pack containing only programs and files that relate to a userspace.
-
Driver: a simple kernel driver.
-
Combined: an example which contains kernel and userspace files.
There are specific rules for packaging kernel device drivers. For more information, see Rules and guidelines.
Within each directory there is a:
-
Source tree: a directory containing a collection of files.
-
Specification file: a file that describes how to build an RPM.
-
Makefile: a file used to automate the creation of a supplemental pack.
To build a specific example, use the following commands:
cd /root/example/<dir>
make
This will result in the following files being created:
- <pack>.iso - the supplemental pack CD image.
Where <pack> is the name of the pack.
Test Signing Key Generation
When the first example pack is built, a new GnuPG key pair is created. You will be prompted for a passphrase that must be entered whenever the private key is used to sign a pack. This key pair is only intended for developer testing. For information on generating a key pair to use for released supplemental packs, see The GNU Privacy Handbook.
To allow partners to release software that is installable in Dom0, Citrix requires partners provide us with the public key corresponding to their GPG key pair generated with the following requirements:
-
ASD Type = RSA
-
Bits = 2048
-
Expiry date = preferably none, else >10 years.
-
No support for subkeys as RPM does not handle this properly.
-
Naming convention: RPM-GPG-KEY-<VENDOR>
Installing the Test Key
Before a pack that has been signed with a test key can be installed on any XenServer hosts, the public key must be imported into the host on which the pack is installed.
-
Copy the public key from the DDK VM to the host using the following command:
DDK# scp /root/RPM-GPG-KEY-DDK-Test root@CitrixHypervisor:
-
Import the key on the host using the following command:
XS# /opt/xensource/debug/import-update-key RPM-GPG-KEY-DDK-Test
Note:
To allow developer testing, a script is now included in Dom0 that enables our partners to import an update key manually:
/opt/xensource/debug/import-update-key <PATH-TO-KEY-FILE> <!--NeedCopy-->
Share
Share
In this article
This Preview product documentation is Cloud Software Group Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Cloud Software Group Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Cloud Software Group product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.