Bug#558077: dpkg --print-installation-architecture is deprecated
Package: linux-2.6
Version: 2.6.32~rc8-1~experimental.1
Severity: minor
Tags: patch
Hello,
dpkg --print-installation-architecture is deprecated[1]. It's not used
but refered to in some comments.
Best regards
Uwe
[1] http://git.debian.org/?p=dpkg/dpkg.git;a=commitdiff;h=a7a2de0
--------------->8-----------------
dpkg --print-installation-architecture is deprecated since 2005. Don't
refer to it.
Index: linux-2.6-debian/debian/templates/temp.image.plain/postinst
===================================================================
--- linux-2.6-debian.orig/debian/templates/temp.image.plain/postinst 2009-11-26 09:26:18.000000000 +0100
+++ linux-2.6-debian/debian/templates/temp.image.plain/postinst 2009-11-26 09:27:23.000000000 +0100
@@ -28,7 +28,7 @@
my $relink_src_link = 'YES'; # There is no harm in checking the link
my $relink_build_link = 'YES'; # There is no harm in checking the link
my $force_build_link = ''; # There is no harm in checking the link
-my $arch = "=A"; # should be same as dpkg --print-installation-architecture
+my $arch = "=A"; # should be same as dpkg --print-architecture
my $kernel_arch = "=B";
my $ramdisk = "=MK"; # List of tools to create initial ram fs.
my $package_name = "=ST-image-$version";
Index: linux-2.6-debian/debian/templates/temp.image.plain/postrm
===================================================================
--- linux-2.6-debian.orig/debian/templates/temp.image.plain/postrm 2009-11-26 09:26:18.000000000 +0100
+++ linux-2.6-debian/debian/templates/temp.image.plain/postrm 2009-11-26 09:27:23.000000000 +0100
@@ -34,7 +34,7 @@
my $ignore_depmod_err = ''; # normally we do not
my $relink_build_link = 'YES'; # There is no harm in checking the link
my $force_build_link = ''; # we shall not create a dangling link
-my $arch = "=A"; # should be same as dpkg --print-installation-architecture
+my $arch = "=A"; # should be same as dpkg --print-architecture
my $kernel_arch = "=B";
my $ramdisk = "=MK"; # List of tools to create initial ram fs.
my $package_name = "=ST-image-$version";
Index: linux-2.6-debian/debian/templates/temp.image.plain/preinst
===================================================================
--- linux-2.6-debian.orig/debian/templates/temp.image.plain/preinst 2009-11-26 09:26:18.000000000 +0100
+++ linux-2.6-debian/debian/templates/temp.image.plain/preinst 2009-11-26 09:27:23.000000000 +0100
@@ -22,7 +22,7 @@
my $relink_src_link = 'YES'; # There is no harm in checking the link
my $relink_build_link = 'YES'; # There is no harm in checking the link
my $force_build_link = ''; # There is no harm in checking the link
-my $arch = "=A"; # should be same as dpkg --print-installation-architecture
+my $arch = "=A"; # should be same as dpkg --print-architecture
my $kernel_arch = "=B";
my $ramdisk = "=MK"; # List of tools to create initial ram fs.
my $package_name = "=ST-image-$version";
Index: linux-2.6-debian/debian/templates/temp.image.plain/prerm
===================================================================
--- linux-2.6-debian.orig/debian/templates/temp.image.plain/prerm 2009-11-26 09:26:18.000000000 +0100
+++ linux-2.6-debian/debian/templates/temp.image.plain/prerm 2009-11-26 09:27:23.000000000 +0100
@@ -22,7 +22,7 @@
my $ignore_depmod_err = ''; # normally we do not
my $relink_build_link = 'YES'; # There is no harm in checking the link
my $force_build_link = ''; # There is no harm in checking the link
-my $arch = "=A"; # should be same as dpkg --print-installation-architecture
+my $arch = "=A"; # should be same as dpkg --print-architecture
my $kernel_arch = "=B";
my $package_name = "=ST-image-$version";
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Reply to: