Browse Source

a fix for the linux config addtion I made a few minutes ago

git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@1181 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Rene Rebe 21 years ago
parent
commit
7926448222
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      package/base/linux24/lx_config.sh

+ 4
- 4
package/base/linux24/lx_config.sh

@ -118,11 +118,11 @@ lx_config ()
$base/target/$target/kernel.conf ; do
if [ -f $x ] ; then
echo " merging: 'config/$config/linux.cfg'"
x="$(sed '/CONFIG_/ ! d; s,.*CONFIG_\([^ =]*\).*,\1,' \
$base/config/$config/linux.cfg | tr '\n' '|')"
egrep -v "\bCONFIG_($x)\b" < .config > .config.4
tag="$(sed '/CONFIG_/ ! d; s,.*CONFIG_\([^ =]*\).*,\1,' \
$x | tr '\n' '|')"
egrep -v "\bCONFIG_($tag)\b" < .config > .config.4
sed 's,\(CONFIG_.*\)=n,# \1 is not set,' \
$base/config/$config/linux.cfg >> .config.4
$x >> .config.4
cp .config.4 .config
fi
done

Loading…
Cancel
Save