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

Re: [PATCH 0/4] Replace the kernel-package template system



Here's the diff between control files for linux-image-3.11-rc4-amd64
before and after this patch series (ignoring the md5sums):

diff -urN linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/control linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/control
--- linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/control	2013-08-08 14:27:02.000000000 +0200
+++ linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/control	2013-08-15 01:45:58.000000000 +0200
@@ -1,11 +1,11 @@
 Package: linux-image-3.11-rc4-amd64
 Source: linux
-Version: 3.11~rc4-1~exp1
+Version: 3.11~rc4-1~exp2
 Architecture: amd64
 Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
-Installed-Size: 113707
+Installed-Size: 113729
 Pre-Depends: debconf | debconf-2.0
-Depends: kmod | module-init-tools, linux-base (>= 3~), initramfs-tools (>= 0.110~) | linux-initramfs-tool
+Depends: kmod | module-init-tools, linux-base (>= 3~), debconf (>= 0.5) | debconf-2.0, initramfs-tools (>= 0.110~) | linux-initramfs-tool
 Recommends: firmware-linux-free (>= 3~)
 Suggests: linux-doc-3.11, debian-kernel-handbook, grub-pc | extlinux | lilo
 Breaks: at (<< 3.1.12-1+squeeze1), initramfs-tools (<< 0.110~)
diff -urN linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/postinst linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/postinst
--- linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/postinst	2013-08-08 14:27:02.000000000 +0200
+++ linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/postinst	2013-08-15 01:45:57.000000000 +0200
@@ -16,13 +16,12 @@
 my $no_symlink        = "";
 my $do_symlink        = "Yes";  # target machine defined
 my $kimage            = "vmlinuz";
-my $initrd            = "YES";        # initrd kernel
+my $initrd            = "YES";
 my $mkimage           = "";     # command to generate the initrd image
 my $use_hard_links    = ''; # hardlinks do not work across fs boundaries
 my $postinst_hook     = '';          #Normally we do not
 my $minimal_swap      = '';          # Do not swap symlinks
 my $ignore_depmod_err = '';          # normally we do not
-my $kernel_arch       = "x86";
 my $ramdisk           = '';
 my $package_name      = "linux-image-$version";
 
@@ -99,8 +98,6 @@
 # most of our work is done in $image_dest (nominally /)
 chdir("$image_dest") or die "could not chdir to $image_dest:$!\n";
 
-$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch;
-
 
 die "Internal Error: Could not find image (" . $realimageloc
   . "$kimage-$version)\n" unless -e $realimageloc
diff -urN linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/postrm linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/postrm
--- linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/postrm	2013-08-08 14:27:02.000000000 +0200
+++ linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/postrm	2013-08-15 01:45:58.000000000 +0200
@@ -22,10 +22,8 @@
 my $version           = "3.11-rc4-amd64";
 my $link_in_boot      = "";
 my $kimage            = "vmlinuz";
-my $initrd            = "YES";     # initrd kernel
+my $initrd            = "YES";
 my $postrm_hook       = '';       #Normally we do not
-my $kernel_arch       = "x86";
-my $ramdisk           = "=MK";  # List of tools to create initial ram fs.
 my $package_name    = "linux-image-$version";
 
 #known variables
@@ -66,8 +64,6 @@
   chdir("$image_dest") or die "could not chdir to $image_dest:$!\n";
 }
 
-$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch;
-
 
 ######################################################################
 ######################################################################
diff -urN linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/preinst linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/preinst
--- linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/preinst	2013-08-08 14:27:02.000000000 +0200
+++ linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/preinst	2013-08-15 01:45:57.000000000 +0200
@@ -13,7 +13,6 @@
 my $version         = "3.11-rc4-amd64";
 my $kimage          = "vmlinuz";
 my $preinst_hook    = '';       #Normally we do not
-my $kernel_arch       = "x86";
 my $package_name    = "linux-image-$version";
 
 #known variables
@@ -40,8 +39,6 @@
   }
 }
 
-$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch;
-
 
 # set the env var stem
 $ENV{'STEM'} = "linux";
diff -urN linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/prerm linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/prerm
--- linux-image-3.11-rc4-amd64_3.11~rc4-1~exp1_amd64/DEBIAN/prerm	2013-08-08 14:27:02.000000000 +0200
+++ linux-image-3.11-rc4-amd64_3.11~rc4-1~exp2_amd64/DEBIAN/prerm	2013-08-15 01:45:57.000000000 +0200
@@ -11,7 +11,6 @@
 my $version         = "3.11-rc4-amd64";
 my $kimage          = "vmlinuz";
 my $prerm_hook      = '';       #Normally we do not
-my $kernel_arch       = "x86";
 my $package_name    = "linux-image-$version";
 
 #known variables
@@ -43,8 +42,6 @@
 }
 
 
-$ENV{KERNEL_ARCH}=$kernel_arch if $kernel_arch;
-
 #check to see if we are trying to remove a running kernel
 # if so we abort right now.
 chop($running=`uname -r`);


-- 
Ben Hutchings
Man invented language to satisfy his deep need to complain. - Lily Tomlin

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: