Re: [PATCH] Use Autogen macros to reduce Makefile.tpl size

2011-09-30 Thread BVK Chaitanya
Committed. thanks, bvk.chaitanya 2011/9/29 Vladimir 'φ-coder/phcoder' Serbinenko : > On 27.08.2011 03:15, BVK Chaitanya wrote: >> Hi, >> >> >> Attached patch removes lots of repeated Autogen code snippets from >> Makefile.tpl with the help of Autoge

[PATCH] Use Autogen macros to reduce Makefile.tpl size

2011-08-26 Thread BVK Chaitanya
'ChangeLog' --- ChangeLog 2011-08-23 09:20:56 + +++ ChangeLog 2011-08-26 06:13:59 + @@ -1,3 +1,8 @@ +2011-08-25 BVK Chaitanya + + * gentpl.py: Use Autogen macros so that the output file + (Makefile.tpl) size is reduced. + 2011-08-23 Vladimir Serbinenko * grub-core/kern/mip

Re: Your contributions to grub.enbug.org

2011-04-05 Thread BVK Chaitanya
Yes, I agree. thanks, bvk.chaitanya 2011/3/31 Vladimir 'φ-coder/phcoder' Serbinenko : > Hello, when discussing after the temporary wiki problems it was decided > that it would be better to migrate the information from wiki into the > manual and developper manual where legal reasons permit. You

Re: Regarding ENV variable

2011-01-05 Thread BVK Chaitanya
On Wed, Jan 5, 2011 at 2:30 PM, Gnanasekar Loganathan wrote: > Please find the attachment. > > grub version 1.98 > Please use bzr version, which is, 1.99~beta Its been already fixed. bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http

Re: Regarding ENV variable

2011-01-04 Thread BVK Chaitanya
No, it is working as expected already; that is below code should execute echo command and print "foo" already. set cmd="echo foo" $cmd Gnanasekar, what is your grub version? Please try with latest bzr version. bvk.chaitanya On Tue, Jan 4, 2011 at 4:16 PM, Colin Watson wrote: > On Mon, Ja

[PATCH] Execute menu editor commands with argument scope

2010-12-08 Thread BVK Chaitanya
ached patch fixes this issue by executing menu editor commands with a scope. bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20101208111311-ot9ui8kuh282ngig # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament

[PATCH] New command tr with upcase/downcase support

2010-10-29 Thread BVK Chaitanya
ugs/?28600 bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20101029075206-ly96wyfhvn3v4b2c # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: 8a417696ff21d9afab6fa69bc654e9d3bf7de265 # timestamp: 2010-10-29 13:2

Re: [PATCH] Fix getline name clash

2010-10-19 Thread BVK Chaitanya
? bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20101019051457-xv1sisjlctyruhay # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: 2f24b5514683cc9ab32814ca72b9ead125ad1699 # timestamp: 2010-10-19 14:36:36 +0530 # base_revision_id

Automatic menuentry generation for livecd isos (isodetect.lua port)

2010-09-08 Thread BVK Chaitanya
Hi, Attached is the GRUB script port of isodetect.lua script from supergrubdisk. It generates menuentries automatically from live-cd iso files found in /iso and /boot/iso directories. It currently supports GRML, Parted Magic, Sidux, Slax, Tinycore and Casper based (Ubuntu included) iso files.

[PATCH] Catch syntax errors in grub-mkconfig before installing

2010-09-06 Thread BVK Chaitanya
Hi, Attached patch adds long pending feature: Use grub-script-check tool to detect any syntax errors in generated config files (by grub-mkconfig) before copying it to the destination. bvk.chaitanya === modified file 'util/grub-mkconfig.in' --- util/grub-mkconfig.in 2010-06-29 15:20:49 +

Re: [PATCH] Documentation update for recent GRUB script changes

2010-09-06 Thread BVK Chaitanya
Committed to mainline. On Tue, Sep 7, 2010 at 3:31 AM, Colin Watson wrote: > On Sun, Sep 05, 2010 at 03:16:06PM +0530, BVK Chaitanya wrote: >> Updated patch with documentation for "return" command. > > I assume you've checked that all the detailed semantics from bas

[PATCH] Not command (!) support for GRUB script

2010-09-05 Thread BVK Chaitanya
Hi, Attached patch adds "not" command (!) support to GRUB script. Adding this feature to GRUB script core, interestingly, *reduced* normal.mod size by a few bytes :) This is because I removed special handling of "!" character from flex's lexical analyzer. It seems we can save 2-3KB further by

Re: [PATCH] Documentation update for recent GRUB script changes

2010-09-05 Thread BVK Chaitanya
Updated patch with documentation for "return" command. bvk.chaitanya === modified file 'docs/grub.texi' --- docs/grub.texi 2010-09-01 09:29:30 + +++ docs/grub.texi 2010-09-05 03:17:45 + @@ -1227,8 +1227,10 @@ The backslash retains its special meaning only when followed by one of the f

Re: [PATCH] Documentation update for recent GRUB script changes

2010-09-04 Thread BVK Chaitanya
Updated patch with break, shift and continue commands documentation copied as it is from BASH man page and with other suggestions is attached. On Fri, Sep 3, 2010 at 4:45 AM, Colin Watson wrote: > On Fri, Aug 20, 2010 at 04:18:14PM +0530, BVK Chaitanya wrote: >>  The special variable n

Re: (no subject)

2010-09-02 Thread BVK Chaitanya
Sorry, I didn't notice you mentioned cygwin there, my bad :( -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: (no subject)

2010-09-02 Thread BVK Chaitanya
Are you sure your build was fine? What is your bzr revision? It worked fine for me with below output: b...@dbook:~/Work/grub2/m/b/grub-core$ ../grub-mkimage -v -O i386-pc -d . -o core.img biosdisk part_msdos fat ntfs ../grub-mkimage: info: getting the size of ./biosdisk.mod. ../grub-mkimage: in

Re: [PATCH 0/2] Add some usefull variables

2010-09-01 Thread BVK Chaitanya
You forget to attach the patch? bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [RFC] Detect other software using embedding area

2010-08-31 Thread BVK Chaitanya
On Tue, Aug 31, 2010 at 4:28 PM, Colin Watson wrote: > > +struct embed_signature > +{ > +  const char *signature; > +  int signature_len; > +}; > + It seems this cannot take care of cases where signature starts at some byte offset in a sector, isn't it? -- bvk.chaitanya

Re: [PATCH] Build system improvements

2010-08-29 Thread BVK Chaitanya
On Sun, Aug 29, 2010 at 6:37 PM, KESHAV P.R. wrote: > One small question - is ruby still required to build grub2 from > mainline or newreloc? Ruby is not required for mainline anymore. I am not sure newreloc branch is syned with mainline yet, so it may need it. You can look up build requirement

Re: [PATCH] Build system improvements

2010-08-29 Thread BVK Chaitanya
Below are the build times gathered using "time make" command, for i386-pc platform on two different machines. Summary is, these improvements reduce build time up to 10 seconds. * On 32-bit Intel Core Duo 2GHz with 2GB RAM mainline: real2m49.117s user2m23.681s sys 0m30.058s w

[PATCH] Build system improvements

2010-08-29 Thread BVK Chaitanya
Hi, Attached patch has few more improvements for automake build system: 1. It removes the need to create def-* and und-* list files for creating moddep.lst 2. It removes gencmdlist.sh, genfslist.sh etc. scripts and creates commands.lst files only using make rules. 3. It uses objcopy command

Re: Build fails due to wrong placement of -llibrary options

2010-08-28 Thread BVK Chaitanya
On Sat, Aug 28, 2010 at 5:53 PM, Christian Franke wrote: > > $ grep ^grub_bin2h_LD Makefile > grub_bin2h_LDADD = libgrub.a > grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) $(LIBINTL) > $(LIBDEVMAPPER) > > The above should be: > grub_bin2h_LDADD = libgrub.a $(LIBINTL) $(LIBDEVMAPPER) > grub_

Re: Build fails due to wrong placement of -llibrary options

2010-08-28 Thread BVK Chaitanya
On Sat, Aug 28, 2010 at 5:53 PM, Christian Franke wrote: > > $ grep ^grub_bin2h_LD Makefile > grub_bin2h_LDADD = libgrub.a > grub_bin2h_LDFLAGS = $(AM_LDFLAGS) $(LDFLAGS_PROGRAM) $(LIBINTL) > $(LIBDEVMAPPER) > > The above should be: > grub_bin2h_LDADD = libgrub.a $(LIBINTL) $(LIBDEVMAPPER) > grub_

Re: [PATCH] Fix for echo command on unrecognized options

2010-08-25 Thread BVK Chaitanya
2010/8/25 Vladimir 'φ-coder/phcoder' Serbinenko : > This patch parses options manually but still fails to replicate the > 'echo' behaviour. > 1) echo erere -n outputs "erere -n" That is how echo in BASH seems to perform. Attached testcase has this case included. -- bvk.chaitanya ___

