r3535 - trunk/kernel/source/linux-2.6-2.6.12/debian
Jurij Smakov
jurij-guest at costa.debian.org
Sat Jul 16 05:23:51 UTC 2005
Author: jurij-guest
Date: 2005-07-16 05:23:49 +0000 (Sat, 16 Jul 2005)
New Revision: 3535
Modified:
trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile
Log:
Make sure that stuff does not break if extra_postinstall_command
is undefined.
Modified: trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile
===================================================================
--- trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile 2005-07-16 04:48:36 UTC (rev 3534)
+++ trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile 2005-07-16 05:23:49 UTC (rev 3535)
@@ -156,10 +156,15 @@
# The way to make the correct package names is to make a
# subarch-specific post-install script...
#
+ifdef extra_postinstall_command
+ extra_command := $(extra_postinstall_command)
+else
+ extra_command := true
+endif
post-install-$(subarch): templates/post-install.in
- sed -e 's, at initrd_modules@,$(initrd_modules),' \
- -e 's, at append_subarch@,$(append),' \
- -e 's, at extra_postinstall_command@,$(extra_postinstall_command),' \
+ sed -e 's, at initrd_modules@,$(initrd_modules),' \
+ -e 's, at append_subarch@,$(append),' \
+ -e 's, at extra_postinstall_command@,$(extra_command),' \
templates/post-install.in > post-install-$(subarch)
#
# Generates the kernel config file for a subarch by merging
More information about the Kernel-svn-changes
mailing list