kernel: add options to make acpid work, set preserve. Bumprev.

--HG--
extra : convert_revision : 56535eb244cf3a019861fa7514e9a21881082f35
This commit is contained in:
Juan RP 2009-12-02 04:55:11 +01:00
parent d85f0d1c59
commit 588cee1346
4 changed files with 8 additions and 21 deletions

View File

@ -1,14 +0,0 @@
#
# This script updates the grub.cfg file for GRUB2.
#
case "${ACTION}" in
pre)
;;
post)
if [ -x usr/sbin/grub-mkconfig ]; then
echo "Updating grub2 configuration file..."
usr/sbin/grub-mkconfig -o boot/grub/grub.cfg
[ $? -ne 0 ] && exit $?
fi
;;
esac

View File

@ -385,10 +385,10 @@ CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="" CONFIG_PM_STD_PARTITION=""
CONFIG_ACPI=y CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set CONFIG_ACPI_PROCFS=y
# CONFIG_ACPI_PROCFS_POWER is not set CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y CONFIG_ACPI_SYSFS_POWER=y
# CONFIG_ACPI_PROC_EVENT is not set CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m CONFIG_ACPI_BUTTON=m

View File

@ -377,10 +377,10 @@ CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION="" CONFIG_PM_STD_PARTITION=""
CONFIG_ACPI=y CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS is not set CONFIG_ACPI_PROCFS=y
# CONFIG_ACPI_PROCFS_POWER is not set CONFIG_ACPI_PROCFS_POWER=y
CONFIG_ACPI_SYSFS_POWER=y CONFIG_ACPI_SYSFS_POWER=y
# CONFIG_ACPI_PROC_EVENT is not set CONFIG_ACPI_PROC_EVENT=y
CONFIG_ACPI_AC=m CONFIG_ACPI_AC=m
CONFIG_ACPI_BATTERY=m CONFIG_ACPI_BATTERY=m
CONFIG_ACPI_BUTTON=m CONFIG_ACPI_BUTTON=m

View File

@ -3,7 +3,7 @@ pkgname=kernel
_kernel_ver=2.6.31 _kernel_ver=2.6.31
_kernel_patch_ver=6 _kernel_patch_ver=6
version=${_kernel_ver}.${_kernel_patch_ver} version=${_kernel_ver}.${_kernel_patch_ver}
revision=1 revision=2
wrksrc="linux-$version" wrksrc="linux-$version"
distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2" distfiles="${KERNEL_SITE}/kernel/v2.6/linux-$version.tar.bz2"
build_style=custom-install build_style=custom-install
@ -17,6 +17,7 @@ subpackages="$pkgname-firmware $pkgname-headers"
triggers="initramfs-tools" triggers="initramfs-tools"
essential=yes essential=yes
nostrip=yes nostrip=yes
preserve=yes
Add_dependency full glibc Add_dependency full glibc
Add_dependency full dash Add_dependency full dash