diff --git a/debian/rules.real b/debian/rules.real index f7da5b13e..956967f66 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -395,7 +395,6 @@ install-image_s390_$(FEATURESET)_$(FLAVOUR)_plain_templates: ARG_BOOTLOADER = zi install-image_$(ARCH)_$(FEATURESET)_$(FLAVOUR)_plain_templates: for i in $(wildcard debian/templates/temp.image.plain/*); do \ sed \ - -e 's@=A@$(DEB_HOST_ARCH)@g' \ -e 's@=B@$(KERNEL_ARCH)@g' \ -e 's/=I/$(ARG_INITRD)/g' \ -e 's/=K/$(ARG_KIMAGE)/g' \ diff --git a/debian/templates/temp.image.plain/postinst b/debian/templates/temp.image.plain/postinst index aa36f9b94..abcab7f5d 100755 --- a/debian/templates/temp.image.plain/postinst +++ b/debian/templates/temp.image.plain/postinst @@ -27,7 +27,6 @@ my $ignore_depmod_err = ''; # normally we do not 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-architecture my $kernel_arch = "=B"; my $ramdisk = "=MK"; # List of tools to create initial ram fs. my $package_name = "linux-image-$version"; diff --git a/debian/templates/temp.image.plain/postrm b/debian/templates/temp.image.plain/postrm index 4acd90cc7..72d7aa604 100755 --- a/debian/templates/temp.image.plain/postrm +++ b/debian/templates/temp.image.plain/postrm @@ -33,7 +33,6 @@ my $minimal_swap = ''; # Do not swap symlinks 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-architecture my $kernel_arch = "=B"; my $ramdisk = "=MK"; # List of tools to create initial ram fs. my $package_name = "linux-image-$version"; diff --git a/debian/templates/temp.image.plain/preinst b/debian/templates/temp.image.plain/preinst index f609776f5..7862e6bd4 100755 --- a/debian/templates/temp.image.plain/preinst +++ b/debian/templates/temp.image.plain/preinst @@ -21,7 +21,6 @@ my $ignore_depmod_err = ''; # normally we do not 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-architecture my $kernel_arch = "=B"; my $ramdisk = "=MK"; # List of tools to create initial ram fs. my $package_name = "linux-image-$version"; diff --git a/debian/templates/temp.image.plain/prerm b/debian/templates/temp.image.plain/prerm index d0ca3091f..e52a23820 100755 --- a/debian/templates/temp.image.plain/prerm +++ b/debian/templates/temp.image.plain/prerm @@ -21,7 +21,6 @@ my $minimal_swap = ''; # Do not swap symlinks 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-architecture my $kernel_arch = "=B"; my $package_name = "linux-image-$version";