[PATCH 10/14] deb-pkg: improve Source field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The Source: field is defined as the source package in the package
archive from which a binary packages are built. As deb-pkg does not
generate a source package, we should avoid to use any existing source
packages here.

Signed-off-by: Frans Pop <elendil@xxxxxxxxx>
Cc: maximilian attems <max@xxxxxxx>
Cc: Andres Salomon <dilinger@xxxxxxxxxx>
---

I still have strong objections to "linux-2.6".
IMO "linux-upstream" is a good compromise: it's clear and avoids both
Debian's "linux-2.6" and Ubuntu's "linux".

diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 60f8de2..ebb112d 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -114,7 +114,7 @@ maintainer="$name <$email>"
 
 # Generate a simple changelog template
 cat <<EOF > debian/changelog
-linux ($packageversion) unstable; urgency=low
+linux-upstream ($packageversion) unstable; urgency=low
 
   * Custom built Linux kernel.
 
@@ -143,7 +143,7 @@ EOF
 
 # Generate a control file
 cat <<EOF > debian/control
-Source: linux
+Source: linux-upstream
 Section: base
 Priority: optional
 Maintainer: $maintainer
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux