Added extra_postinstall_command (not using it for powerpc afterall, but it could be generally usefull still).
svn path=/trunk/kernel/source/linux-2.6-2.6.12/; revision=3513
This commit is contained in:
parent
37bd417d06
commit
0762f2cbed
|
@ -158,6 +158,7 @@ header-install-$(subarch): templates/header-install.in
|
||||||
post-install-$(subarch): templates/post-install.in
|
post-install-$(subarch): templates/post-install.in
|
||||||
sed -e 's,@initrd_modules@,$(initrd_modules),' \
|
sed -e 's,@initrd_modules@,$(initrd_modules),' \
|
||||||
-e 's,@append_subarch@,$(append),' \
|
-e 's,@append_subarch@,$(append),' \
|
||||||
|
-e 's,@extra_postinstall_command@,$(extra_postinstall_command),' \
|
||||||
templates/post-install.in > post-install-$(subarch)
|
templates/post-install.in > post-install-$(subarch)
|
||||||
#
|
#
|
||||||
# Generates the kernel config file for a subarch by merging
|
# Generates the kernel config file for a subarch by merging
|
||||||
|
|
|
@ -210,3 +210,13 @@ default_config
|
||||||
Typical usage:
|
Typical usage:
|
||||||
|
|
||||||
default_config := 386
|
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 $$.
|
||||||
|
|
|
@ -105,6 +105,12 @@ if [ -n "${modules}" ]; then
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
fi
|
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
|
# Clean up the build and source symlinks
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue