curl -O 'https://repo.openeuler.org/openEuler-24.03-LTS/update/source/Packages/kernel-6.6.0-72.0.0.64.oe2403.src.rpm' bsdtar -xvf kernel-6.6.0-72.0.0.64.oe2403.src.rpm kernel.tar.gz gzip -d kernel.tar.gz && xz kernel.tar # gzipped-file may be too large for your Git forge. cd kernel/ git fetch https://gitee.com/src-openeuler/kernel.git openEuler-24.03-LTS git log FETCH_HEAD git rebase -i <commit hash> # include commit that updates all references to kernel.tar.gz to kernel.tar.xz # amend the commit that adds the kernel source tarball. cp ../kernel.tar.xz ./ git add kernel.tar.xz git commit --amend git rebase --continue # check result and push if satisfied git push --force-with-lease