Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seblu
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archlinux
linux-seblu
Commits
eb85a043
Commit
eb85a043
authored
10 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
bump linux 3.18
- regression on i915
parent
626cea68
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
PKGBUILD
+7
-9
7 additions, 9 deletions
PKGBUILD
config.x86_64.3.18
+6147
-0
6147 additions, 0 deletions
config.x86_64.3.18
linux-seblu.install
+59
-0
59 additions, 0 deletions
linux-seblu.install
with
6213 additions
and
9 deletions
PKGBUILD
+
7
−
9
View file @
eb85a043
...
...
@@ -3,13 +3,17 @@
pkgname
=
linux-seblu
pkgver
=
3.1
7
pkgrel
=
3
pkgver
=
3.1
8
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'
)
...
...
@@ -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
"
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
config.x86_64.3.18
0 → 100644
+
6147
−
0
View file @
eb85a043
This diff is collapsed.
Click to expand it.
install
→
linux-seblu.
install
+
59
−
0
View file @
eb85a043
...
...
@@ -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
}
...
...
@@ -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
...
...
@@ -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
}
...
...
@@ -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
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment