rpms/buildsys-build-rpmfusion/devel update-to-latest-kernels.sh, NONE, 1.1

Thorsten Leemhuis thl at rpmfusion.org
Sun Oct 19 12:55:53 CEST 2008


Author: thl

Update of /cvs/free/rpms/buildsys-build-rpmfusion/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv12621

Added Files:
	update-to-latest-kernels.sh 
Log Message:
add update helper script


--- NEW FILE update-to-latest-kernels.sh ---
#! /bin/bash
print_kernellist()
{
	echo ${1}
	echo ${1}smp
	echo ${1}PAE
}

if [[ ! "${1}" ]] ; then
	echo "Please call with verrel of latest standard kernel version" >&2
	exit 1
fi

if [[ ! "${RPM_PACKAGER}" ]] ; then
	echo "Please set RPM_PACKAGER for rpmdev-bumpspec" >&2
	exit 1
fi

# update spec file
rpmdev-bumpspec -c "- rebuild for kernel ${1}" *.spec
# update buildsys-build-rpmfusion-kerneldevpkgs-current
print_kernellist ${1} > buildsys-build-rpmfusion-kerneldevpkgs-current

cvs diff -u
read
make clog; cvs commit -F clog 
rm clog
make tag build



More information about the rpmfusion-commits mailing list