]> git.proxmox.com Git - pve-firmware.git/commitdiff
buildsys: move to dpkg-buildpackage
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 17 Jul 2017 13:17:18 +0000 (15:17 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 27 Sep 2017 08:15:22 +0000 (10:15 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
changelog.firmware [deleted file]
control.firmware [deleted file]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/install [new file with mode: 0644]
debian/rules [new file with mode: 0755]

index 645afd4607c843b3adec6588811b29574997bd8b..d6d386ccf89c8075f87a8b3dbf1c1e7972855144 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,11 +4,16 @@ FW_DEB=pve-firmware_${FW_VER}-${FW_REL}_all.deb
 
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
-export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp -lchangelog.firmware)
+export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp)
 
 DEBS=${FW_DEB}
 
-${FW_DEB} fw: control.firmware linux-firmware.git/WHENCE dvb-firmware.git/README changelog.firmware fwlist-2.6.18-2-pve fwlist-2.6.24-12-pve fwlist-2.6.32-3-pve fwlist-2.6.32-4-pve fwlist-2.6.32-6-pve fwlist-2.6.32-13-pve fwlist-2.6.32-14-pve fwlist-2.6.32-20-pve fwlist-2.6.32-21-pve fwlist-3.10.0-3-pve fwlist-3.10.0-7-pve fwlist-3.10.0-8-pve fwlist-3.19.8-1-pve fwlist-4.2.8-1-pve fwlist-4.4.13-2-pve fwlist-4.4.16-1-pve fwlist-4.4.21-1-pve fwlist-4.4.44-1-pve fwlist-4.10.5-1-pve
+${FW_DEB}: fwdata
+       cp -a debian fwdata
+       echo "git clone git://git.proxmox.com/git/pve-firmware.git\\ngit checkout ${GITVERSION}" >fwdata/debian/SOURCE
+       cd fwdata; dpkg-buildpackage -b -us -uc
+
+fwdata: linux-firmware.git/WHENCE dvb-firmware.git/README fwlist-2.6.18-2-pve fwlist-2.6.24-12-pve fwlist-2.6.32-3-pve fwlist-2.6.32-4-pve fwlist-2.6.32-6-pve fwlist-2.6.32-13-pve fwlist-2.6.32-14-pve fwlist-2.6.32-20-pve fwlist-2.6.32-21-pve fwlist-3.10.0-3-pve fwlist-3.10.0-7-pve fwlist-3.10.0-8-pve fwlist-3.19.8-1-pve fwlist-4.2.8-1-pve fwlist-4.4.13-2-pve fwlist-4.4.16-1-pve fwlist-4.4.21-1-pve fwlist-4.4.44-1-pve fwlist-4.10.5-1-pve
        rm -rf fwdata
        mkdir -p fwdata/lib/firmware
        ./assemble-firmware.pl fwlist-4.10.5-1-pve fwdata/lib/firmware
@@ -35,12 +40,6 @@ ${FW_DEB} fw: control.firmware linux-firmware.git/WHENCE dvb-firmware.git/README
        cp linux-firmware.git/WHENCE fwdata/usr/share/doc/pve-firmware/README
        install -d fwdata/usr/share/doc/pve-firmware/licenses
        cp linux-firmware.git/LICEN[CS]E* fwdata/usr/share/doc/pve-firmware/licenses
-       install -D -m 0644 changelog.firmware fwdata/usr/share/doc/pve-firmware/changelog.Debian
-       gzip -n -9 fwdata/usr/share/doc/pve-firmware/changelog.Debian
-       echo "git clone git://git.proxmox.com/git/pve-firmware.git\\ngit checkout ${GITVERSION}" >fwdata/usr/share/doc/pve-firmware/SOURCE
-       install -d fwdata/DEBIAN
-       sed -e 's/@VERSION@/${FW_VER}-${FW_REL}/' <control.firmware >fwdata/DEBIAN/control
-       dpkg-deb --build fwdata ${FW_DEB}
 
 # upgrade to current master
 .PHONY: update_modules
