From 29b930fa70056a5aba86d32153b17c8d6dc68cba Mon Sep 17 00:00:00 2001 From: Maximilian Attems Date: Thu, 19 May 2011 12:22:08 +0000 Subject: [PATCH] fix postinst + add forgotten changelog entry. this check is superflous and looking for wrong path. As we depend on an initramfs generator the failure of generating would have happened already earlier. svn path=/dists/trunk/linux-2.6/; revision=17459 --- debian/changelog | 1 + debian/templates/temp.image.plain/postinst | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5c23a1212..1a977a848 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ linux-2.6 (2.6.39-1) unstable; urgency=low * [x86] Enable modular XEN_NETDEV_BACKEND. * topconfig enable mem cgroup RESOURCE_COUNTERS, CGROUP_MEM_RES_CTLR. (closes: #534964) + * Cleanup configs. [ Ben Hutchings ] * [!x86] Disable TPM drivers. TPMs are currently only fitted in PCs. diff --git a/debian/templates/temp.image.plain/postinst b/debian/templates/temp.image.plain/postinst index 2cfe122a6..4349f8a35 100755 --- a/debian/templates/temp.image.plain/postinst +++ b/debian/templates/temp.image.plain/postinst @@ -782,10 +782,6 @@ if (-d "/etc/kernel/postinst.d/$version") { die "Failed to process /etc/kernel/postinst.d/$version"; } -if ($initrd && ! -e "initrd.img-$version") { - die "Failed to create initrd image.\n"; -} - exit 0; __END__