Commit 4184bb9e authored by Seblu's avatar Seblu
Browse files

wip

parent 92467da0
Loading
Loading
Loading
Loading
+13 −13
Original line number Diff line number Diff line
@@ -2,13 +2,13 @@
# Customized version of linux for seblu computers

pkgname=linux-seblu
pkgver=4.9.135
pkgver=4.9.130
pkgrel=1
pkgdesc='The Linux Kernel cooked by Seblu'
arch=('x86_64')
license=('GPL2')
url='http://www.kernel.org'
options=('!strip')
options=('!strip' '!buildflags' '!makeflags')
makedepends=('kmod' 'git' 'make' 'gcc' 'bc' 'sed')
depends=('linux-firmware' 'kernel-install-hook')
install=linux-seblu.install
@@ -16,7 +16,7 @@ _repourl='git+https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stabl
source=("$_repourl#tag=v${pkgver/_/-}"
        "config.$CARCH")
md5sums=('SKIP'
         'b619de82ab299cc9c57c7b65e78d16c2')
         'cd0cd5cebc5cecdda1fc3f96c0a85c65')

prepare() {
  # fake linux directory if necessary
@@ -64,8 +64,8 @@ build() {
  msg2 'Make bzImage'
  make bzImage

  msg2 'Make modules'
  make modules
#  msg2 'Make modules'
#  make modules
}

package() {
@@ -83,19 +83,19 @@ package() {
  msg2 'Install vmlinuz'
  install -D -m644 arch/x86/boot/bzImage "$pkgdir/usr/lib/kernel/vmlinuz-$kernrel"

  msg2 'Install modules'
  # disable DEPMOD because it fail due to poor hack in scripts/depmod.sh
  make -s INSTALL_MOD_PATH="$pkgdir/usr" DEPMOD=/bin/true modules_install
#  msg2 'Install modules'
#  # disable DEPMOD because it fail due to poor hack in scripts/depmod.sh
#  make -s INSTALL_MOD_PATH="$pkgdir/usr" DEPMOD=/bin/true modules_install

  msg2 'Install sources'
  install_sources
#  msg2 'Install sources'
#  install_sources

  msg2 'Remove firmwares'
  rm -rf "$pkgdir/usr/lib/firmware"

  msg2 'Generate modules.dep and map files'
  # run depmod to keep track of these files and remove them with the package
  depmod -b "$pkgdir/usr" -F System.map "$kernrel"
#  msg2 'Generate modules.dep and map files'
#  # run depmod to keep track of these files and remove them with the package
#  depmod -b "$pkgdir/usr" -F System.map "$kernrel"
}

install_sources() {
+2074 −5102

File changed.

Preview size limit exceeded, changes collapsed.