summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosip Ponjavic2020-01-22 19:00:55 +0100
committerJosip Ponjavic2020-01-22 19:00:55 +0100
commit9aa3a33ed1945e672473eac003310c7125fd027a (patch)
tree587701e9a4820b9b37df3e45221712d0a23f8cbf
parent73f9658be502e5ff3d52df55567fa59b91994b1e (diff)
downloadaur-9aa3a33ed1945e672473eac003310c7125fd027a.tar.gz
5.4.13-1 (clr 5.4.13-51)
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD58
2 files changed, 36 insertions, 36 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01bb2b96454..44c1ac8c7fe 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = linux-clear-preempt-rt
pkgdesc = Clear Linux Preempt-RT
- pkgver = 5.4.10
+ pkgver = 5.4.13
pkgrel = 1
url = https://github.com/clearlinux-pkgs/linux-preempt-rt
arch = x86_64
@@ -12,16 +12,16 @@ pkgbase = linux-clear-preempt-rt
makedepends = libelf
makedepends = xmlto
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.10.tar.xz
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.10.tar.sign
- source = https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-5.4.10-rt5.patch.xz
- source = clearlinux-preempt-rt::git+https://github.com/clearlinux-pkgs/linux-preempt-rt.git#tag=5.4.5-47
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.13.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.13.tar.sign
+ source = https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-5.4.13-rt7.patch.xz
+ source = clearlinux-preempt-rt::git+https://github.com/clearlinux-pkgs/linux-preempt-rt.git#tag=5.4.13-51
source = enable_additional_cpu_optimizations-20190822.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/20190822.tar.gz
validpgpkeys = ABAF11C65A2970B130ABE3C479BE3E4300411886
validpgpkeys = 647F28654894E3BD457199BE38DBBDC86092693E
- sha256sums = f23c0218a5e3b363bb5a880972f507bb4dc4a290a787a7da08be07ea12042edd
+ sha256sums = 49fb29d96d7e7c1d7e6082701bd26bfddd0fbc87a796fb6ba6258bc5fd386ad7
sha256sums = SKIP
- sha256sums = 0bab9f30b2ce3123c0e5a0fca2d51807883e2b9f5398a51e68937cad2fcb30d7
+ sha256sums = 435449401c9c5fce7c456b274ca6084b6ffd54319dbef8d4f13d23a8f1303b40
sha256sums = SKIP
sha256sums = 8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5
diff --git a/PKGBUILD b/PKGBUILD
index fa3bd40cef0..1515d9da409 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -59,9 +59,9 @@ _localmodcfg=
### IMPORTANT: Do no edit below this line unless you know what you're doing
_major=5.4
-_minor=10
+_minor=13
_srcname=linux-${_major}.${_minor}
-_clr=${_major}.5-47
+_clr=${_major}.13-51
pkgbase=linux-clear-preempt-rt
pkgver=${_major}.${_minor}
pkgrel=1
@@ -75,7 +75,7 @@ _gcc_more_v='20190822'
source=(
"https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.${_minor}.tar.xz"
"https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_major}.${_minor}.tar.sign"
- "https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-${_major}.${_minor}-rt5.patch.xz"
+ "https://cdn.kernel.org/pub/linux/kernel/projects/rt/5.4/patch-${_major}.${_minor}-rt7.patch.xz"
"clearlinux-preempt-rt::git+https://github.com/clearlinux-pkgs/linux-preempt-rt.git#tag=${_clr}"
"enable_additional_cpu_optimizations-$_gcc_more_v.tar.gz::https://github.com/graysky2/kernel_gcc_patch/archive/$_gcc_more_v.tar.gz"
)
@@ -88,28 +88,28 @@ prepare() {
cd ${_srcname}
### Add upstream patches
- msg2 "Add upstream patches"
- patch -Np1 -i ../patch-${pkgver}-rt5.patch
+ echo "Add upstream patches"
+ patch -Np1 -i ../patch-${pkgver}-rt7.patch
### Setting version
- msg2 "Setting version..."
+ echo "Setting version..."
scripts/setlocalversion --save-scmversion
echo "-$pkgrel" > localversion.10-pkgrel
echo "${pkgbase#linux}" > localversion.20-pkgname
### Add Clearlinux patches
for i in $(grep '^Patch' ${srcdir}/clearlinux-preempt-rt/linux-preempt-rt.spec |\
- grep -Ev '^Patch0000|^Patch0123|^Patch0130|^Patch0007|^Patch0008|^Patch0012|^Patch0051' | sed -n 's/.*: //p'); do
- msg2 "Applying patch ${i}..."
+ grep -Ev '^Patch0000|^Patch0123|^Patch0130' | sed -n 's/.*: //p'); do
+ echo "Applying patch ${i}..."
patch -Np1 -i "$srcdir/clearlinux-preempt-rt/${i}"
done
### Setting config
- msg2 "Setting config..."
+ echo "Setting config..."
cp -Tf $srcdir/clearlinux-preempt-rt/config ./.config
### Enable extra stuff from arch kernel
- msg2 "Enable extra stuff from arch kernel..."
+ echo "Enable extra stuff from arch kernel..."
# General setup
scripts/config --enable IKCONFIG \
@@ -155,7 +155,7 @@ prepare() {
### Patch source to unlock additional gcc CPU optimizations
# https://github.com/graysky2/kernel_gcc_patch
if [ "${_enable_gcc_more_v}" = "y" ]; then
- msg2 "Applying enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch ..."
+ echo "Applying enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch ..."
patch -Np1 -i "$srcdir/kernel_gcc_patch-$_gcc_more_v/enable_additional_cpu_optimizations_for_gcc_v9.1+_kernel_v4.13+.patch"
fi
@@ -168,16 +168,16 @@ prepare() {
### Prepared version
make -s kernelrelease > version
- msg2 "Prepared %s version %s" "$pkgbase" "$(<version)"
+ echo "Prepared %s version %s" "$pkgbase" "$(<version)"
### Optionally load needed modules for the make localmodconfig
# See https://aur.archlinux.org/packages/modprobed-db
if [ -n "$_localmodcfg" ]; then
if [ -f $HOME/.config/modprobed.db ]; then
- msg2 "Running Steven Rostedt's make localmodconfig now"
+ echo "Running Steven Rostedt's make localmodconfig now"
make LSMOD=$HOME/.config/modprobed.db localmodconfig
else
- msg2 "No modprobed.db data found"
+ echo "No modprobed.db data found"
exit
fi
fi
@@ -213,7 +213,7 @@ _package() {
local kernver="$(<version)"
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
- msg2 "Installing boot image..."
+ echo "Installing boot image..."
# systemd expects to find the kernel here to allow hibernation
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
@@ -221,13 +221,13 @@ _package() {
# Used by mkinitcpio to name the kernel
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
- msg2 "Installing modules..."
+ echo "Installing modules..."
make INSTALL_MOD_PATH="$pkgdir/usr" modules_install
# remove build and source links
rm "$modulesdir"/{source,build}
- msg2 "Fixing permissions..."
+ echo "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"
}
@@ -237,7 +237,7 @@ _package-headers() {
cd ${_srcname}
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
- msg2 "Installing build files..."
+ echo "Installing build files..."
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
localversion.* version vmlinux
install -Dt "$builddir/kernel" -m644 kernel/Makefile
@@ -250,7 +250,7 @@ _package-headers() {
# add xfs and shmem for aufs building
mkdir -p "$builddir"/{fs/xfs,mm}
- msg2 "Installing headers..."
+ echo "Installing headers..."
cp -t "$builddir" -a include
cp -t "$builddir/arch/x86" -a arch/x86/include
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
@@ -266,10 +266,10 @@ _package-headers() {
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
- msg2 "Installing KConfig files..."
+ echo "Installing KConfig files..."
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
- msg2 "Removing unneeded architectures..."
+ echo "Removing unneeded architectures..."
local arch
for arch in "$builddir"/arch/*/; do
[[ $arch = */x86/ ]] && continue
@@ -277,16 +277,16 @@ _package-headers() {
rm -r "$arch"
done
- msg2 "Removing documentation..."
+ echo "Removing documentation..."
rm -r "$builddir/Documentation"
- msg2 "Removing broken symlinks..."
+ echo "Removing broken symlinks..."
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
- msg2 "Removing loose objects..."
+ echo "Removing loose objects..."
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
- msg2 "Stripping build tools..."
+ echo "Stripping build tools..."
local file
while read -rd '' file; do
case "$(file -bi "$file")" in
@@ -301,11 +301,11 @@ _package-headers() {
esac
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
- msg2 "Adding symlink..."
+ echo "Adding symlink..."
mkdir -p "$pkgdir/usr/src"
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
- msg2 "Fixing permissions..."
+ echo "Fixing permissions..."
chmod -Rc u=rwX,go=rX "$pkgdir"
}
@@ -317,9 +317,9 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('f23c0218a5e3b363bb5a880972f507bb4dc4a290a787a7da08be07ea12042edd'
+sha256sums=('49fb29d96d7e7c1d7e6082701bd26bfddd0fbc87a796fb6ba6258bc5fd386ad7'
'SKIP'
- '0bab9f30b2ce3123c0e5a0fca2d51807883e2b9f5398a51e68937cad2fcb30d7'
+ '435449401c9c5fce7c456b274ca6084b6ffd54319dbef8d4f13d23a8f1303b40'
'SKIP'
'8c11086809864b5cef7d079f930bd40da8d0869c091965fa62e95de9a0fe13b5')