Loading linux-seblu/PKGBUILD +7 −9 Original line number Diff line number Diff line Loading @@ -3,13 +3,17 @@ pkgname=linux-seblu pkgver=3.17 pkgrel=3 pkgver=3.18 pkgrel=1 arch=('x86_64') license=('GPL2') url='http://www.kernel.org' options=('!strip') makedepends=('kmod' 'bc' 'git') makedepends=('git' 'bc') depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio') optdepends=('kernel-install-compat: Install kernel in /boot' 'kernel-install-grub: Regen grub config') install=linux-seblu.install source=("git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver/_/-}" "config.$CARCH.${pkgver/_/-}") md5sums=('SKIP' 'SKIP') Loading Loading @@ -65,8 +69,6 @@ package() { pkgver=$(make kernelversion|tr '-' '_') provides=("linux=$pkgver" "linux-headers=$pkgver") conflicts=("linux-seblu-$pkgver") depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio') install='install' msg2 "Packing kernel release: $kernrel" msg2 "Packing kernel version: $pkgver" Loading @@ -79,10 +81,6 @@ package() { # and it's done by kernel-install in .install make INSTALL_MOD_PATH="$pkgdir/usr" DEPMOD=/bin/true modules_install # gzip -9 all modules to safe 100MB of space msg2 'Gzip modules harder' find "$pkgdir" -name '*.ko' -exec gzip -9 {} \; # copy headers install_sources Loading linux-seblu/config.x86_64.3.18 0 → 100644 +6147 −0 File added.Preview size limit exceeded, changes collapsed. Show changes linux-seblu/install→linux-seblu/linux-seblu.install +59 −0 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ post_install () { version=${1%-*} version=${version/_/-}-seblu echo "==> Calling kernel-install add $version ..." kernel-install add "$version" "/usr/lib/kernel/vmlinuz-$version" kernel-install add "$version" "/usr/lib/kernel/vmlinuz-$version" || echo "kernel-install not exits zero!" fi } Loading @@ -20,6 +20,16 @@ pre_upgrade() { # arg 2: the old package version post_upgrade() { post_install "$1" # advertise if you update the current running kernel version=${1%-*} version=${version/_/-}-seblu if [[ "$version" == "$(uname -r)" ]]; then echo '********************************************************************************' echo '********************************************************************************' echo '****** YOU HAVE UPDATED THE CURRENTLY RUNNING KERNEL ** REBOOT IMMEDIATLY ******' echo '********************************************************************************' echo '********************************************************************************' fi } # arg 1: the old package version Loading @@ -28,7 +38,7 @@ pre_remove() { version=${1%-*} version=${version/_/-}-seblu echo "==> kernel-install remove $version" kernel-install remove "$version" kernel-install remove "$version" || echo "kernel-install not exits zero!" fi } Loading @@ -38,4 +48,12 @@ post_remove() { version=${version/_/-}-seblu echo "==> Cleaning remaining kernel $version modules" [[ -n $version ]] && rm -rvf /usr/lib/modules/"$version" # advertise if you remove the current running kernel if [[ "$version" == "$(uname -r)" ]]; then echo '********************************************************************************' echo '********************************************************************************' echo '****** YOU HAVE REMOVED THE CURRENTLY RUNNING KERNEL ** REBOOT IMMEDIATLY ******' echo '********************************************************************************' echo '********************************************************************************' fi } Loading
linux-seblu/PKGBUILD +7 −9 Original line number Diff line number Diff line Loading @@ -3,13 +3,17 @@ pkgname=linux-seblu pkgver=3.17 pkgrel=3 pkgver=3.18 pkgrel=1 arch=('x86_64') license=('GPL2') url='http://www.kernel.org' options=('!strip') makedepends=('kmod' 'bc' 'git') makedepends=('git' 'bc') depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio') optdepends=('kernel-install-compat: Install kernel in /boot' 'kernel-install-grub: Regen grub config') install=linux-seblu.install source=("git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git#tag=v${pkgver/_/-}" "config.$CARCH.${pkgver/_/-}") md5sums=('SKIP' 'SKIP') Loading Loading @@ -65,8 +69,6 @@ package() { pkgver=$(make kernelversion|tr '-' '_') provides=("linux=$pkgver" "linux-headers=$pkgver") conflicts=("linux-seblu-$pkgver") depends=('coreutils' 'linux-firmware' 'kmod' 'mkinitcpio') install='install' msg2 "Packing kernel release: $kernrel" msg2 "Packing kernel version: $pkgver" Loading @@ -79,10 +81,6 @@ package() { # and it's done by kernel-install in .install make INSTALL_MOD_PATH="$pkgdir/usr" DEPMOD=/bin/true modules_install # gzip -9 all modules to safe 100MB of space msg2 'Gzip modules harder' find "$pkgdir" -name '*.ko' -exec gzip -9 {} \; # copy headers install_sources Loading
linux-seblu/config.x86_64.3.18 0 → 100644 +6147 −0 File added.Preview size limit exceeded, changes collapsed. Show changes
linux-seblu/install→linux-seblu/linux-seblu.install +59 −0 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ post_install () { version=${1%-*} version=${version/_/-}-seblu echo "==> Calling kernel-install add $version ..." kernel-install add "$version" "/usr/lib/kernel/vmlinuz-$version" kernel-install add "$version" "/usr/lib/kernel/vmlinuz-$version" || echo "kernel-install not exits zero!" fi } Loading @@ -20,6 +20,16 @@ pre_upgrade() { # arg 2: the old package version post_upgrade() { post_install "$1" # advertise if you update the current running kernel version=${1%-*} version=${version/_/-}-seblu if [[ "$version" == "$(uname -r)" ]]; then echo '********************************************************************************' echo '********************************************************************************' echo '****** YOU HAVE UPDATED THE CURRENTLY RUNNING KERNEL ** REBOOT IMMEDIATLY ******' echo '********************************************************************************' echo '********************************************************************************' fi } # arg 1: the old package version Loading @@ -28,7 +38,7 @@ pre_remove() { version=${1%-*} version=${version/_/-}-seblu echo "==> kernel-install remove $version" kernel-install remove "$version" kernel-install remove "$version" || echo "kernel-install not exits zero!" fi } Loading @@ -38,4 +48,12 @@ post_remove() { version=${version/_/-}-seblu echo "==> Cleaning remaining kernel $version modules" [[ -n $version ]] && rm -rvf /usr/lib/modules/"$version" # advertise if you remove the current running kernel if [[ "$version" == "$(uname -r)" ]]; then echo '********************************************************************************' echo '********************************************************************************' echo '****** YOU HAVE REMOVED THE CURRENTLY RUNNING KERNEL ** REBOOT IMMEDIATLY ******' echo '********************************************************************************' echo '********************************************************************************' fi }