--------------->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";