mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 03:07:14 +08:00
linux: add webcam-fixes, pre-patches, update config
This commit is contained in:
parent
8a50a16cfe
commit
8d112986c3
30
linux-3-CHAKRA/CHANGELOG
Normal file
30
linux-3-CHAKRA/CHANGELOG
Normal file
@ -0,0 +1,30 @@
|
||||
CHANGELOG
|
||||
|
||||
------------------------------------------------------------
|
||||
2011-08-13
|
||||
------------------------------------------------------------
|
||||
|
||||
Patch-Ver: 3.0.1-2-CHAKRA
|
||||
Kernel-Ver: 3.0.1
|
||||
Aufs-Ver: 3.0-rcN-20110801
|
||||
Pre-Patch: 3.0.2pre
|
||||
Bugfixes: change-default-console-loglevel.patch
|
||||
fix-i915.patch
|
||||
webcam-usb_quirk_reset_resume.patch
|
||||
|
||||
Notes: Added webcam quirks, added pre-patches,
|
||||
make CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND
|
||||
default
|
||||
|
||||
------------------------------------------------------------
|
||||
2011-08-06
|
||||
------------------------------------------------------------
|
||||
|
||||
Patch-Ver: 3.0.1-1-CHAKRA
|
||||
Kernel-Ver: 3.0.1
|
||||
Aufs-Ver: 3.0-rcN-20110801
|
||||
Pre-Patch: none
|
||||
Bugfixes: change-default-console-loglevel.patch
|
||||
fix-i915.patch
|
||||
|
||||
Notes: inital commit of linux 3 series
|
@ -1,7 +1,7 @@
|
||||
# Source env-settings
|
||||
source ../_buildscripts/`pwd | cut -d/ -f3`-${_arch}-makepkg.conf
|
||||
# Pre-Patch settings
|
||||
_patch="3.0.1"
|
||||
_patch="3.0.2pre"
|
||||
_queue="3.0"
|
||||
# Aufs
|
||||
_aufs="3.0-rcN-20110801"
|
||||
@ -17,15 +17,18 @@ SRCNAME="linux-3.0-CHAKRA"
|
||||
# filename%patchlevel (file must be in patches subdirectory)
|
||||
PATCHES=(
|
||||
# add upstream patch from 3.0 series
|
||||
ftp://ftp.kernel.org/pub/linux/kernel/v3.0/patch-$_patch.bz2%1
|
||||
ftp://ftp.kernel.org/pub/linux/kernel/v3.0/patch-3.0.1.bz2%1
|
||||
|
||||
# add latest fixes from stable queue, if needed
|
||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||
#http://chakra-project.org/sources/linux/patches/3.0/bugfix/$_patch.patch%1
|
||||
http://chakra-project.org/sources/linux/patches/3/bugfix/$_patch.patch%1
|
||||
|
||||
# fix #19234 i1915 display size
|
||||
http://chakra-project.org/sources/linux/patches/3/bugfix/fix-i915.patch%1
|
||||
|
||||
# fix several webcams (https://bugzilla.kernel.org/show_bug.cgi?id=35922)
|
||||
http://chakra-project.org/sources/linux/patches/3/bugfix/webcam-usb_quirk_reset_resume.patch%1
|
||||
|
||||
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
|
||||
# remove this when a Kconfig knob is made available by upstream
|
||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||
@ -39,7 +42,7 @@ PATCHES=(
|
||||
http://chakra-project.org/sources/linux/patches/3/aufs2.1/aufs2.1-standalone.tree-$_aufs.patch.bz2%1
|
||||
)
|
||||
# Name of the resulting patch (will be bzipped afterwards)
|
||||
PATCHNAME="patch-$_patch-1-CHAKRA"
|
||||
PATCHNAME="patch-3.0.1-2-CHAKRA"
|
||||
|
||||
# Run this before applying patches
|
||||
pre_apply() {
|
||||
|
@ -1,21 +1,19 @@
|
||||
README - 2010-03-04
|
||||
README - 2010-08-12
|
||||
|
||||
To generate a kernel-patch change in your chakra-buildsys with:
|
||||
To generate a kernel-patch change in your chakra-buildsys.
|
||||
Enter the linux-X-CHAKRA folder.
|
||||
|
||||
cd ~/DEV/KDEmod
|
||||
./enter* chakra-i686 or ./enter* chakra-x86_64
|
||||
|
||||
check if aufs2 and linux-2.6-ARCH/patches has same DATE
|
||||
|
||||
cd ../linux-2.6-ARCH
|
||||
|
||||
rm -Rv src
|
||||
rm -v patch-2.6*
|
||||
Create the kernel patch with:
|
||||
|
||||
./gen_kernel_patch
|
||||
|
||||
copy generated patch archive to kernel26 folder in same repo
|
||||
Create the kernel pre-patch with:
|
||||
|
||||
update kernel26 PKGBUILD
|
||||
./gen_kernel_patch
|
||||
|
||||
update svn with new changes of aufs2, kernel26 and linux-2.6-ARCH
|
||||
Create the aufs-patch with:
|
||||
|
||||
./create-aufs.sh
|
||||
|
||||
You find the needed aufs-patch in _chroot/<name-of-chroot>/_tmp
|
||||
Also you need the 3 patches from the aufs-folder.
|
@ -10,9 +10,9 @@ pkgname=('linux' 'linux-headers' 'linux-docs') # Build stock -CHAKRA kernel
|
||||
_kernelname=${pkgname#linux}
|
||||
_basekernel=3.0
|
||||
pkgver=${_basekernel}.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
makedepends=('xmlto' 'docbook-xsl')
|
||||
_patchname="patch-${pkgver}-1-CHAKRA"
|
||||
_patchname="patch-${pkgver}-2-CHAKRA"
|
||||
arch=(i686 x86_64)
|
||||
license=('GPL2')
|
||||
url="http://www.kernel.org"
|
||||
@ -24,9 +24,9 @@ source=(ftp://ftp.kernel.org/pub/linux/kernel/v3.0/linux-$_basekernel.tar.bz2
|
||||
# standard config files for mkinitcpio ramdisk
|
||||
linux.preset)
|
||||
md5sums=('398e95866794def22b12dfbc15ce89c0'
|
||||
'2620613e46e8206da2f07e6bb55c14ce'
|
||||
'92f67dea38133ec678d764fd073bb907'
|
||||
'2c773dea8f5a86351cc706c2a2ec4a22'
|
||||
'933995f8a2a1c0fd18d98605cdf9c445'
|
||||
'f1f5607b6c82728779c96ca7ce61e772'
|
||||
'6c7b130696bd7c6c785a858aedf7b5e4'
|
||||
'b019872ce926de3ec82985fc399832c6')
|
||||
|
||||
build() {
|
||||
|
@ -514,9 +514,9 @@ CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_TABLE=m
|
||||
CONFIG_CPU_FREQ_STAT=m
|
||||
CONFIG_CPU_FREQ_STAT_DETAILS=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
|
||||
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
|
||||
|
@ -497,9 +497,9 @@ CONFIG_CPU_FREQ=y
|
||||
CONFIG_CPU_FREQ_TABLE=m
|
||||
CONFIG_CPU_FREQ_STAT=m
|
||||
CONFIG_CPU_FREQ_STAT_DETAILS=y
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
|
||||
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
|
||||
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
|
||||
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
|
||||
CONFIG_CPU_FREQ_GOV_POWERSAVE=m
|
||||
|
Loading…
Reference in New Issue
Block a user