Re: Syntax options for dynamic menu generation in grub-script

2010-08-25 Thread BVK Chaitanya
Other option Jordan_U and I talked about was: When user presses "e", positional parameters should be replaced with their exact values in the source code displayed by menu editor. Problem with this approach is, "shift" command becomes meaning less and doesn't work inside menuentry definitions. Mo

[PATCH] Fix for echo command on unrecognized options

2010-08-24 Thread BVK Chaitanya
+++ ChangeLog 2010-08-25 04:19:18 + @@ -1,3 +1,14 @@ +2010-08-25 BVK Chaitanya + + Fix echo command output for unrecognized options (bug reported by + Yves Blusseau) + + * tests/grub_cmd_echo.in: New testcase. + * Makefile.util.def: Rules for new testcase. + + * grub

Re: Automake build system merge into mainline

2010-08-24 Thread BVK Chaitanya
On Tue, Aug 24, 2010 at 12:08 PM, KESHAV P.R. wrote: > What about bzr experimental branch > http://bzr.savannah.gnu.org/r/grub/branches/experimental and > grub-extras http://bzr.savannah.gnu.org/r/grub-extras .  Will > "export GRUB_CONTRIB" still work for grub-extras with the new build > system. I

Automake build system merge into mainline

2010-08-23 Thread BVK Chaitanya
Hi, At last, after more than 6 months of on-and-off development, I finally managed to complete automake based build system for GRUB. Its been reviewed over IRC and is committed to mainline today. Since we decided to merge it into mainline directly, all feature branches and personal development

Re: Compile error - grub2 EXP branch i386-efi

2010-08-22 Thread BVK Chaitanya
On Sun, Aug 22, 2010 at 12:43 PM, KESHAV P.R. wrote: > The following error occurs while compiling grub2 exp branch with (in > Archlinux x86_64 with GCC 4.5.1) > > make: *** No rule to make target `include/grub/machine/loader.h', > needed by `kernel_syms.lst'.  Stop. >    Aborting... > It seems,

[PATCH] Documentation update for recent GRUB script changes

2010-08-20 Thread BVK Chaitanya
Attached patch updates grub documentation with built-in commands section. bvk.chaitanya === modified file 'docs/grub.texi' --- docs/grub.texi 2010-08-01 16:25:09 + +++ docs/grub.texi 2010-08-20 10:38:22 + @@ -1206,8 +1206,10 @@ The backslash retains its special meaning only when followe

Re: my thoughts about grub 2

2010-08-17 Thread BVK Chaitanya
Hi Petr, If you could list out specific instances of what you felt is difficult, then it would be a lot helpful. A general comment like, "its not good or difficult" does not give any chance for improvements. regards, bvk.chaitanya ___ Grub-devel mai

[PATCH] New command, setparams to set positional parameters

2010-08-15 Thread BVK Chaitanya
Hi Attached patch adds new command, setparams to set positional parameter values in a function scope. It is equivalent to bash's set command with arguments. bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: b...@dbook-20100815063233-x4dura6g3hntvcpd # target_branch:

[PATCH] Make regexp update environment vars with matched sub-strings

2010-08-04 Thread BVK Chaitanya
2.6.26 regards, bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: b...@dbook-20100804135307-abjlm3brfkdm907y # target_branch: file:///home/bvk/Work/grub2/menuentry/ # testament_sha1: 862b2698d619506951ac7a78f65715fc3d466e08 # timestamp: 2010-08-04 19:2

Re: [PATCH] GRUB script shell expansion for *

2010-07-29 Thread BVK Chaitanya
Attached is an updated version for GRUB script expansion for wildcard character '*'. This feature is enabled only after "insmod regexp" and hidden files (files starting with '.') are included in filename expansion, except for "." and ".." names. regards, bvk.chaitanya # Bazaar merge directive

Re: grub2 build under windows environment.

2010-07-27 Thread BVK Chaitanya
GRUB2 must build fine on cygwin. You need to have necessary development packages installed. If build fails, it is a bug and you can report it. regards, bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinf

Re: [PATCH] Multiline double and single quote strings in GRUB script

2010-07-16 Thread BVK Chaitanya
Committed into exp. -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Add /boot/grub/custom.cfg file support

2010-06-12 Thread BVK Chaitanya
2010/6/12 Vladimir 'φ-coder/phcoder' Serbinenko : > On 06/12/2010 11:35 AM, BVK Chaitanya wrote: >> Hi >> >> >> Attached patch adds support for /boot/grub/custom.cfg (or >> /grub/custom.cfg) file for user customizations. >> >> > This pat

