On 10/02/2010 07:11 PM, Joerg Schiermeier wrote: > Guten Abend [email protected], > > I would like to increase the verbosity of 'grub-mkconfig' during the > build proccess of 'grub.cfg' in 'grub/grub.cfg' by adding > either an other commandline switch or by setting an internal variable. > > Isn't sh -x `whereis grub-mkconfig` enough? > With this aim in mind I now send a patch like this > > ---<patch>--- > *** grub-mkconfig.ORIG 2010-09-20 01:29:00.000000000 +0200 > --- grub-mkconfig 2010-10-02 18:56:58.000000000 +0200 > *************** > *** 17,22 **** > --- 17,24 ---- > # You should have received a copy of the GNU General Public License > # along with GRUB. If not, see <http://www.gnu.org/licenses/>. > > + verbose=1 > + > transform="s,x,x," > > prefix=/usr > *************** > *** 304,309 **** > --- 306,312 ---- > *~) ;; > *) > if grub_file_is_not_garbage "$i" && test -x "$i" ; then > + test ${verbose} -ne 0 && echo "Proccessing now $i ..." >&2 > echo > echo "### BEGIN $i ###" > "$i" > ---</patch>--- > > Thanks for your attention! > >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Bug-grub mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-grub
