r3513 - in trunk/kernel/source/linux-2.6-2.6.12/debian: . templates
Sven Luther
luther at costa.debian.org
Sat Jul 16 00:11:14 UTC 2005
Author: luther
Date: 2005-07-16 00:11:13 +0000 (Sat, 16 Jul 2005)
New Revision: 3513
Modified:
trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile
trunk/kernel/source/linux-2.6-2.6.12/debian/README
trunk/kernel/source/linux-2.6-2.6.12/debian/templates/post-install.in
Log:
Added extra_postinstall_command (not using it for powerpc afterall, but it could be generally usefull still).
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-15 22:36:41 UTC (rev 3512)
+++ trunk/kernel/source/linux-2.6-2.6.12/debian/Makefile 2005-07-16 00:11:13 UTC (rev 3513)
@@ -158,6 +158,7 @@
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),' \
templates/post-install.in > post-install-$(subarch)
#
# Generates the kernel config file for a subarch by merging
Modified: trunk/kernel/source/linux-2.6-2.6.12/debian/README
===================================================================
--- trunk/kernel/source/linux-2.6-2.6.12/debian/README 2005-07-15 22:36:41 UTC (rev 3512)
+++ trunk/kernel/source/linux-2.6-2.6.12/debian/README 2005-07-16 00:11:13 UTC (rev 3513)
@@ -210,3 +210,13 @@
Typical usage:
default_config := 386
+
+extra_postinstall_command
+
+ This variable, if defined, is executed at the end of the post-install script,
+ which is used by kernel-package to add or modify the files going into the
+ kernel image package.
+
+ It can use these variables (but see templates/post-install.in for details) :
+ $(subarch), $(flavour), $(version) and $(abiname). Since Makefile.inc is a
+ Makefile, the leading $ need to be escaped as double $$.
Modified: trunk/kernel/source/linux-2.6-2.6.12/debian/templates/post-install.in
===================================================================
--- trunk/kernel/source/linux-2.6-2.6.12/debian/templates/post-install.in 2005-07-15 22:36:41 UTC (rev 3512)
+++ trunk/kernel/source/linux-2.6-2.6.12/debian/templates/post-install.in 2005-07-16 00:11:13 UTC (rev 3513)
@@ -105,6 +105,12 @@
fi
done
fi
+
+# Execute any extra post-install command provided by the arch/subarch/flavour
+if [ '@extra_postinstall_command@' ]; then
+ @extra_postinstall_command@
+fi
+
#
# Clean up the build and source symlinks
#
More information about the Kernel-svn-changes
mailing list