[PATCH] Add /boot/grub/custom.cfg file support

2010-06-12 Thread BVK Chaitanya
Hi Attached patch adds support for /boot/grub/custom.cfg (or /grub/custom.cfg) file for user customizations. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100612092745-d9vnimifh4l8iny4 # target_branch: ../mainline/ # testament_sha1: 622d

[PATCH] Multiline double and single quote strings in GRUB script

2010-06-12 Thread BVK Chaitanya
Hi, Attached patch adds support for logical linebreaks (ie, backslash followed by newline) and multi-line double quoted and single quoted strings in GRUB script. Its also available in people/bvk/nl-fix branch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id

Re: 915resolution doesn't work with 945GME

2010-06-08 Thread BVK Chaitanya
Where is this 915resolution.c file located exactly? I can't seem to find it in mainline :-( -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] grub-emu-lite tool instead of --enable-grub-emu-modules

2010-06-08 Thread BVK Chaitanya
2010/6/8 Vladimir 'φ-coder/phcoder' Serbinenko : > On 06/02/2010 11:29 AM, BVK Chaitanya wrote: >> Updated patch with review comments (on IRC) is attached. >> >> > go ahead >> Committed into experimental. -- bvk.chaitanya __

Re: New build system for GRUB

2010-06-07 Thread BVK Chaitanya
It seems my mail couldn't be delivered due to patch size. Please look at branches/bvk/automake for this patch. On Tue, Jun 8, 2010 at 10:28 AM, BVK Chaitanya wrote: > Hi > > > Attached is the patch for autogen+automake based build system for > GRUB.  It is building suc

Re: [PATCH] grub-emu-lite tool instead of --enable-grub-emu-modules

2010-06-02 Thread BVK Chaitanya
Updated patch with review comments (on IRC) is attached. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100602091507-1ue7h482akbs3w5b # target_branch: ../mainline/ # testament_sha1: b64ba6563eb16fb1ff5ae97d2102dc8f20c6b61d # timestamp: 20

Re: [PATCH] grub-emu-lite tool instead of --enable-grub-emu-modules

2010-05-28 Thread BVK Chaitanya
Updated for netbsd build. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100528105307-z4fye52fe0j681no # target_branch: ../mainline/ # testament_sha1: bb58c232ef2971489afd458d475db4062ca985c8 # timestamp: 2010-05-28 17:14:34 +0530 # base_r

Re: [Patch] File name transformations & grub-mkconfig --root-directory

2010-05-28 Thread BVK Chaitanya
A general comment, not specific your patch: IMO we should make these scripts in grub.d, standalone, i.e., instead of assuming some environment variables (like GRUB_DEVICE), they should accept values through command line arguments, like --root-device=/dev/sda or similar. Thus, final result should

Re: [PATCH] grub-emu-lite tool instead of --enable-grub-emu-modules

2010-05-27 Thread BVK Chaitanya
Updated for cygwin build. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: chaita...@personal-lr2wsx-20100528000431-\ # qeo8qbb74n92rutd # target_branch: ../mainline/ # testament_sha1: 0d5c612d935b7c6f116130b4c15d715c0d36958c # timestamp: 2010-05-27 22:34:44 +0

Re: [PATCH] grub-emu-lite tool instead of --enable-grub-emu-modules

2010-05-26 Thread BVK Chaitanya
Attached is the updated version with build fixes for sparc64-linux-gnu and freebsd platforms. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100526112829-yqtb9jfvlbwku9mv # target_branch: ../mainline/ # testament_sha1: 58a6119f369683840d67

[PATCH] Mainline build fixes for emu platform

2010-05-25 Thread BVK Chaitanya
Hi, Attached patch fixes mainline build failures for emu platform on sparc64-linux-gnu and freebsd platforms. On freebsd GCC still reports some warnings, which can be suppressed using TARGET_CFLAGS=-Wno-error for now. I will handle them later. -- bvk.chaitanya === modified file 'conf/any-emu

Re: Option handling in grub-mkconfig

