xbps-src: reserve "kernel_hooks_version" variable.

This variable can be used in templates to specify the kernel version
passed to the Vanilla kernel hooks in /etc/kernel.d/<target>.
This commit is contained in:
Juan RP 2011-07-09 23:07:50 +02:00
parent 962aa6595e
commit 1cf57eab23
3 changed files with 10 additions and 2 deletions

View file

@ -47,7 +47,7 @@ xbps_write_metadata_pkg()
preserve keep_empty_dirs xml_entries sgml_entries \
xml_catalogs sgml_catalogs gconf_entries gconf_schemas \
gtk_iconcache_dirs font_dirs dkms_modules provides \
conflicts
kernel_hooks_version conflicts
. $XBPS_SRCPKGDIR/${sourcepkg}/${subpkg}.template
pkgname=${subpkg}
set_tmpl_common_vars