Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Virtualization:OpenVZ:kernel-2.6.24
kernel-source
install-configs
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File install-configs of Package kernel-source
#! /bin/sh sourcedir=$1 builddir=$2 release=$3 # Install all config files. (Some of them might not work in the # kernel sources because of architecture specific patches, but # we don't care.) configs="$($sourcedir/guards --list < $sourcedir/config.conf)" for config in $configs; do name=$(basename $config) path=arch/$(dirname $config)/defconfig.$name mkdir -p $(dirname $path) cat $builddir/config/$config \ | $sourcedir/config-subst CONFIG_LOCALVERSION '"'-$name'"' \ | $sourcedir/config-subst CONFIG_SUSE_KERNEL y \ > $path done echo "-$release" > localversion-rpm-release # For all architectures included, if there is a defconfig.default, # make that the defconfig as well. If there is no defconfig.default, # also remove the defconfig, as it is obviously not a tested, and # woldn't work, anyway. for config in $configs; do arch=${config%/*} if [ -e arch/$arch/defconfig.default ]; then cat arch/$arch/defconfig.default > arch/$arch/defconfig else rm -f arch/$arch/defconfig fi done
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