Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lorenz:filesystems
kernel-64kb
update_kernel
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update_kernel of Package kernel-64kb
#!/bin/bash set -e set -u set -x i=$1; prev=$((i-1)); osc up sed -i -e "s/6.6.$prev/6.6.$i/" config.sh curl -s "https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.$i" | \ awk '/Date:/ {getline; getline; gsub(/^ /, " - "); print}' > "changes.6.6.$i" osc vc kernel-source.changes -F "changes.6.6.$i" rm changes.6.6."$i" ./mkspec; MYOUTDIR=$PWD /usr/lib/obs/service/download_files osc rm -f linux-6.6.$prev.tar.{sign,xz} osc add "linux-6.6.$i.tar".{sign,xz} osc commit -m "Update to 6.6.$i";
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor