Re: merge two kernel .config 's into one union of the two

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



... ciao:

: on "6-29-2006" "John Lumby" writ:
: but also (of course) a valid .config

   i'm not sure that a trivial task.


: suggest any method at all for achieving this?

    i use the following to find differences in .config files.  it assumes
those copied to "config-[0-9]*".  typically, '[0-9]*' a two digit minor
version number.  you might want to tweak to taste.


#!/bin/sh
#
#       find difference between ./.config files for linux

echo
echo Configuration differences found in \"config.diff\"

fgrep -v \# config-[0-9]* | sort -t ":" -k 2,2 \
| uniq -s 10 -u | sort > config.diff




-- 
... i'm a man, but i can change,
    if i have to , i guess ...

-
To unsubscribe from this list: send the line "unsubscribe linux-config" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Audio]     [Linux Console]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Fedora Users]

  Powered by Linux