summaryrefslogtreecommitdiffstats
path: root/debian/README.source
diff options
context:
space:
mode:
Diffstat (limited to 'debian/README.source')
-rw-r--r--debian/README.source26
1 files changed, 16 insertions, 10 deletions
diff --git a/debian/README.source b/debian/README.source
index 15c11bf..21a988f 100644
--- a/debian/README.source
+++ b/debian/README.source
@@ -5,15 +5,14 @@ Upstream
--------
firmware-nonfree is based on the linux-firmware.git repository, which
-does not currently make tarball (or tagged) releases. Also, some of
-its contents are not clearly redistributable, and some are obsolete
-for Debian's purposes.
-git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
+now does make tarball (or tagged) releases in the form 'CCYYMMDD'.
+Also, some of its contents are not clearly redistributable, and some are
+obsolete for Debian's purposes.
+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
-We set the upstream version to the date of the last commit and use
-uscan to generate a tarball from upstream git. The Files-Excluded
-field in 'debian/copyright' lists file patterns that should be
-excluded from the tarball.
+We set the upstream version to the last tag and use uscan to generate
+a tarball from upstream git. The Files-Excluded field in 'debian/copyright'
+lists file patterns that should be excluded from the tarball.
We also pull module information from Linux binary packages. To update
this information, run:
@@ -94,11 +93,18 @@ definitions:
1. Install the current linux-support-<kernelversion> package
2. Ensure debian/rules.defs has the right value of KERNELVERSION
3. If the 'orig.tar' archive is not yet available, retrieve it as follows:
- ``uscan --download-version <upstream-version>`` (<upstream-version> is f.e. ``20230210``)
+
+ uscan --download-version <upstream-version>
+
+ Where '<upstream-version>' is f.e. '20230210'.
To retrieve <upstream-version> programmatically, use f.e. this:
+
$(head -n1 debian/changelog | sed 's/.*\([[:digit:]]\{8\}\).*/\1/')
+
Combined that results in:
- ``uscan --download-version $(head -n1 debian/changelog | sed 's/.*\([[:digit:]]\{8\}\).*/\1/')``
+
+ uscan --download-version $(head -n1 debian/changelog | sed 's/.*\([[:digit:]]\{8\}\).*/\1/')
+
4. Run: debian/rules orig
5. Run: debian/rules debian/control