sdt file detection - how SUSE Driver Tools detects files
Related to: sdt [cmd] -u--updatedir UPDATEDIR -a--addon ADDONDIR
When scanning the UPDATEDIR or ADDONDIR for files to be added to the driver kit, certain files will be automatically detected and specific actions taken. Below is a list of files that are detected by SUSE Driver Tools and how they are used. For each file type list, the SUSE Driver Tools command(s) that they apply to are listed in square brackets next to the title.
A file with the name nextmedia will be copied to the root of the initrd. The nextmedia file specifies the popup message that occurs when doing an optical media install and the installer requests to insert the media of the base distribution. The format of the file is XML like with the message provided between <text> entities.
Multiple languages can be provided by adding adding multiple <text> entities with the appropriate lang= attribute. English is the fallback language. Example:
<text lang="en">
Please insert disc 1 of OS installation media.
</text>
<text lang="de">
Legen Sie die OS-Installations-Disc 1 ein.
</text>sdt media driverkit command.
A file with the name linuxrc.options can be used to add options (lines) to the linuxrc.config file. The linuxrc.options file will be simply concatenated to the linuxrc.config file in the initrd.
Example: To add a command to load a specific module create a linuxrc.options file with the following content:
Exec: insmod /modules/mlx4_en.ko
.ko binaries will be extracted and added to the initrd of the boot structure so that the driver module is used at boot time.
-default kernel flavor will be extracted and added to the boot structure at boot/[arch]/loader/linux. This kernel will be used when booting the driver kit. When using the pxe command, the linux image will be extracted as above and placed in the specified OUTPUTDIR.
The following files will be added to the driver update file systems when created. For more information on these files please see: http://ftp.suse.com/pub/people/hvogel/Update-Media-HOWTO/
[driverkit/dud/kiso/pxe]
Update Media scripts (update.{pre,post,post2}) ie die OS-Installations-Disc 1 ein update.post2 will be assumed to be relevant driver update media scripts. These scripts can be used to perform special actions during the installation process.
.ybc or .ycp file extension will be assumed to be YaST2 modules and will be added to the y2update/modules section of the driver update section of the initrd.
Overlays are file archives provided by the user that are unpacked into parts of the driver kit image. These overlays will overwrite any existing files. Currently only gzipped tar files with extension .tgz are supported.
inst-sys location of the driver update location on the driver kit media. This happens after all other processing and preparation of the driver update.
The SUSE Driver Tools will descend into sub-directories under the top-level UPDATEDIR when scanning for update files. Certain sub-directory names instruct SUSE Driver Tools to treat the files found below this directory in specific ways.
The following subdirectory names are detected: