FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-26-2009, 07:35 AM
Uwe Kleine-König
 
Default 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/ |



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:37 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org