Accepting request 1007739 from home:Andreas_Schwab:Factory

- Update to kernel headers 6.0

OBS-URL: https://build.opensuse.org/request/show/1007739
OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-glibc-devel?expand=0&rev=174
This commit is contained in:
Andreas Schwab 2022-10-03 18:05:20 +00:00 committed by Git OBS Bridge
parent 7b0c3235a2
commit 306d4ffa6d
5 changed files with 14 additions and 5 deletions

View File

@ -25,6 +25,8 @@ if ! mkdir "$header_dir"; then
exit 1 exit 1
fi fi
git clone --single-branch -b "$2" "$1" "$kernel_dir" git clone --single-branch -b "$2" "$1" "$kernel_dir"
date=$(git -C "$kernel_dir" cat-file -p "$2" | awk '/^tagger/ { print $(NF-1) }')
date -d "@$date" || exit 1
remove="arc csky h8300 hexagon microblaze nds32 nios2 openrisc sh xtensa um" remove="arc csky h8300 hexagon microblaze nds32 nios2 openrisc sh xtensa um"
archs=$(cd "$kernel_dir/arch" && archs=$(cd "$kernel_dir/arch" &&
for arch in *; do for arch in *; do
@ -66,5 +68,7 @@ for arch in $archs; do
done done
popd popd
du -sh "$header_dir" du -sh "$header_dir"
tar -cJf "$header_dir.tar.xz" --owner=root --group=root "${header_dir##*/}" tar -cJf "$header_dir.tar.xz" --owner=root --group=root --mtime="@$date" \
--sort=name "${header_dir##*/}"
touch -d "@$date" "$header_dir.tar.xz"
rm -rf "$header_dir" "$kernel_dir" rm -rf "$header_dir" "$kernel_dir"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6b1be493cf8631d06a5a36e84cb1cd120ef8dcd3507936c12a4798d371ad7f5
size 1871232

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9dc3cb3b21ffa236ebb0632c1ae1944108d2f81ba226c64d0df9689e336a5446
size 1854540

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 3 16:28:11 UTC 2022 - Andreas Schwab <schwab@suse.de>
- Update to kernel headers 6.0
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Aug 2 08:14:14 UTC 2022 - Andreas Schwab <schwab@suse.de> Tue Aug 2 08:14:14 UTC 2022 - Andreas Schwab <schwab@suse.de>

View File

@ -17,7 +17,7 @@
Name: linux-glibc-devel Name: linux-glibc-devel
Version: 5.19 Version: 6.0
Release: 0 Release: 0
Summary: Linux headers for userspace development Summary: Linux headers for userspace development
License: GPL-2.0-only License: GPL-2.0-only