]> git.proxmox.com Git - proxmox-ve.git/commitdiff
initial import from pve-kernel.git
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 5 Mar 2018 12:37:32 +0000 (13:37 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 5 Mar 2018 12:49:29 +0000 (13:49 +0100)
with reduced Makefile

Makefile [new file with mode: 0644]
debian/changelog.Debian [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/postinst [new file with mode: 0755]
debian/postrm [new file with mode: 0755]
debian/proxmox-release-5.x.pubkey [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..abed17a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,48 @@
+RELEASE=5.1
+
+# also update proxmox-ve/changelog if you change KERNEL_VER or KREL
+KERNEL_VER=4.13.13
+PKGREL=39
+KREL=6
+
+EXTRAVERSION=-${KREL}-pve
+KVNAME=${KERNEL_VER}${EXTRAVERSION}
+
+GITVERSION:=$(shell git rev-parse HEAD)
+CHANGELOG_DATE:=$(shell dpkg-parsechangelog -SDate -lchangelog.Debian)
+export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp -lchangelog.Debian)
+
+PACKAGE=proxmox-ve
+PVE_DEB=${PACKAGE}_${RELEASE}-${PKGREL}_all.deb
+
+DEBS=${PVE_DEB}
+
+all: deb
+deb: ${DEBS}
+
+${PVE_DEB}: proxmox-ve/control proxmox-ve/postinst ${PVE_RELEASE_KEYS}
+       rm -rf proxmox-ve/data
+       mkdir -p proxmox-ve/data/DEBIAN
+       mkdir -p proxmox-ve/data/usr/share/doc/${PACKAGE}/
+       mkdir -p proxmox-ve/data/etc/apt/trusted.gpg.d
+       install -m 0644 proxmox-ve/proxmox-release-5.x.pubkey proxmox-ve/data/etc/apt/trusted.gpg.d/proxmox-ve-release-5.x.gpg
+       sed -e 's/@KVNAME@/${KVNAME}/' -e 's/@KERNEL_VER@/${KERNEL_VER}/' -e 's/@RELEASE@/${RELEASE}/' -e 's/@PKGREL@/${PKGREL}/' <proxmox-ve/control >proxmox-ve/data/DEBIAN/control
+       sed -e 's/@KVNAME@/${KVNAME}/' <proxmox-ve/postinst >proxmox-ve/data/DEBIAN/postinst
+       chmod 0755 proxmox-ve/data/DEBIAN/postinst
+       install -m 0755 proxmox-ve/postrm proxmox-ve/data/DEBIAN/postrm
+       echo "git clone git://git.proxmox.com/git/pve-kernel.git\\ngit checkout ${GITVERSION}" > proxmox-ve/data/usr/share/doc/${PACKAGE}/SOURCE
+       install -m 0644 proxmox-ve/copyright proxmox-ve/data/usr/share/doc/${PACKAGE}
+       install -m 0644 proxmox-ve/changelog.Debian proxmox-ve/data/usr/share/doc/${PACKAGE}
+       gzip -n --best proxmox-ve/data/usr/share/doc/${PACKAGE}/changelog.Debian
+       dpkg-deb --build proxmox-ve/data ${PVE_DEB}
+
+.PHONY: upload
+upload: ${DEBS}
+       tar cf - ${DEBS}|ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}
+
+.PHONY: distclean
+distclean: clean
+
+.PHONY: clean
+clean:
+       rm -rf *~ ${BUILD_DIR} *.deb *.dsc *.changes *.buildinfo
diff --git a/debian/changelog.Debian b/debian/changelog.Debian
new file mode 100644 (file)
index 0000000..97c0524
--- /dev/null
@@ -0,0 +1,268 @@
+proxmox-ve (5.1-39) unstable; urgency=medium
+
+  * depend on newest 4.13.13-6-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 14 Feb 2018 12:14:44 +0100
+
+proxmox-ve (5.1-36) unstable; urgency=medium
+
+  * depend on newest 4.13.13-5-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 15 Jan 2018 12:36:49 +0100
+
+proxmox-ve (5.1-35) unstable; urgency=medium
+
+  * depend on newest 4.13.13-4-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 8 Jan 2018 10:26:58 +0100
+
+proxmox-ve (5.1-34) unstable; urgency=medium
+
+  * depend on newest 4.13.13-3-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Sun, 7 Jan 2018 13:19:58 +0100
+
+proxmox-ve (5.1-32) unstable; urgency=medium
+
+  * depend on newest 4.13.13-2-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 21 Dec 2017 09:02:14 +0100
+
+proxmox-ve (5.1-31) unstable; urgency=medium
+
+  * depend on newest 4.13.13-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Dec 2017 10:00:13 +0100
+
+proxmox-ve (5.1-29) unstable; urgency=medium
+
+  * depend on newest 4.13.8-3-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 4 Dec 2017 09:15:03 +0100
+
+proxmox-ve (5.1-28) unstable; urgency=medium
+
+  * depend on newest 4.13.8-2-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 29 Nov 2017 09:49:35 +0100
+
+proxmox-ve (5.1-27) unstable; urgency=medium
+
+  * depend on newest 4.13.8-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 17 Nov 2017 11:41:10 +0100
+
+proxmox-ve (5.1-25) unstable; urgency=medium
+
+  * bump for 5.1 release
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 23 Oct 2017 09:32:53 +0200
+
+proxmox-ve (5.0-25) unstable; urgency=medium
+
+  * switch over to 4.13 based kernel series
+
+  * depend on newest 4.13.4-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 13 Oct 2017 08:59:53 +0200
+
+proxmox-ve (5.0-24) unstable; urgency=medium
+
+  * depend on newest 4.10.17-4-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 10 Oct 2017 14:39:55 +0200
+
+proxmox-ve (5.0-21) unstable; urgency=medium
+
+  * depend on newest 4.10.17-3-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 31 Aug 2017 14:57:17 +0200
+
+proxmox-ve (5.0-16) unstable; urgency=medium
+
+  * depend on newest 4.10.17-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 11 Jul 2017 11:11:35 +0200
+
+proxmox-ve (5.0-10) unstable; urgency=medium
+
+  * depend on newest 4.10.15-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 7 Jun 2017 10:36:33 +0200
+
+proxmox-ve (5.0-8) unstable; urgency=medium
+
+  * depend on newest 4.10.11-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 18 May 2017 09:14:18 +0200
+
+proxmox-ve (5.0-6) unstable; urgency=medium
+
+  * depend on newest 4.10.8-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 13 Apr 2017 11:24:12 +0200
+
+proxmox-ve (5.0-5) unstable; urgency=medium
+
+  * depend on newest 4.10.5-1-pve kernel
+
+  * remove old 4.x release key
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 28 Mar 2017 10:14:00 +0200
+
+proxmox-ve (5.0-3) unstable; urgency=medium
+
+  * depend on newest 4.10.3-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 24 Mar 2017 13:44:18 +0100
+
+proxmox-ve (5.0-2) unstable; urgency=medium
+
+  * depend on newest 4.10.1-2-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 10 Mar 2017 10:20:14 +0100
+
+proxmox-ve (5.0-1) unstable; urgency=medium
+
+  * Proxmox VE package for Debian Stretch
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 3 Mar 2017 15:56:11 +0100
+
+proxmox-ve (4.4-83) unstable; urgency=medium
+
+  * depend on newest 4.4.44-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 1 Mar 2017 09:22:26 +0100
+
+proxmox-ve (4.4-82) unstable; urgency=medium
+
+  * install PVE release keys in a Debian Stretch compatible way
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 23 Feb 2017 15:14:06 +0100
+
+proxmox-ve (4.4-80) unstable; urgency=medium
+
+  * depend on newest 4.4.40-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 8 Feb 2017 13:10:57 +0100
+
+proxmox-ve (4.4-76) unstable; urgency=medium
+
+  * update version for 4.4 release
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 8 Feb 2017 10:38:33 +0100
+
+proxmox-ve (4.3-74) unstable; urgency=medium
+
+  * depend on newest 4.4.35-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 5 Dec 2016 10:20:03 +0100
+
+proxmox-ve (4.3-73) unstable; urgency=medium
+
+  * depend on newest 4.4.30-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 30 Nov 2016 09:43:29 +0100
+
+proxmox-ve (4.3-72) unstable; urgency=medium
+
+  * depend on newest 4.4.24-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 14 Nov 2016 12:17:16 +0100
+
+proxmox-ve (4.3-67) unstable; urgency=medium
+
+  * depend on newest 4.4.21-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 10 Oct 2016 13:58:20 +0200
+
+proxmox-ve (4.3-66) unstable; urgency=medium
+
+  * depend on newest 4.4.19-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 14 Sep 2016 13:23:43 +0200
+
+proxmox-ve (4.2-63) unstable; urgency=medium
+
+  * use /etc/apt/trusted.gpg.d/ mechanism to install trusted apt keys
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 29 Aug 2016 12:08:43 +0200
+
+proxmox-ve (4.2-61) unstable; urgency=medium
+
+  * depend on newest 4.4.16-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 24 Aug 2016 15:11:08 +0200
+
+proxmox-ve (4.2-58) unstable; urgency=medium
+
+  * depend on newest 4.4.13-2-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 15 Jul 2016 06:03:16 +0200
+
+proxmox-ve (4.2-55) unstable; urgency=medium
+
+  * depend on newest 4.4.13-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Sat, 25 Jun 2016 11:52:14 +0200
+
+proxmox-ve (4.2-54) unstable; urgency=medium
+
+  * depend on newest 4.4.10-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Fri, 10 Jun 2016 20:56:08 +0200
+
+proxmox-ve (4.0-49) unstable; urgency=medium
+
+  * depend on newest 4.4.8-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 09 May 2016 10:29:57 +0200
+
+proxmox-ve (4.0-43) unstable; urgency=medium
+
+  * depend on newest 4.4.6-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Mon, 11 Apr 2016 09:35:06 +0200
+
+proxmox-ve (4.0-32) unstable; urgency=medium
+
+  * depend on newest 4.2.8-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Wed, 03 Feb 2016 16:15:41 +0100
+
+proxmox-ve (4.0-31) unstable; urgency=medium
+
+  * setup kernel links for installation CD (rescue boot)
+
+ -- Proxmox Support Team <support@proxmox.com>  Sun, 10 Jan 2016 10:10:37 +0100
+
+proxmox-ve (4.0-29) unstable; urgency=medium
+
+  * depend on newest 4.2.6-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 31 Dec 2015 12:46:00 +0100
+
+proxmox-ve (4.0-8) unstable; urgency=medium
+
+  * depend on newest 4.2.3-2-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Tue, 03 Nov 2015 10:40:01 +0100
+
+proxmox-ve (4.0-7) unstable; urgency=medium
+
+  * depend on newest 4.2.3-1-pve kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Sun, 18 Oct 2015 10:58:21 +0200
+
+proxmox-ve (4.0-6) unstable; urgency=medium
+
+  * depend on newest 4.1.3 kernel
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 30 Jul 2015 09:17:30 +0200
+
+proxmox-ve (4.0-1) unstable; urgency=medium
+
+  * Proxmox VE package for Debian Jessie
+
+ -- Proxmox Support Team <support@proxmox.com>  Sat, 28 Feb 2015 17:25:14 +0100
+
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..b52c0a1
--- /dev/null
@@ -0,0 +1,16 @@
+Package: proxmox-ve
+Version: @RELEASE@-@PKGREL@
+Architecture: all
+Section: admin
+Priority: optional
+Provides: proxmox-virtual-environment
+Conflicts: pve-kernel, proxmox-virtual-environment, proxmox-ve-3.10.0
+Replaces: pve-kernel, proxmox-virtual-environment, proxmox-ve-3.10.0
+Depends: libc6 (>= 2.7-18), pve-kernel-@KVNAME@, pve-firmware, pve-manager, qemu-server, pve-qemu-kvm, openssh-client, openssh-server, apt, vncterm, spiceterm
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Description: The Proxmox Virtual Environment
+ The Proxmox Virtual Environment is an easy to use Open Source
+ virtualization platform for running Virtual Appliances and Virtual
+ Machines. This is a meta package which will install everything
+ needed. This package also depends on the latest available Proxmox
+ kernel from the @KERNEL_VER@ series.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..ffc92da
--- /dev/null
@@ -0,0 +1,21 @@
+Copyright (C) 2016 Proxmox Server Solutions GmbH
+
+This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
+
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; version 2 dated June, 1991.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, 
+   MA 02110-1301 USA
+
+The complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/postinst b/debian/postinst
new file mode 100755 (executable)
index 0000000..88cd778
--- /dev/null
@@ -0,0 +1,81 @@
+#! /bin/sh
+
+# Abort if any command returns an error value 
+set -e 
+
+# This script is called as the last step of the installation of the 
+# package.  All the package's files are in place, dpkg has already
+# done its automatic conffile handling, and all the packages we depend
+# of are already fully installed and configured.
+
+# The following idempotent stuff doesn't generally need protecting 
+# against being run in the abort-* cases.
+
+case "$1" in
+  configure)
+    # Configure this package.  If the package must prompt the user for
+    # information, do it here.
+
+    # cleanup - remove Proxmox Release Key key from /etc/apt/trusted.gpg
+    /usr/bin/apt-key --keyring /etc/apt/trusted.gpg del 9887F95A >/dev/null 2>&1 || /bin/true
+
+    # cleanup - remove old stretch-incompatible variant of installing release key
+    rm -f /etc/apt/trusted.gpg.d/proxmox-ve.gpg /etc/apt/trusted.gpg.d/proxmox-ve.gpg~
+
+    # setup kernel links for installation CD (rescue boot)
+    mkdir -p /boot/pve
+    ln -sf /boot/vmlinuz-@KVNAME@ /boot/pve/vmlinuz
+    ln -sf /boot/initrd.img-@KVNAME@ /boot/pve/initrd.img
+    
+    # There are three sub-cases:
+    if test "${2+set}" != set; then
+      # We're being installed by an ancient dpkg which doesn't remember
+      # which version was most recently configured, or even whether
+      # there is a most recently configured version.
+      :
+
+    elif test -z "$2" -o "$2" = "<unknown>"; then
+      # The package has not ever been configured on this system, or was
+      # purged since it was last configured.
+      :
+
+    else
+      # Version $2 is the most recently configured version of this
+      # package.
+      :
+
+    fi ;;
+  abort-upgrade)
+    # Back out of an attempt to upgrade this package FROM THIS VERSION
+    # to version $2.  Undo the effects of "prerm upgrade $2".
+    :
+
+    ;;
+  abort-remove)
+    if test "$2" != in-favour; then
+      echo "$0: undocumented call to \`postinst $*'" 1>&2
+      exit 0
+    fi
+    # Back out of an attempt to remove this package, which was due to
+    # a conflict with package $3 (version $4).  Undo the effects of
+    # "prerm remove in-favour $3 $4".
+    :
+
+    ;;
+  abort-deconfigure)
+    if test "$2" != in-favour -o "$5" != removing; then
+      echo "$0: undocumented call to \`postinst $*'" 1>&2
+      exit 0
+    fi
+    # Back out of an attempt to deconfigure this package, which was
+    # due to package $6 (version $7) which we depend on being removed
+    # to make way for package $3 (version $4).  Undo the effects of
+    # "prerm deconfigure in-favour $3 $4 removing $6 $7".
+    :
+
+    ;;
+  *) echo "$0: didn't understand being called with \`$1'" 1>&2
+     exit 0;;
+esac
+
+exit 0
diff --git a/debian/postrm b/debian/postrm
new file mode 100755 (executable)
index 0000000..2ee5c14
--- /dev/null
@@ -0,0 +1,19 @@
+#! /bin/sh
+
+# Abort if any command returns an error value
+set -e
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+       # remove kernel symlinks
+       rm -f /boot/pve/vmlinuz
+       rm -f /boot/pve/initrd.img
+       rmdir --ignore-fail-on-non-empty /boot/pve/ || true
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
diff --git a/debian/proxmox-release-5.x.pubkey b/debian/proxmox-release-5.x.pubkey
new file mode 100644 (file)
index 0000000..8488f45
Binary files /dev/null and b/debian/proxmox-release-5.x.pubkey differ