mirror of
https://abf.rosa.ru/djam/kernel-5.15.git
synced 2025-02-23 10:32:54 +00:00
Automatic import for version 3.10.19-1
This commit is contained in:
commit
dc291263e2
9 changed files with 3372 additions and 0 deletions
4
.abf.yml
Normal file
4
.abf.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
sources:
|
||||
"linux-3.10.19-rosa69.tar.xz": b19b0768eeaa664a9c45dc9b50915c0cc9c0c9ac
|
||||
"linux-3.10.tar.xz": a649d5c15f68ccbae1c4863e357bdc48da4cc0b4
|
||||
"patch-3.10.19.bz2": 11762d1c92b60b35779f3931460dc8cb817729c9
|
90
README.kernel-sources
Normal file
90
README.kernel-sources
Normal file
|
@ -0,0 +1,90 @@
|
|||
Hello Mageia Users,
|
||||
|
||||
linux-userspace-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 linux-userspace-headers, and kernel-source.
|
||||
You will need to install both linux-userspace-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...
|
||||
|
||||
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>
|
||||
(c) 2011 Thomas Backlund <tmb@mageia.org>
|
3
cpupower.config
Normal file
3
cpupower.config
Normal file
|
@ -0,0 +1,3 @@
|
|||
# See 'cpupower help' and cpupower(1) for more info
|
||||
CPUPOWER_START_OPTS="frequency-set -g ondemand"
|
||||
CPUPOWER_STOP_OPTS="frequency-set -g ondemand"
|
13
cpupower.service
Normal file
13
cpupower.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Configure CPU power related settings
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
EnvironmentFile=/etc/sysconfig/cpupower
|
||||
ExecStart=/usr/bin/cpupower $CPUPOWER_START_OPTS
|
||||
ExecStop=/usr/bin/cpupower $CPUPOWER_STOP_OPTS
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
123
disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch
Normal file
123
disable-mrproper-prepare-scripts-configs-in-devel-rpms.patch
Normal file
|
@ -0,0 +1,123 @@
|
|||
|
||||
Makefile | 24 ++++++++++++------------
|
||||
scripts/kconfig/Makefile | 19 -------------------
|
||||
2 files changed, 12 insertions(+), 31 deletions(-)
|
||||
|
||||
diff -Nurp linux-3.10.1-mga1/Makefile linux-3.10.1-mga1.mrp/Makefile
|
||||
--- linux-3.10.1-mga1/Makefile 2013-07-14 19:13:58.126152807 +0300
|
||||
+++ linux-3.10.1-mga1.mrp/Makefile 2013-07-14 19:16:14.385315249 +0300
|
||||
@@ -513,9 +513,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 \
|
||||
- asm-generic
|
||||
- $(Q)$(MAKE) $(build)=$(@)
|
||||
+scripts:
|
||||
|
||||
# Objects we will link into vmlinux / subdirs we need to visit
|
||||
init-y := init/
|
||||
@@ -835,7 +833,7 @@ prepare0: archprepare FORCE
|
||||
$(Q)$(MAKE) $(build)=.
|
||||
|
||||
# All the preparing..
|
||||
-prepare: prepare0
|
||||
+prepare:
|
||||
|
||||
# Generate some files
|
||||
# ---------------------------------------------------------------------------
|
||||
@@ -1017,13 +1015,15 @@ endif # CONFIG_MODULES
|
||||
CLEAN_DIRS += $(MODVERDIR)
|
||||
|
||||
# Directories & files removed with 'make mrproper'
|
||||
-MRPROPER_DIRS += include/config usr/include include/generated \
|
||||
- arch/*/include/generated
|
||||
-MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
|
||||
- Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
|
||||
- signing_key.priv signing_key.x509 x509.genkey \
|
||||
- extra_certificates signing_key.x509.keyid \
|
||||
- signing_key.x509.signer
|
||||
+#MRPROPER_DIRS += include/config usr/include include/generated \
|
||||
+# arch/*/include/generated
|
||||
+#MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \
|
||||
+# Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \
|
||||
+# signing_key.priv signing_key.x509 x509.genkey \
|
||||
+# extra_certificates signing_key.x509.keyid \
|
||||
+# signing_key.x509.signer
|
||||
+MRPROPER_DIRS += ""
|
||||
+MRPROPER_FILES += ""
|
||||
|
||||
# clean - Delete most, but leave enough to build external modules
|
||||
#
|
||||
@@ -1044,7 +1044,7 @@ clean: archclean vmlinuxclean
|
||||
#
|
||||
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 -Nurp linux-3.10.1-mga1/scripts/kconfig/Makefile linux-3.10.1-mga1.mrp/scripts/kconfig/Makefile
|
||||
--- linux-3.10.1-mga1/scripts/kconfig/Makefile 2013-07-14 19:13:58.126152807 +0300
|
||||
+++ linux-3.10.1-mga1.mrp/scripts/kconfig/Makefile 2013-07-14 19:16:14.386315260 +0300
|
||||
@@ -15,26 +15,18 @@ endif
|
||||
unexport CONFIG_
|
||||
|
||||
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)
|
||||
|
||||
localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 3rdparty/Makefile
|
||||
$(Q)mkdir -p include/generated
|
||||
@@ -77,32 +69,21 @@ update-po-config: $(obj)/kxgettext $(obj
|
||||
PHONY += allnoconfig allyesconfig allmodconfig alldefconfig randconfig
|
||||
|
||||
allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf 3rdparty/Makefile
|
||||
- $< --$@ $(Kconfig)
|
||||
|
||||
PHONY += listnewconfig olddefconfig oldnoconfig savedefconfig defconfig
|
||||
|
||||
listnewconfig olddefconfig: $(obj)/conf 3rdparty/Makefile
|
||||
- $< --$@ $(Kconfig)
|
||||
|
||||
# oldnoconfig is an alias of olddefconfig, because people already are dependent
|
||||
# on its behavior(sets new symbols to their default value but not 'n') with the
|
||||
# counter-intuitive name.
|
||||
oldnoconfig: $(obj)/conf 3rdparty/Makefile
|
||||
- $< --olddefconfig $(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:
|
3109
kernel-3.10.19-1.spec
Normal file
3109
kernel-3.10.19-1.spec
Normal file
File diff suppressed because it is too large
Load diff
2
kernel.rpmlintrc
Normal file
2
kernel.rpmlintrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
# too many false errors
|
||||
addFilter(".*")
|
11
linux-3.10.tar.sign
Normal file
11
linux-3.10.tar.sign
Normal file
|
@ -0,0 +1,11 @@
|
|||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAABAgAGBQJR0LWKAAoJEHm+PkMAQRiG1VcIAJTZEcZ4x3F7yzLyA+OfsEm6
|
||||
q4PrmLdcqmFOn9vh+kZ/IHvawIa038TGxxfkPC5l8ViDbEgvkIt3V1XfEIKeRxEV
|
||||
9uKwRuJH4wXiB8sJ/+4uOszJ0hM3aJajFftbgQ3vxA7/Ve3vG/OMWeOSfe+k66Hu
|
||||
KKeNNorTqMBseUt3cG5kLYliotxe7PTCs+uM1EtKHodUBr8GBVNFpDBhbjiLVr2H
|
||||
iPzulOVZKmk2GwjnKHTtAJADCRL/DW0RLtSMcjqLcd9ovKssBR5BO/G0/N/+VMNO
|
||||
9Xt3q2hat7qo3AzeR//2DC5cZlIVY5tQSqqdrTMCBLGeZTnvciwWKCyElcc7t3s=
|
||||
=Cmwg
|
||||
-----END PGP SIGNATURE-----
|
17
patch-3.10.19.sign
Normal file
17
patch-3.10.19.sign
Normal file
|
@ -0,0 +1,17 @@
|
|||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.22 (GNU/Linux)
|
||||
|
||||
iQIcBAABAgAGBQJSgu1TAAoJEDjbvchgkmk+6mgP/RwehKSC2zqixPV25xOOXtQe
|
||||
Jg1AFIG7y5P2fYLhHtadMHQYE5YPuE+rFcTcY7dNhvR8HCkabaOtGvuV9qMH3c1B
|
||||
jhwp2ubGdcNHA4fGtUwtiMOrASKCJDbROhdXpao1WLOjMZ1cxbr6GSJwBajCeho+
|
||||
wCfrs9uSHCrLNMnOxjxygpfhhWWegc2RXC8EtS4Z7SwfA+l+6fZ0hFofn1sdCsUS
|
||||
4YYp8B5WOC0H6hCpKd2PMH5geLVI5kDDhzNJrDp/bTEAxqpPMRj7teGiXfAzkcsk
|
||||
wytwVDlX3913s7BVQs6lo37iMst/AA0/xfP10agQ4FusFxfTIFMpmePjZLWqJe3u
|
||||
9shUDMiop7KPSRxK/w38XHQetYQpsWRIXgAMsKEBcyOCJ7btkm8aRW/t3W2WqBdy
|
||||
rFYCavljCkVm94WcYRZCn+5uqkWrZx/4JjnZSPXScddpm2vae3FO4FA3xIvjMLXz
|
||||
rBTDEgMpv3XXe6LmdbXarV6Niu7Xb+WfHOi2wXA8AgdAXAOhusc0SQxY1FLSQxUt
|
||||
WlRBCS+8uT6hzBHRlNbC0BGJ6L5mDi9/q4s6evMw73E71DNhJIXFNekGjD79rkVW
|
||||
oE6lIjQ05T83d0C++HqLmg+DnldIGEDNkCjvQiMdv5OPxx//4y11qcuNt7LNxS9L
|
||||
uyq8s1FOkCh4KDzr1dyC
|
||||
=GhOw
|
||||
-----END PGP SIGNATURE-----
|
Loading…
Add table
Reference in a new issue