]> git.proxmox.com Git - pve-kernel-3.10.0.git/commitdiff
add debian control files
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 12 Dec 2013 11:36:01 +0000 (12:36 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 12 Dec 2013 11:36:21 +0000 (12:36 +0100)
changelog.Debian [new file with mode: 0644]
control.in [new file with mode: 0644]
copyright [new file with mode: 0644]
postinst.in [new file with mode: 0755]

diff --git a/changelog.Debian b/changelog.Debian
new file mode 100644 (file)
index 0000000..c038f8f
--- /dev/null
@@ -0,0 +1,5 @@
+pve-kernel-3.10.0 (3.10.0-1) unstable; urgency=low
+
+  * first try
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 12 Dec 2013 12:34:04 +0100
diff --git a/control.in b/control.in
new file mode 100644 (file)
index 0000000..0f4be83
--- /dev/null
@@ -0,0 +1,11 @@
+Package: pve-kernel-@KVNAME@
+Version: @KERNEL_VER@-@PKGREL@
+Section: admin
+Priority: optional
+Architecture: amd64
+Provides: linux-image, linux-image-2.6
+Suggests: pve-firmware
+Depends: grub-pc | grub-efi-amd64, initramfs-tools, busybox
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Description: The Proxmox PVE Kernel Image
+ This package contains the linux kernel and initial ramdisk used for booting
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..fc980b2
--- /dev/null
+++ b/copyright
@@ -0,0 +1,27 @@
+This is a prepackaged version of the Linux kernel binary image.
+
+This package was put together by Proxmox Server
+Solutions GmbH <support@proxmox.com>.
+
+We use the RHEL7 kernel sources, available from:
+
+ftp://ftp.redhat.com/redhat/rhel/
+
+Linux is copyrighted by Linus Torvalds and others.
+
+   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/postinst.in b/postinst.in
new file mode 100755 (executable)
index 0000000..0d4971f
--- /dev/null
@@ -0,0 +1,23 @@
+#!/usr/bin/perl -w
+
+use strict;
+
+# Ignore all invocations except when called on to configure.
+exit 0 unless $ARGV[0] =~ /configure/;
+
+# do nothing if run from proxmox installer
+exit 0 if -e "/proxmox_install_mode";
+
+my $imagedir = "/boot";
+
+my $version = "@@KVNAME@@";
+
+system("depmod $version");
+
+system("update-initramfs -c -t -b $imagedir -k $version"); 
+
+if (-x "/usr/sbin/update-grub") {
+    system("/usr/sbin/update-grub");
+}
+
+exit 0