Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=799db716f9a62facd09f44ea2f710705b98a363f
commit 799db716f9a62facd09f44ea2f710705b98a363f Author: Michel Hermier <herm...@frugalware.org> Date: Tue Mar 23 12:44:21 2010 +0100 kernel.sh * Add genscriptlet hook, not yet used. diff --git a/source/include/kernel.sh b/source/include/kernel.sh index b8ef206..f8a1349 100644 --- a/source/include/kernel.sh +++ b/source/include/kernel.sh @@ -112,6 +112,7 @@ if [ -z "$_F_kernel_name" ]; then else pkgdesc="The Linux Kernel and modules (${_F_kernel_name/-} version)" fi + ### # * url # * rodepends @@ -312,6 +313,18 @@ Fbuildkernel() } ### +# * Fkernel_genscriptlet_hook() +### +Fkernel_genscriptlet_hook() +{ + Freplace '_F_kernel_path' "$1" + Freplace '_F_kernel_name' "$1" + Freplace '_F_kernel_rel' "$1" + Freplace '_F_kernel_uname' "$1" + Freplace '_F_kernel_ver' "$1" +} + +### # * build() just calls Fbuildkernel() ### build() _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git