Automatic import for version 2.6.38.7

This commit is contained in:
Rosa 2012-02-01 14:47:19 +04:00
commit d9136d88cc
6 changed files with 6912 additions and 0 deletions

4
.abf.yml Normal file
View file

@ -0,0 +1,4 @@
sources:
"linux-2.6.38.7-mnb1.tar.bz2": 17a9d3aa4ada04210320f25da8cdffc7b268d7dc
"linux-2.6.38.tar.bz2": 02aade5ad3dedd70739c9b4a05de40edbe432d25
"patch-2.6.38.7.bz2": 3eeb6983791e28e7bcbf0e272cd43dac49c6154c

90
README.kernel-sources Normal file
View file

@ -0,0 +1,90 @@
Hello Mandriva Users,
kernel-headers contains the headers for the source code of Linux kernel.
All source code necessary to compile a new kernel is included in two
packages kernel-headers, and kernel-source. You will need to install
both kernel-headers (needed for general Linux compilation), and
kernel-source in order to compile a new kernel.
The kernel is the central process of your Linux machine, the mediator
between the hardware and your programs. It is responsible for memory
allocations, process managing, device access...
Although modern kernels are very flexible thanks to dynamic modules, you
may need to compile your own kernel for various reasons: your found a
new module which need a more recent kernel, you need a feature of a new
kernel, etc...
Anyway, all the new kernels may be found in the cooker distrib (look for
mirrors at http://qa.mandriva.com/twiki/bin/view/Main/CookerMirrors).
Here is a short sum-up of what you can find in the Kernel-HOWTO. Consult
it in case of a problem or if the shortcut here provided does not meet
your needs. You should also consult the README of kernel-sources.
1. Configure your new kernel
You should never build a kernel as root, so as a normal user:
Copy the source in /usr/src/linux/ to ~/kernel/
Change to ~/kernel/ and clean-up previous compilations, by issuing
"make mrproper",
In console mode, run "make menuconfig",
Under X11, run "make xconfig".
Then configure all sections of your kernel making each feature you need
available constantly or as a module. Note that you should compile most
features as a module, as it consume less memory, taking into account
that some of them cannot be modules as you may need them at boot time,
before dynamic modules be loaded...
2. Compile it
Just issue "make" to create a compressed kernel image and the modules you
configured.
3. install your new kernel
Now you need root privilegies, so:
Issue "su" and enter root password.
Issue "make modules_install"
This will copy your modules and needed files to /lib/modules/
Issue "make install"
This will copy your new kernel and system.map to boot dir (/boot/) with
correct names including version, and change respective links.
It finally runs lilo to take into account your new kernel.
4. Modify Lilo to allow your booting on old kernel
* This step is optional, although recommended *
See lilo.conf man page.
Your are encouraged during this step to create a new section in your
lilo.conf file, in order to enable you to boot on your both kernels, the
old and the new one.
You need to run lilo then to take your changes into account.
You may also use linuxconf to do all that with a nice GUI.
5. Reboot your machine...
And pray.
Anyway if something goes wrong, you just need to reboot and choose your
old kernel with lilo.
Enjoy!
========================================================================
(c) 1999-2006 Mandriva, Camille Bégnis <camille@mandriva.com>
(c) 2006 Thomas Backlund <tmb@mandriva.org>

View file

@ -0,0 +1,106 @@
Makefile | 13 +++++--------
scripts/kconfig/Makefile | 18 ------------------
2 files changed, 5 insertions(+), 26 deletions(-)
diff -urp linux-2.6.38-mga0.2/Makefile linux-2.6.38-mga0.2-mrproper/Makefile
--- linux-2.6.38-mga0.2/Makefile 2011-03-20 05:16:56.702931902 +0200
+++ linux-2.6.38-mga0.2-mrproper/Makefile 2011-03-20 05:18:01.828314994 +0200
@@ -482,8 +482,7 @@ ifeq ($(KBUILD_EXTMOD),)
# Carefully list dependencies so we do not try to build scripts twice
# in parallel
PHONY += scripts
-scripts: scripts_basic include/config/auto.conf include/config/tristate.conf
- $(Q)$(MAKE) $(build)=$(@)
+scripts:
# Objects we will link into vmlinux / subdirs we need to visit
init-y := init/
@@ -956,7 +955,7 @@ prepare0: archprepare FORCE
$(Q)$(MAKE) $(build)=. missing-syscalls
# All the preparing..
-prepare: prepare0
+prepare:
# Generate some files
# ---------------------------------------------------------------------------
@@ -1132,10 +1131,8 @@ CLEAN_FILES += vmlinux System.map \
.tmp_kallsyms* .tmp_version .tmp_vmlinux* .tmp_System.map
# Directories & files removed with 'make mrproper'
-MRPROPER_DIRS += include/config usr/include include/generated
-MRPROPER_FILES += .config .config.old .version .old_version \
- include/linux/version.h \
- Module.symvers tags TAGS cscope*
+MRPROPER_DIRS += ""
+MRPROPER_FILES += ""
# clean - Delete most, but leave enough to build external modules
#
@@ -1153,7 +1150,7 @@ clean: archclean
#
mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS))
mrproper: rm-files := $(wildcard $(MRPROPER_FILES))
-mrproper-dirs := $(addprefix _mrproper_,Documentation/DocBook scripts)
+mrproper-dirs := $(addprefix _mrproper_,Documentation/DocBook)
PHONY += $(mrproper-dirs) mrproper archmrproper
$(mrproper-dirs):
diff -urp linux-2.6.38-mga0.2/scripts/kconfig/Makefile linux-2.6.38-mga0.2-mrproper/scripts/kconfig/Makefile
--- linux-2.6.38-mga0.2/scripts/kconfig/Makefile 2011-03-20 05:16:56.702931902 +0200
+++ linux-2.6.38-mga0.2-mrproper/scripts/kconfig/Makefile 2011-03-20 05:18:01.828314994 +0200
@@ -12,26 +12,18 @@ Kconfig := Kconfig
endif
xconfig: $(obj)/qconf 3rdparty/Makefile
- $< $(Kconfig)
gconfig: $(obj)/gconf 3rdparty/Makefile
- $< $(Kconfig)
menuconfig: $(obj)/mconf 3rdparty/Makefile
- $< $(Kconfig)
config: $(obj)/conf 3rdparty/Makefile
- $< --oldaskconfig $(Kconfig)
nconfig: $(obj)/nconf 3rdparty/Makefile
- $< $(Kconfig)
oldconfig: $(obj)/conf 3rdparty/Makefile
- $< --$@ $(Kconfig)
silentoldconfig: $(obj)/conf 3rdparty/Makefile
- $(Q)mkdir -p include/generated
- $< --$@ $(Kconfig)
# if no path is given, then use src directory to find file
ifdef LSMOD
@@ -98,26 +90,16 @@ update-po-config: $(obj)/kxgettext $(obj
PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig
allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf 3rdparty/Makefile
- $< --$@ $(Kconfig)
PHONY += listnewconfig oldnoconfig savedefconfig defconfig
listnewconfig oldnoconfig: $(obj)/conf 3rdparty/Makefile
- $< --$@ $(Kconfig)
savedefconfig: $(obj)/conf 3rdparty/Makefile
- $< --$@=defconfig $(Kconfig)
defconfig: $(obj)/conf 3rdparty/Makefile
-ifeq ($(KBUILD_DEFCONFIG),)
- $< --defconfig $(Kconfig)
-else
- @echo "*** Default configuration is based on '$(KBUILD_DEFCONFIG)'"
- $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$(KBUILD_DEFCONFIG) $(Kconfig)
-endif
%_defconfig: $(obj)/conf 3rdparty/Makefile
- $(Q)$< --defconfig=arch/$(SRCARCH)/configs/$@ $(Kconfig)
# Help text used by make help
help:

6696
kernel.spec Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: See http://www.kernel.org/signature.html for info
iD8DBQBNftiIyGugalF9Dw4RArlpAJ0UjLWogtvN6W3Wj1cH5dH5DL4Y+wCePi0r
IrF0+FZ1nuSJ4G8IcEM0K1Y=
=N2sw
-----END PGP SIGNATURE-----

8
patch-2.6.38.7.bz2.sign Normal file
View file

@ -0,0 +1,8 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: See http://www.kernel.org/signature.html for info
iD8DBQBN2EVfyGugalF9Dw4RAsSHAKCLKwaEPGJEDdpckrOReObpinESYwCcD0w7
pWmJmIjIV8TsbgNuMqgntpU=
=wOpp
-----END PGP SIGNATURE-----