mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 10:04:36 +08:00
linux-lts: add config file, update to 4.4.17(2016-08-14 current LTS version), no build yet as per AlmAck request to study the compatibility furthur
This commit is contained in:
parent
e5a7fa768b
commit
48546f8bcc
@ -1,8 +1,7 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
# Source global configuration
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
source ../linux-lts.conf
|
||||||
_kernelver=3.14.66
|
|
||||||
|
|
||||||
pkgname=acpi_call-lts
|
pkgname=acpi_call-lts
|
||||||
_pkgname=acpi_call
|
_pkgname=acpi_call
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
# Source global configuration
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
source ../linux-lts.conf
|
||||||
_kernelver=3.14.66
|
|
||||||
|
|
||||||
pkgname=bbswitch-lts
|
pkgname=bbswitch-lts
|
||||||
_pkgname=bbswitch
|
_pkgname=bbswitch
|
||||||
@ -18,6 +17,7 @@ depends=("linux-lts=${_kernelver}")
|
|||||||
makedepends=("linux-lts-headers=${_kernelver}")
|
makedepends=("linux-lts-headers=${_kernelver}")
|
||||||
source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz")
|
source=("https://github.com/Bumblebee-Project/bbswitch/archive/v${pkgver}.tar.gz")
|
||||||
md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
|
md5sums=('5b116b31ace3604ddf9d1fc1f4bc5807')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd ${srcdir}/${_pkgname}-${pkgver}
|
cd ${srcdir}/${_pkgname}-${pkgver}
|
||||||
make KDIR=/usr/lib/modules/${_kver}/build KVERSION=${_kver}
|
make KDIR=/usr/lib/modules/${_kver}/build KVERSION=${_kver}
|
||||||
|
@ -1,14 +1,9 @@
|
|||||||
#
|
# Source global configuration
|
||||||
# Chakra Packages for Chakra, part of chakraos.org
|
source ../linux-lts.conf
|
||||||
#
|
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
|
||||||
_kernelver=3.14.66
|
|
||||||
|
|
||||||
pkgname=broadcom-wl-lts
|
pkgname=broadcom-wl-lts
|
||||||
pkgver=6.30.223.271
|
pkgver=6.30.223.271
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
|
pkgdesc='Broadcom 802.11abgn hybrid Linux networking device driver'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://www.broadcom.com/support/802.11/linux_sta.php'
|
url='http://www.broadcom.com/support/802.11/linux_sta.php'
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
# Source global configuration
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
source ../linux-lts.conf
|
||||||
_kernelver=3.14.66
|
|
||||||
|
|
||||||
url_ref="http://support.amd.com/en-us/download/desktop?os=Linux+x86"
|
url_ref="http://support.amd.com/en-us/download/desktop?os=Linux+x86"
|
||||||
DLAGENTS="http::/usr/bin/curl --referer ${url_ref} -o %o %u"
|
DLAGENTS="http::/usr/bin/curl --referer ${url_ref} -o %o %u"
|
||||||
|
18
linux-lts.conf
Normal file
18
linux-lts.conf
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Chakra GNU/Linux Buildscript Config file
|
||||||
|
#
|
||||||
|
# LTS Kernel group
|
||||||
|
#
|
||||||
|
# These are the "basic variables" appliable for the LTS kernal group
|
||||||
|
|
||||||
|
# Fetch from linux-lts/PKGBUILD
|
||||||
|
_kernelname="-CHAKRA-LTS"
|
||||||
|
_basekernel=4.4
|
||||||
|
_kernelver=4.4.17
|
||||||
|
|
||||||
|
# Fetch from vhba-modules-lts/PKGBUILD
|
||||||
|
_extramodules=extramodules-${_basekernel}${_kernelname}
|
||||||
|
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
||||||
|
|
||||||
|
# Fetch from ndiswrapper-lts/PKGBUILD
|
||||||
|
_rootOfSourceTree=/usr/src/linux-${_kver}
|
@ -12,7 +12,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
#core_packages
|
#core_packages
|
||||||
#linux-lts
|
linux-lts
|
||||||
vhba-module-lts
|
vhba-module-lts
|
||||||
broadcom-wl-lts
|
broadcom-wl-lts
|
||||||
acpi_call-lts
|
acpi_call-lts
|
||||||
|
@ -1,30 +1,27 @@
|
|||||||
#
|
# Source global configuration
|
||||||
# Core Packages for Chakra, part of chakraos.org
|
source ../linux-lts.conf
|
||||||
#
|
|
||||||
|
|
||||||
pkgbase="linux-lts"
|
pkgbase="linux-lts"
|
||||||
pkgname=('linux-lts' 'linux-lts-headers' 'linux-lts-docs')
|
pkgname=('linux-lts' 'linux-lts-headers' 'linux-lts-docs')
|
||||||
_kernelname="-CHAKRA-LTS"
|
pkgver=${_kernelver}
|
||||||
_basekernel=3.14
|
|
||||||
pkgver=3.14.66
|
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
|
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
url="http://www.kernel.org"
|
url="http://www.kernel.org"
|
||||||
options=(!strip)
|
options=(!strip)
|
||||||
source=("https://www.kernel.org/pub/linux/kernel/v3.x/linux-$_basekernel.tar.xz"
|
source=("https://www.kernel.org/pub/linux/kernel/v4.x/linux-$_basekernel.tar.xz"
|
||||||
"https://www.kernel.org/pub/linux/kernel/v3.x/patch-${pkgver}.xz"
|
"https://www.kernel.org/pub/linux/kernel/v4.x/patch-${pkgver}.xz"
|
||||||
# the main kernel config files
|
# the main kernel config files
|
||||||
'config.x86_64'
|
'config.x86_64'
|
||||||
# standard config files for mkinitcpio ramdisk
|
# standard config files for mkinitcpio ramdisk
|
||||||
'linux-lts.preset'
|
'linux-lts.preset'
|
||||||
'change-default-console-loglevel.patch')
|
'change-default-console-loglevel.patch')
|
||||||
md5sums=('b621207b3f6ecbb67db18b13258f8ea8'
|
md5sums=('9a78fa2eb6c68ca5a40ed5af08142599'
|
||||||
'0ee585c72b3ebfdfcd68a3e7ed291f19'
|
'12acd9b991b2d369774f262d3bf319dc'
|
||||||
'9fd7a4e21d3f8f31fb5baa91c43937f7'
|
'3c2a6142e569256e1c1774098c745444'
|
||||||
'232b52576a62c7a333e9fe7a1e1ca359'
|
'232b52576a62c7a333e9fe7a1e1ca359'
|
||||||
'98beb36f9b8cf16e58de2483ea9985e3')
|
'df7fceae6ee5d7e7be7b60ecd7f6bb35')
|
||||||
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
@ -36,6 +33,7 @@ prepare() {
|
|||||||
# add latest fixes from stable queue, if needed
|
# add latest fixes from stable queue, if needed
|
||||||
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
# http://git.kernel.org/?p=linux/kernel/git/stable/stable-queue.git
|
||||||
|
|
||||||
|
msg 'patch for console loglevel'
|
||||||
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
|
# set DEFAULT_CONSOLE_LOGLEVEL to 4 (same value as the 'quiet' kernel param)
|
||||||
# remove this when a Kconfig knob is made available by upstream
|
# remove this when a Kconfig knob is made available by upstream
|
||||||
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
# (relevant patch sent upstream: https://lkml.org/lkml/2011/7/26/227)
|
||||||
@ -234,9 +232,9 @@ package_linux-lts-headers() {
|
|||||||
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners/"
|
"${pkgdir}/usr/lib/modules/${_kernver}/build/drivers/media/tuners/"
|
||||||
|
|
||||||
# add xfs and shmem for aufs building
|
# add xfs and shmem for aufs building
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
|
#mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs"
|
||||||
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
|
mkdir -p "${pkgdir}/usr/src/linux-${_kernver}/mm"
|
||||||
cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
|
#cp fs/xfs/xfs_sb.h "${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h"
|
||||||
|
|
||||||
# copy in Kconfig files
|
# copy in Kconfig files
|
||||||
for i in `find . -name "Kconfig*"`; do
|
for i in `find . -name "Kconfig*"`; do
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
diff -upr linux-3.0.orig/kernel/printk.c linux-3.0/kernel/printk.c
|
--- linux-3.16/include/linux/printk.h.old 2014-08-04 18:48:30.686043266 +0200
|
||||||
--- linux-3.0.orig/kernel/printk/printk.c 2011-07-22 05:17:23.000000000 +0300
|
+++ linux-3.16/include/linux/printk.h 2014-08-04 18:48:47.706218528 +0200
|
||||||
+++ linux-3.0/kernel/printk/printk.c 2011-07-27 14:43:07.000000000 +0300
|
@@ -37,7 +37,7 @@
|
||||||
@@ -58,7 +58,7 @@ void asmlinkage __attribute__((weak)) ea
|
#define CONSOLE_LOGLEVEL_SILENT 0 /* Mum's the word */
|
||||||
|
#define CONSOLE_LOGLEVEL_MIN 1 /* Minimum loglevel we let people use */
|
||||||
/* We show everything that is MORE important than this.. */
|
#define CONSOLE_LOGLEVEL_QUIET 4 /* Shhh ..., when booted with "quiet" */
|
||||||
#define MINIMUM_CONSOLE_LOGLEVEL 1 /* Minimum loglevel we let people use */
|
-#define CONSOLE_LOGLEVEL_DEFAULT 7 /* anything MORE serious than KERN_DEBUG */
|
||||||
-#define DEFAULT_CONSOLE_LOGLEVEL 7 /* anything MORE serious than KERN_DEBUG */
|
+#define CONSOLE_LOGLEVEL_DEFAULT 4 /* anything MORE serious than KERN_DEBUG */
|
||||||
+#define DEFAULT_CONSOLE_LOGLEVEL 4 /* anything MORE serious than KERN_WARNING */
|
#define CONSOLE_LOGLEVEL_DEBUG 10 /* issue debug messages */
|
||||||
|
#define CONSOLE_LOGLEVEL_MOTORMOUTH 15 /* You can't shut this one up */
|
||||||
DECLARE_WAIT_QUEUE_HEAD(log_wait);
|
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# arg 2: the old package version
|
# arg 2: the old package version
|
||||||
|
|
||||||
KERNEL_NAME=-CHAKRA-LTS
|
KERNEL_NAME=-CHAKRA-LTS
|
||||||
KERNEL_VERSION=3.14.66-1-CHAKRA-LTS
|
KERNEL_VERSION=4.4.17-1-CHAKRA-LTS
|
||||||
|
|
||||||
post_install () {
|
post_install () {
|
||||||
# updating module dependencies
|
# updating module dependencies
|
||||||
|
@ -1,32 +1,28 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
# Source global configuration
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
source ../linux-lts.conf
|
||||||
_kernelver=3.14.66
|
|
||||||
_rootOfSourceTree=/usr/src/linux-${_kver}
|
|
||||||
|
|
||||||
pkgname=ndiswrapper-lts
|
pkgname=ndiswrapper-lts
|
||||||
_pkgname=ndiswrapper
|
_pkgname=ndiswrapper
|
||||||
pkgver=1.59
|
pkgver=1.60
|
||||||
pkgrel=8
|
pkgrel=1
|
||||||
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-testing."
|
pkgdesc="Module for NDIS (Windows Network Drivers) drivers supplied by vendors. For linux-lts."
|
||||||
license=('GPL')
|
license=('GPL')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://ndiswrapper.sourceforge.net"
|
url="http://ndiswrapper.sourceforge.net"
|
||||||
install="ndiswrapper.install"
|
install="ndiswrapper.install"
|
||||||
depends=("linux-lts=${_kernelver}")
|
depends=("linux-lts=${_kernelver}")
|
||||||
makedepends=("linux-lts-headers=${_kernelver}")
|
makedepends=("linux-lts-headers=${_kernelver}")
|
||||||
source=("http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz"
|
source=("http://downloads.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-$pkgver.tar.gz")
|
||||||
"ndiswrapper-1.59.patch")
|
sha1sums=('20998237cf6d37b86391dc8736c10031110db578')
|
||||||
sha1sums=('75fbbda677fe91ee07a6f6a8e19b1f3e2479540f'
|
|
||||||
'f120e96fa9abab45e1c724aaac29da7b892820f0')
|
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
[ -z "$_kver" ] && error "Could not get kernel version from '/usr/lib/modules/${_extramodules}/version'..." && false
|
[ -z "$_kver" ] && error "Could not get kernel version from '/usr/lib/modules/${_extramodules}/version'..." && false
|
||||||
msg "Found kernel version: $_kver"
|
msg "Found kernel version: $_kver"
|
||||||
|
|
||||||
cd "$srcdir/$_pkgname-$pkgver"
|
cd "$srcdir/$_pkgname-$pkgver"
|
||||||
patch -p1 -i ../ndiswrapper-1.59.patch
|
#patch -p1 -i ../ndiswrapper-1.59.patch
|
||||||
sed -i "/modinfo/s/s/usr\//" driver/Makefile
|
sed -i "/modinfo/s/s/usr\//" driver/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
# Source global configuration
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
source ../linux-lts.conf
|
||||||
_kernelver=3.14.66
|
|
||||||
|
|
||||||
pkgname=nvidia-304xx-lts
|
pkgname=nvidia-304xx-lts
|
||||||
pkgver=304.131
|
pkgver=304.131
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="NVIDIA drivers for linux."
|
pkgdesc="NVIDIA drivers for linux."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.nvidia.com/"
|
url="http://www.nvidia.com/"
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
# Source global configuration
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
source ../linux-lts.conf
|
||||||
_kernelver=3.14.66
|
|
||||||
|
|
||||||
pkgname=nvidia-340xx-lts
|
pkgname=nvidia-340xx-lts
|
||||||
pkgver=340.96
|
pkgver=340.96
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="NVIDIA drivers for linux."
|
pkgdesc="NVIDIA drivers for linux."
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.nvidia.com/"
|
url="http://www.nvidia.com/"
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
# Source global configuration
|
||||||
_kernelver=3.14.66
|
source ../linux-lts.conf
|
||||||
|
|
||||||
pkgname=('nvidia-lts')
|
pkgname=('nvidia-lts')
|
||||||
pkgdesc=('NVIDIA drivers for linux-lts')
|
pkgdesc=('NVIDIA drivers for linux-lts')
|
||||||
pkgver=364.19
|
pkgver=364.19
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.nvidia.com/"
|
url="http://www.nvidia.com/"
|
||||||
depends=("linux-lts=${_kernelver}" "nvidia-libgl" "nvidia-utils=${pkgver}")
|
depends=("linux-lts=${_kernelver}" "nvidia-libgl" "nvidia-utils=${pkgver}")
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
#
|
# Source global configuration
|
||||||
# Chakra Packages for Chakra, part of chakraos.org
|
source ../linux-lts.conf
|
||||||
#
|
|
||||||
|
|
||||||
_extramodules=extramodules-3.14-CHAKRA-LTS
|
|
||||||
_kver="$(cat /lib/modules/${_extramodules}/version)"
|
|
||||||
_kernelver=3.14.66
|
|
||||||
|
|
||||||
pkgname=vhba-module-lts
|
pkgname=vhba-module-lts
|
||||||
_pkgname=vhba-module
|
_pkgname=vhba-module
|
||||||
pkgver=20140928
|
pkgver=20140928
|
||||||
pkgrel=4
|
pkgrel=5
|
||||||
pkgdesc="Kernel module that emulates SCSI devices"
|
pkgdesc="Kernel module that emulates SCSI devices"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://cdemu.sourceforge.net/"
|
url="http://cdemu.sourceforge.net/"
|
||||||
|
Loading…
Reference in New Issue
Block a user