From: Dietmar Maurer Date: Thu, 12 Dec 2013 11:36:01 +0000 (+0100) Subject: add debian control files X-Git-Url: https://git.proxmox.com/?p=pve-kernel-3.10.0.git;a=commitdiff_plain;h=df8f99c6ba40e4998c7f92eed4084cf83c79962a add debian control files --- diff --git a/changelog.Debian b/changelog.Debian new file mode 100644 index 0000000..c038f8f --- /dev/null +++ b/changelog.Debian @@ -0,0 +1,5 @@ +pve-kernel-3.10.0 (3.10.0-1) unstable; urgency=low + + * first try + + -- Proxmox Support Team Thu, 12 Dec 2013 12:34:04 +0100 diff --git a/control.in b/control.in new file mode 100644 index 0000000..0f4be83 --- /dev/null +++ b/control.in @@ -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 +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 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 . + +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 index 0000000..0d4971f --- /dev/null +++ b/postinst.in @@ -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