diff --git a/changelog.firmware b/changelog.firmware
deleted file mode 100644 (file)
index 06087e1..0000000
+++ /dev/null
@@ -1,184 +0,0 @@
-pve-firmware (2.0-2) unstable; urgency=medium
-
-  * updates for latest 4.10.5 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 28 Mar 2017 09:04:19 +0200
-
-pve-firmware (2.0-1) unstable; urgency=medium
-
-  * updates for latest 4.10.1 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 3 Mar 2017 15:55:01 +0100
-
-pve-firmware (1.1-11) unstable; urgency=medium
-
-  * updates for latest 4.4.44 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 1 Mar 2017 09:24:18 +0100
-
-pve-firmware (1.1-10) unstable; urgency=medium
-
-  * updates for latest 4.4.21 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 25 Aug 2016 12:15:28 +0200
-
-pve-firmware (1.1-9) unstable; urgency=medium
-
-  * updates for latest 4.4.16 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 25 Aug 2016 12:15:28 +0200
-
-pve-firmware (1.1-8) unstable; urgency=medium
-
-  * updates for latest 4.4.6 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Apr 2016 11:07:32 +0200
-
-pve-firmware (1.1-7) unstable; urgency=medium
-
-  *  updates for latest 4.2.0 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 08 Sep 2015 10:23:14 +0200
-
-pve-firmware (1.1-6) unstable; urgency=medium
-
-  * updates for latest 4.1.3 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 30 Jul 2015 09:13:55 +0200
-
-pve-firmware (1.1-5) unstable; urgency=medium
-
-  * updates for latest 3.19.8 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Jul 2015 09:12:34 +0200
-
-pve-firmware (1.1-4) unstable; urgency=medium
-
-  * updates for latest 3.10.0 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Sat, 14 Mar 2015 14:13:50 +0100
-
-pve-firmware (1.1-3) unstable; urgency=low
-
-  * updates for latest 3.10.0 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 23 Apr 2014 10:41:18 +0200
-
-pve-firmware (1.1-2) unstable; urgency=low
-
-  * include missing firmware rtl8168g-1.fw
-  
- -- Proxmox Support Team <support@proxmox.com>  Tue, 18 Feb 2014 08:13:07 +0100
-
-pve-firmware (1.1-1) unstable; urgency=low
-
-  * include files for RHEL7 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Thu, 12 Dec 2013 13:07:25 +0100
-
-pve-firmware (1.0-23) unstable; urgency=low
-
-  * update for RHEL6.4 based kernels
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 03 Jun 2013 07:50:22 +0200
-
-pve-firmware (1.0-22) unstable; urgency=low
-
-  * update version for wheezy
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 27 Mar 2013 09:52:47 +0100
-
-pve-firmware (1.0-21) unstable; urgency=low
-
-  * include correct rtl8168d-1.fw file
-  
- -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Oct 2012 11:54:29 +0200
-
-pve-firmware (1.0-19) unstable; urgency=low
-
-  *  updates for new 2.6.32-15pve kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 24 Sep 2012 10:58:18 +0200
-
-pve-firmware (1.0-18) unstable; urgency=low
-
-  * updates for new 2.6.32-14-pve kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 06 Aug 2012 06:26:41 +0200
-
-pve-firmware (1.0-17) unstable; urgency=low
-
-  * qla firmware updates
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 05 Jun 2012 10:16:18 +0200
-
-pve-firmware (1.0-15) unstable; urgency=low
-
-  * include firmware for new 2.6.32-7-pve kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 10 Jan 2012 09:06:54 +0100
-
-pve-firmware (1.0-14) unstable; urgency=low
-
-  * conflict with debian firmware packages
-
- -- Proxmox Support Team <support@proxmox.com>  Mon, 19 Dec 2011 10:02:52 +0100
-
-pve-firmware (1.0-12) unstable; urgency=low
-
-  * add Brocade firmware 
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 17 Jun 2011 08:52:21 +0200
-
-pve-firmware (1.0-10) unstable; urgency=low
-
-  * updatd for new QLogic phanfw.bin
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 15 Dec 2010 12:02:01 +0100
-
-pve-firmware (1.0-9) unstable; urgency=low
-
-  * include firmware for new 2.6.35-1-pve kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 05 Oct 2010 13:59:53 +0200
-
-pve-firmware (1.0-8) unstable; urgency=low
-
-  * include phanfw.bin (netxen_nic.ko)
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 17 Sep 2010 13:00:54 +0200
-
-pve-firmware (1.0-7) unstable; urgency=low
-
-  * carefully install all needed files by querying modinfo
-  
- -- Proxmox Support Team <support@proxmox.com>  Wed, 21 Apr 2010 10:05:36 +0200
-
-pve-firmware (1.0-4) unstable; urgency=low
-
-  * update from new 2.6.32 kernel
-
- -- Proxmox Support Team <support@proxmox.com>  Wed, 21 Apr 2010 10:04:42 +0200
-
-pve-firmware (1.0-3) unstable; urgency=low
-
-  * inlcude firmware from our 2.6.32 kernel
-  
-  * remove firmware from
-    git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
-    - it is not up to date
-
- -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Dec 2009 11:19:36 +0100
-
-pve-firmware (1.0-2) unstable; urgency=low
-
-  * include drivers from linux-firmware.git to support newer kernels.
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 11 Dec 2009 12:31:40 +0100
-
-pve-firmware (1.0-1) unstable; urgency=low
-
-  * initial release for kernel 2.6.24
-
- -- Proxmox Support Team <support@proxmox.com>  Fri, 11 Dec 2009 12:30:01 +0100
-
diff --git a/control.firmware b/control.firmware
deleted file mode 100644 (file)
index 8d6ea1e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Package: pve-firmware
-Version: @VERSION@
-Section: misc
-Priority: optional
-Architecture: all
-Suggests: linux-image
-Conflicts: firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-bnx2, firmware-bnx2x, firmware-intelwimax, firmware-ipw2x00, firmware-iwlwifi, firmware-netxen, firmware-qlogic, firmware-ralink, firmware-realtek, firmware-libertas, firmware-myricom, firmware-brcm80211, firmware-ivtv
-Replaces: firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-bnx2, firmware-bnx2x, firmware-intelwimax, firmware-ipw2x00, firmware-iwlwifi, firmware-netxen, firmware-qlogic, firmware-ralink, firmware-realtek, firmware-libertas, firmware-myricom, firmware-brcm80211, firmware-ivtv
-Maintainer: Proxmox Support Team <support@proxmox.com>
-Description: Binary firmware code for the pve-kernel
- This package contains the binary firmware for various modules used in
- the pve-kernel.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..06087e1
--- /dev/null
@@ -0,0 +1,184 @@
+pve-firmware (2.0-2) unstable; urgency=medium
+
+  * updates for latest 4.10.5 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 28 Mar 2017 09:04:19 +0200
+
+pve-firmware (2.0-1) unstable; urgency=medium
+
+  * updates for latest 4.10.1 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 3 Mar 2017 15:55:01 +0100
+
+pve-firmware (1.1-11) unstable; urgency=medium
+
+  * updates for latest 4.4.44 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 1 Mar 2017 09:24:18 +0100
+
+pve-firmware (1.1-10) unstable; urgency=medium
+
+  * updates for latest 4.4.21 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 25 Aug 2016 12:15:28 +0200
+
+pve-firmware (1.1-9) unstable; urgency=medium
+
+  * updates for latest 4.4.16 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 25 Aug 2016 12:15:28 +0200
+
+pve-firmware (1.1-8) unstable; urgency=medium
+
+  * updates for latest 4.4.6 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Apr 2016 11:07:32 +0200
+
+pve-firmware (1.1-7) unstable; urgency=medium
+
+  *  updates for latest 4.2.0 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 08 Sep 2015 10:23:14 +0200
+
+pve-firmware (1.1-6) unstable; urgency=medium
+
+  * updates for latest 4.1.3 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 30 Jul 2015 09:13:55 +0200
+
+pve-firmware (1.1-5) unstable; urgency=medium
+
+  * updates for latest 3.19.8 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 24 Jul 2015 09:12:34 +0200
+
+pve-firmware (1.1-4) unstable; urgency=medium
+
+  * updates for latest 3.10.0 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Sat, 14 Mar 2015 14:13:50 +0100
+
+pve-firmware (1.1-3) unstable; urgency=low
+
+  * updates for latest 3.10.0 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 23 Apr 2014 10:41:18 +0200
+
+pve-firmware (1.1-2) unstable; urgency=low
+
+  * include missing firmware rtl8168g-1.fw
+  
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 18 Feb 2014 08:13:07 +0100
+
+pve-firmware (1.1-1) unstable; urgency=low
+
+  * include files for RHEL7 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 12 Dec 2013 13:07:25 +0100
+
+pve-firmware (1.0-23) unstable; urgency=low
+
+  * update for RHEL6.4 based kernels
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 03 Jun 2013 07:50:22 +0200
+
+pve-firmware (1.0-22) unstable; urgency=low
+
+  * update version for wheezy
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 27 Mar 2013 09:52:47 +0100
+
+pve-firmware (1.0-21) unstable; urgency=low
+
+  * include correct rtl8168d-1.fw file
+  
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 22 Oct 2012 11:54:29 +0200
+
+pve-firmware (1.0-19) unstable; urgency=low
+
+  *  updates for new 2.6.32-15pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 24 Sep 2012 10:58:18 +0200
+
+pve-firmware (1.0-18) unstable; urgency=low
+
+  * updates for new 2.6.32-14-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 06 Aug 2012 06:26:41 +0200
+
+pve-firmware (1.0-17) unstable; urgency=low
+
+  * qla firmware updates
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 05 Jun 2012 10:16:18 +0200
+
+pve-firmware (1.0-15) unstable; urgency=low
+
+  * include firmware for new 2.6.32-7-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 10 Jan 2012 09:06:54 +0100
+
+pve-firmware (1.0-14) unstable; urgency=low
+
+  * conflict with debian firmware packages
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 19 Dec 2011 10:02:52 +0100
+
+pve-firmware (1.0-12) unstable; urgency=low
+
+  * add Brocade firmware 
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 17 Jun 2011 08:52:21 +0200
+
+pve-firmware (1.0-10) unstable; urgency=low
+
+  * updatd for new QLogic phanfw.bin
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 15 Dec 2010 12:02:01 +0100
+
+pve-firmware (1.0-9) unstable; urgency=low
+
+  * include firmware for new 2.6.35-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 05 Oct 2010 13:59:53 +0200
+
+pve-firmware (1.0-8) unstable; urgency=low
+
+  * include phanfw.bin (netxen_nic.ko)
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 17 Sep 2010 13:00:54 +0200
+
+pve-firmware (1.0-7) unstable; urgency=low
+
+  * carefully install all needed files by querying modinfo
+  
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 21 Apr 2010 10:05:36 +0200
+
+pve-firmware (1.0-4) unstable; urgency=low
+
+  * update from new 2.6.32 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 21 Apr 2010 10:04:42 +0200
+
+pve-firmware (1.0-3) unstable; urgency=low
+
+  * inlcude firmware from our 2.6.32 kernel
+  
+  * remove firmware from
+    git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git
+    - it is not up to date
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 29 Dec 2009 11:19:36 +0100
+
+pve-firmware (1.0-2) unstable; urgency=low
+
+  * include drivers from linux-firmware.git to support newer kernels.
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 11 Dec 2009 12:31:40 +0100
+
+pve-firmware (1.0-1) unstable; urgency=low
+
+  * initial release for kernel 2.6.24
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 11 Dec 2009 12:30:01 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..2a9bc79
--- /dev/null
@@ -0,0 +1,14 @@
+Source: pve-firmware
+Section: misc
+Priority: optional
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Homepage: http://www.proxmox.com
+
+Package: pve-firmware
+Architecture: all
+Suggests: linux-image
+Conflicts: firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-bnx2, firmware-bnx2x, firmware-intelwimax, firmware-ipw2x00, firmware-iwlwifi, firmware-netxen, firmware-qlogic, firmware-ralink, firmware-realtek, firmware-libertas, firmware-myricom, firmware-brcm80211, firmware-ivtv
+Replaces: firmware-linux-free, firmware-linux-nonfree, firmware-atheros, firmware-bnx2, firmware-bnx2x, firmware-intelwimax, firmware-ipw2x00, firmware-iwlwifi, firmware-netxen, firmware-qlogic, firmware-ralink, firmware-realtek, firmware-libertas, firmware-myricom, firmware-brcm80211, firmware-ivtv
+Description: Binary firmware code for the pve-kernel
+ This package contains the binary firmware for various modules used in
+ the pve-kernel.
diff --git a/debian/install b/debian/install
new file mode 100644 (file)
index 0000000..304efaa
--- /dev/null
@@ -0,0 +1,2 @@
+lib
+usr
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..955dd78
--- /dev/null
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+%:
+       dh $@