[kernel] r19199 - dists/trunk/firmware-nonfree/debian

Ben Hutchings benh at alioth.debian.org
Sun Jun 24 21:57:04 UTC 2012


Author: benh
Date: Sun Jun 24 21:57:03 2012
New Revision: 19199

Log:
debian/README.source: Document the oddities of this source package

Added:
   dists/trunk/firmware-nonfree/debian/README.source
Modified:
   dists/trunk/firmware-nonfree/debian/changelog

Added: dists/trunk/firmware-nonfree/debian/README.source
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/trunk/firmware-nonfree/debian/README.source	Sun Jun 24 21:57:03 2012	(r19199)
@@ -0,0 +1,82 @@
+firmware-nonfree
+================
+
+Source format
+-------------
+
+firmware-nonfree is a native package even though the installed files
+are neither Debian-specific nor developed by Debian.  This is done
+because it is built from multiple 'upstream' sources, most of which do
+not make tarball releases.
+
+Binary package definition
+-------------------------
+
+The binary package definitions are written in a format similar to INI
+files, parsed using the Python ConfigParser module
+<http://docs.python.org/release/2.7/library/configparser.html>,
+
+The [base] packages field in the top-level 'defines' file lists all
+the binary package names, without the fixed prefix 'firmware-'.
+
+For each binary package, there is a subdirectory with matching name
+(again without the prefix) containing the binary files that will be
+installed in it and another 'defines' file with metadata.
+
+Required metadata:
+
+[base] desc: Short description of related hardware, used in Description
+[base] files: List of files to be included, one per line
+[base] longdesc: Longer description of related hardware and drivers, used in
+                 Description.
+[base] uri: Upstream URL, used as Homepage and in copyright file
+
+Optional metadata:
+
+[base] license-accept: Set to 'required' if we must prompt the user to
+                       accept a EULA on installation
+[base] license-title: Title of the EULA
+[base] support: Set to 'initramfs-tools' if update-initramfs should be
+                invoked after installation
+[base] replaces: Used as Replaces field
+[base] conflicts: Used as Conflicts field
+[base] provides: Used as Provides field
+
+Optional per-file metadata:
+
+[<filename>_base] desc: One-line description for this file, used in
+                        package description
+[<filename>_base] version: Verson number for this file, used in package
+                           description
+
+To re-generate debian/control (and other files) based on these
+definitions:
+
+1. Install the current linux-support-<kernelversion> package
+2. Ensure debian/rules.defs has the right value of KERNELVERSION
+3. Run: debian/rules debian/control
+
+Upstream
+--------
+
+The main upstream source is the linux-firmware.git repository, but
+some binary packages are based on other sources as specified by the
+[base] uri field in the 'defines' file in the package subdirectory.
+
+You can compare the current files with a checkout of that repository
+using the script 'debian/bin/check_upstream.py'.  This ignores files
+with unclear or unrecognised licences, and as specified in the
+[upstream] exclude field of the top-level 'defines' file.
+
+Licences
+--------
+
+Each binary package is assumed to have a different licence(s).  The
+installed 'copyright' file is taken from the 'LICENSE' file in its
+subdirectory.
+
+Some firmware redistribution licences require us to prompt the user to
+accept an EULA.  In this case, put the EULA text in 'LICENSE.install'
+and set the [base] license-accept field to 'required'.
+
+ -- Ben Hutchings <ben at decadent.org.uk>, Sun, 24 Jun 2012 22:56:20 +0100

Modified: dists/trunk/firmware-nonfree/debian/changelog
==============================================================================
--- dists/trunk/firmware-nonfree/debian/changelog	Sun Jun 24 21:14:05 2012	(r19198)
+++ dists/trunk/firmware-nonfree/debian/changelog	Sun Jun 24 21:57:03 2012	(r19199)
@@ -1,3 +1,9 @@
+firmware-nonfree (0.37) UNRELEASED; urgency=low
+
+  * debian/README.source: Document the oddities of this source package
+
+ -- Ben Hutchings <ben at decadent.org.uk>  Sun, 24 Jun 2012 22:56:53 +0100
+
 firmware-nonfree (0.36) unstable; urgency=low
 
   * debian/control: Set Multi-Arch: foreign



More information about the Kernel-svn-changes mailing list