2010-05-23 Thread BVK Chaitanya
2010/5/21 Grégoire Sutre : > > The processing of option `-o' in grub-mkconfig only works when > it is the first option. > IMO this issue might have been fixed in experimental branch, by fix-cmdline-parsing (or similar) branch. I am on travel, so I cannot confirm this now :-( -- bvk.chaitanya

Re: [PATCH] Function parameters support

2010-05-19 Thread BVK Chaitanya
Committed into exp. -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Shift command support to GRUB script

2010-05-18 Thread BVK Chaitanya
Hi, Attached patch adds shift cmd support to grub-script. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100512121649-kssucchekpggnms0 # target_branch: ../cmdlist/ # testament_sha1: fcbd7e7ab663a4edf0114e8dc1fbc33fb006c78e # timestamp: 2

[PATCH] GRUB script shell expansion for *

2010-05-18 Thread BVK Chaitanya
Hi, Attached patch adds support for path name expansion for * in grub-script. So, we can now use *, (*,msdos*), */boot/grub/*.mod, etc. in grub scripts. It is available in people/bvk/shell-expansion branch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id

Re: grub2 back to lilo ?

2010-05-15 Thread BVK Chaitanya
On Sat, May 15, 2010 at 12:41 PM, Colin Watson wrote: > On Sat, May 15, 2010 at 08:02:22AM +0530, BVK Chaitanya wrote: >> With GRUB2 that simplicity is not there anymore. > > Simplicity ... except when it broke.  Which it did, all the time.  Let's > not follow the model o

Re: grub2 back to lilo ?

2010-05-14 Thread BVK Chaitanya
I tend to agree. IIRC, with grub-legacy (on debian), we could simply add any user customizations at the end of the menu.lst (after auto generated list markers) which would remain there even after update-grub operations. Thus user had an easier way to add his customizations (without even need to r

Re: [PATCH] Function parameters support

2010-05-11 Thread BVK Chaitanya
On Wed, May 5, 2010 at 11:06 PM, Seth Goldberg wrote: > >  This is a *great* start, but can you please add support for $* ... > Support for $@, $* and their double quoted forms is added. Its available in people/bvk/func-params branch. One known bug is, "$@" currently ex

Re: [PATCH] Function parameters support

2010-05-11 Thread BVK Chaitanya
2010/5/9 Vladimir 'φ-coder/phcoder' Serbinenko : > The only place where new scope is added or removed is: > +  grub_list_push (GRUB_AS_LIST_P (&scope), GRUB_AS_LIST (&new_scope)); > + > +  ret = grub_script_execute (func->func); > + > +  grub_list_pop (GRUB_AS_LIST_P (&scope)); > + > So you can act

Re: [PATCH] Function parameters support

2010-05-06 Thread BVK Chaitanya
On Wed, May 5, 2010 at 11:06 PM, Seth Goldberg wrote: > >  This is a *great* start, but can you please add support for $* as well as a > shift operator (though shift is not as useful when there are no looping > constructs) shift command is now available in people/bvk/shift-cmd bra

Re: [PATCH] break command support

2010-05-06 Thread BVK Chaitanya
is also to be consistent with bash behavior. I just missed that case; it is now fixed in people/bvk/break-cmd branch. thanks, -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] continue command support

2010-05-05 Thread BVK Chaitanya
Hi, Attached patch provides "continue [n]" command support for GRUB script. It needs to be applied over my earlier break command patch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100505104931-cy2j9xtwicrbbvmi # target_branch: ../brea

[PATCH] break command support

2010-05-05 Thread BVK Chaitanya
Hi, Attached patch adds "break [n]" command support to GRUB script. This needs to be applied on top of func-params patch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100505100426-vp7j1j0otn99h0xn # target_branch: ../func-params/ # tes

[PATCH] Function parameters support

2010-05-05 Thread BVK Chaitanya
Hi, Attached patch adds function parameters ($1, $2, etc. and $#) support to GRUB script.. Shell expansion for "$@" and $@ specials is not yet available. PS: It needs to be applied over my earlier, remove grub_script_cmdblock patch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar

[PATCH] Remove grub_script_cmdblock

2010-05-05 Thread BVK Chaitanya
0.90) # revision_id: bvk.gro...@gmail.com-20100504062545-fiml6jlskuyd9nbe # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: 0a426fe707fc58ac1e305121ace0001b278204fd # timestamp: 2010-05-05 14:03:57 +0530 # base_revision_id: phco...@gmail.com-20100503111712-7ilqdfmu0zesel3c # # Begin

[PATCH] grub-emu-lite tool instead of --enable-grub-emu-modules

2010-04-28 Thread BVK Chaitanya
Hi, This patch merges grub-emu's --enable-grub-emu-modules build into normal emu build, by introducing a new tool, grub-emu-lite, which supports module loading. This patch is made on top of my earlier grub-emu sources re-org patch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.

[PATCH] grub-emu sources re-organization

2010-04-28 Thread BVK Chaitanya
Hi, Attached patch does some source tree re-org for grub-emu build. This change is part of automake work, that is separated out for mainline branch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100427152945-bjgexrt8o76byxuf # target_br

Re: [PATCH] Fix Cygwin path handling

2010-04-19 Thread BVK Chaitanya
On Sat, Apr 17, 2010 at 9:40 PM, Christian Franke wrote: > > As far as I understand "Bazaar workflow for GRUB" > (http://lists.gnu.org/archive/html/grub-devel/2010-01/msg00175.html) such > changes should be 'bzr push'ed to e.g. '.../branches/feature-foo' (e.g. > '.../branches/cygwin-path' in this

Re: how to compile the grub legacy on AMD64

2010-04-19 Thread BVK Chaitanya
GRUB Legacy is obsolete. If you are interested in learning GRUB, I would suggest to explore GRUB-2. -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: where i can find the GRUB design document

2010-04-17 Thread BVK Chaitanya
On Sat, Apr 17, 2010 at 3:19 PM, Bai Shuwei wrote: > >    I  want to know the GRUB architecture and the source files > relations, and want to know more information on GRUB implementation. > So does some design documents are avaliable? Thanks ALL > There is no definitive design document for GRUB.

Re: escape strings in grub.cfg

2010-04-13 Thread BVK Chaitanya
On Mon, Apr 12, 2010 at 10:19 PM, BVK Chaitanya wrote: > On Mon, Apr 12, 2010 at 5:39 AM, Colin Watson wrote: >> >> In other words, only ' is special (as a terminator) when reading a >> single-quoted string, and the sequences " $ \\ \" \n are spec

Re: [PATCH] --foo bar cmdline argument parsing support for grub-* scripts

2010-04-12 Thread BVK Chaitanya
-20100412160303-6jybcf4eb75thcj3 # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: ff33d30449069fb834a529fa1960a74052916fa3 # timestamp: 2010-04-12 21:33:14 +0530 # base_revision_id: phco...@gmail.com-20100410231431-bddwdlx8sh5oa2j2 # # Begin patch === modified file 'util

Re: escape strings in grub.cfg

2010-04-12 Thread BVK Chaitanya
On Mon, Apr 12, 2010 at 5:39 AM, Colin Watson wrote: > > In other words, only ' is special (as a terminator) when reading a > single-quoted string, and the sequences " $ \\ \" \n are special inside > a double-quoted string.  (Incidentally, I think there's another bug > here; if $ is special, \$ sh

[PATCH] Fix for FreeBSD build

2010-04-06 Thread BVK Chaitanya
Hi Below patch fixes build failure on FreeBSD. FreeBSD ships with very old version of flex (in /usr/bin), which is now obsolete. This patch adds a configure time check for flex version to be >= 2.5.35. FreeBSD users can build GRUB by specifying LEX=/usr/local/bin/flex to configure command line

[PATCH] Unit testing framework fix for Qemu 0.12

2010-04-06 Thread BVK Chaitanya
(Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100406070144-p9sqy98eqv90vo4n # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: b99333fbdc905f06f129a2f9060cd05c97382e97 # timestamp: 2010-04-06 12:31:57 +0530 # base_revision_id: bvk.gro...@gmail.com-20100405194732

New build system for GRUB

2010-03-31 Thread BVK Chaitanya
Hi, New automake based build system for GRUB is now available in branches/automake branch. Build system now has new dependency on GNU Automake and GNU Autogen. Autogen is used to convert a modules.def definitions file into an automake makefile (modules.am) which is included by Makefile.am This

[BUG][PATCH] Bug fix and a test case for the last semicolon behavior in grub-script

2010-03-22 Thread BVK Chaitanya
(Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100322083320-62qfphq8t6utvlx6 # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: b34fa1addf6d937190819406127d3e76b86623a3 # timestamp: 2010-03-22 17:44:27 +0530 # base_revision_id: bvk.gro...@gmail.com-20100314170717

[PATCH] A testcase for blank lines in grub script (debian bug #572302)

2010-03-22 Thread BVK Chaitanya
# target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: 92341f9daabb8d9055832f64822b614435c29f48 # timestamp: 2010-03-22 17:40:11 +0530 # base_revision_id: bvk.gro...@gmail.com-20100314170717-\ # q8ppihzgyjyifcke # # Begin patch === modified file 'conf/tests.rmk' --- conf

Re: [PATCH] Testcase for checking lvm module

2010-03-16 Thread BVK Chaitanya
Attached! -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100317021252-1cts9bjol2lkd2a2 # target_branch: file:///home/bvk/work/grub2/mainline/ # testament_sha1: 9b533426627983a43022b8a2918a3b40f00984a0 # timestamp: 2010-03-17 07:43:03

[PATCH] Testcase for checking lvm module

2010-03-16 Thread BVK Chaitanya
Hi, Attached patch adds a testcase to check for GRUB's lvm module functionality. It configures lvm volumes on-the-fly on temporary disk images, and tests to see whether grub-shell ls command identifies them or not. Since all of the LVM operations need root privilege, this real test is performed

Re: [PATCH] Testcase for checking msdos and gpt partitions logic

2010-03-16 Thread BVK Chaitanya
This new patch has checks for sun and apple partition types. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100316210427-i99kah8gbr4l4iqn # target_branch: file:///home/bvk/work/grub2/mainline/ # testament_sha1

[PATCH] Testcase for checking msdos and gpt partitions logic

2010-03-16 Thread BVK Chaitanya
directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100316170632-ezfxl7ar6a32v8g1 # target_branch: file:///home/bvk/work/grub2/mainline/ # testament_sha1: 310d6d70b5a1bbb1280b6f9a0a948fbc3fd03905 # timestamp: 2010-03-16 22:36:36 +0530 # base_revision_id: bvk.gro...@gmail.com

GRUB with Automake build system

2010-02-22 Thread BVK Chaitanya
Hi, Initial phase of automake based build system is ready for testing. It is now available in branches/automake branch. It currently has native build support for only i386-pc architecture. Make rules for other architectures needs to be ported from rmk files. Since it uses nested packages appr

Re: [PATCH] Fix for eating last char in menuentry

2010-02-11 Thread BVK Chaitanya
This is committed into experimental (and also in branches/lexer-rewrite). -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] Fix for eating last char in menuentry

2010-02-10 Thread BVK Chaitanya
This patch adds fix for eating-last-char error in menuentry handling in experimental branch. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100210040100-y2plzp4uqald8z7t # target_branch: file:///home/bvk/Work/grub2/experimental

Re: [PATCH] --foo bar cmdline argument parsing support for grub-* scripts

2010-02-08 Thread BVK Chaitanya
I assume you are talking about /usr/bin/getopt (not libc getopt). /usr/bin/getopt comes with util-linux package (in debian), and yes, I too dont think it would be available on other platforms as bash or coreutils does. -- bvk.chaitanya ___ Grub-dev

[PATCH] --foo bar cmdline argument parsing support for grub-* scripts

2010-02-06 Thread BVK Chaitanya
104-9ptsm4whvibzr2k6 # target_branch: file:///home/bvk/Work/grub2/mainline/ # testament_sha1: 5aafafe74a15ba6adf3fccd3253863820f21a972 # timestamp: 2010-02-07 10:37:51 +0530 # base_revision_id: phco...@gmail.com-20100205233207-csk991t3yceon285 # # Begin patch === modified file 'util/grub-install.in&

Fwd: On boot tests

2010-01-27 Thread BVK Chaitanya
FYI -- Forwarded message -- From: BVK Chaitanya Date: 2010/1/26 Subject: On boot tests To: Vladimir 'φ-coder/phcoder' Serbinenko Hi Vladimir, Let me know what you think of the attached linux boot testcase.  It is similar to what you have done, except that it does

[PATCH] Making parenthesis part of word; fixes set root=(hd1,1) issue

2010-01-26 Thread BVK Chaitanya
alphabets. -- bvk.chaitanya === modified file 'ChangeLog.lexer-rewrite' --- ChangeLog.lexer-rewrite 2010-01-22 13:37:27 + +++ ChangeLog.lexer-rewrite 2010-01-25 16:30:38 + @@ -1,3 +1,8 @@ +2010-01-25 BVK Chaitanya + + * script/yylex.l: Accept parenthesis as part of word. +

Re: [PATCH] [RESEND] While and until loops support to GRUB script

2010-01-25 Thread BVK Chaitanya
) # revision_id: bvk.gro...@gmail.com-20100126070247-jav742bys6z6vz6n # target_branch: file:///home/bvk/Work/grub2/for-loop/ # testament_sha1: ab52b0aa586f2d8c04f5b84e8685bac20ce2d57c # timestamp: 2010-01-26 12:33:11 +0530 # base_revision_id: bvk.gro...@gmail.com-20100123053341-\ # ukj4s8lpltdoslue

Re: [PATCH] [RESEND] For loop support to GRUB script

2010-01-25 Thread BVK Chaitanya
Pushed into branches/for-loop -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] [RESEND] While and until loops support to GRUB script

2010-01-25 Thread BVK Chaitanya
-4jx21vvs3as5bp6u # target_branch: file:///home/bvk/Work/grub2/for-loop/ # testament_sha1: 765eb235c266725c213c934ee0086cdd9cac5e53 # timestamp: 2010-01-26 09:40:09 +0530 # base_revision_id: bvk.gro...@gmail.com-20100123053341-\ # ukj4s8lpltdoslue # # Begin patch === added file 'ChangeLog.while-until-

Re: [PATCH] [RESEND] GRUB script lexer rewrite using flex

2010-01-25 Thread BVK Chaitanya
On Mon, Jan 25, 2010 at 1:27 PM, Robert Millan wrote: > On Sat, Jan 23, 2010 at 10:39:47AM +0530, BVK Chaitanya wrote: >> Attached is the updated patch with changes as per review comments (by >> phcoder).  With these changes sh.mod file size is reduced from 38K to >> 28K :-)

[PATCH] [RESEND] For loop support to GRUB script

2010-01-23 Thread BVK Chaitanya
# target_branch: file:///home/bvk/Work/grub2/lexer-rewrite/ # testament_sha1: d2a268ca298ac4a46b2a7ee8f2cd6a3a59d3b4ed # timestamp: 2010-01-24 10:08:53 +0530 # base_revision_id: bvk.gro...@gmail.com-20100123045852-\ # vls49fz4tcviyzdf # # Begin patch === added file 'ChangeLog.for-loop' --- Cha

Fix for "underquoted definition of grub_*" in acinclude.m4

2010-01-22 Thread BVK Chaitanya
Hi, Attached patch fixes the underquoted definition warning (as in below example) generated during autogen.sh phase. Example warning: acinclude.m4:39: warning: underquoted definition of grub_ASM_USCORE acinclude.m4:39: run info '(automake)Extending aclocal' acinclude.m4:39: or see http://so

Re: Antialiased fonts patch.

2010-01-22 Thread BVK Chaitanya
Can you send us a screenshot? :) -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Bazaar workflow for GRUB

2010-01-18 Thread BVK Chaitanya
On Mon, Jan 18, 2010 at 11:45 PM, Colin Watson wrote: > > I recommend using a checkout for trunk, because that way bzr takes out a > write lock on the branch when you start committing and doesn't release > it until it's finished; it also warns you immediately if you're out of > date rather than ma

Re: Bazaar workflow for GRUB

2010-01-18 Thread BVK Chaitanya
On Mon, Jan 18, 2010 at 11:19 PM, Colin D Bennett wrote: >> >> * For Occasional Contributors >> >> This workflow is recommended for users/developers who want to fix >> just-one GRUB issue.  This involves a trunk checkout, some local >> commits (as necessary for fixing the issue) and sending the pa

Re: [PATCH] [RESEND] grub-script-check tool to validate grub.cfg syntax

2010-01-18 Thread BVK Chaitanya
On Sat, Jan 9, 2010 at 10:02 PM, BVK Chaitanya wrote: > > Attached patch adds a new utility, grub-script-check that can be used > to validate syntax of grub.cfg file generated using grub-mkconfig (or > update-grub).  I had sent this patch earlier based on experimental > branch, b

Re: [PATCH] Some tests using unit-testing-framework

2010-01-14 Thread BVK Chaitanya
00 @@ -0,0 +1,22 @@ +2010-01-09 BVK Chaitanya + + Added some testcases. + + * tests/grub_script_vars1.in: Testcase for different types of + variable expansions and arguments. + * tests/grub_script_echo1.in: Likewise. + * tests/grub_script_echo_keywords.in

Re: [PATC] Unit testing framework adjusted over trunk

2010-01-14 Thread BVK Chaitanya
Hi, This has been committed to trunk with some minor changes. Its been reviewed by Vladimir (over IRC). thanks, -- bvk.chaitanya ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Bazaar workflow for GRUB

2010-01-14 Thread BVK Chaitanya
Hi, Attached is the initial version of workflow document for GRUB contributions. I am yet to get right DVCS right, so I suspect it might have minor differences from what other developers are following already. Let me know your comments. -- bvk.chaitanya GNU GRUB Workflow GNU GRUB project re

Re: [PATC] Unit testing framework adjusted over trunk

2010-01-12 Thread BVK Chaitanya
it-testing-framework1970-01-01 00:00:00 + +++ ChangeLog.unit-testing-framework2010-01-12 10:19:08 + @@ -0,0 +1,37 @@ +2010-01-12 BVK Chaitanya + + * tests/util/grub-shell.in: New --boot option. + + * conf/tests.rmk: Build functional tests on make. + * Makefile

  1   2   >