All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Grub-devel Digest, Vol 45, Issue 30
       [not found] <473b2b28.1219360a.64b9.ffffcf33SMTPIN_ADDED@mx.google.com>
@ 2007-11-15 17:55 ` Oleg Strikov
  2007-11-15 19:00   ` HOWTO needed: how to add my own module to making list? adrian15
  2007-11-18  6:54   ` Grub-devel Digest, Vol 45, Issue 30 Robert Millan
  0 siblings, 2 replies; 7+ messages in thread
From: Oleg Strikov @ 2007-11-15 17:55 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 759 bytes --]

Hi,

>Hi,

>On Nov 14, 2007 4:48 PM, Oleg Strikov <oleg.strikov@gmail.com> wrote:
>> Good day!
>> Ive created my own grub file validation module, but I can only make it by
>> renaming to standart "hello module" :(
>>
>> What ive done:
>> 1) add my module source into ./commands folder
>> 2) add validate.mod to pkgdata_MODULES (common.rmk)
>> 3) add some template data
>>     # For validate.mod.
>>     validate_mod_SOURCES = commands/validate.c
>>     validate_mod_CFLAGS = $(COMMON_CFLAGS)
>>     validate_mod_LDFLAGS = $(COMMON_LDFLAGS)
>> to the same file
>>
>> What point ive forgotten?

>make sure you install "ruby".

>--
>Bean

Thank you for your attention, but ive got ruby already :(
ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux]

[-- Attachment #2: Type: text/html, Size: 1070 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOWTO needed: how to add my own module to making list?
  2007-11-15 17:55 ` Grub-devel Digest, Vol 45, Issue 30 Oleg Strikov
@ 2007-11-15 19:00   ` adrian15
  2007-11-15 20:43     ` Alexandre Boeglin
  2007-11-18  6:54   ` Grub-devel Digest, Vol 45, Issue 30 Robert Millan
  1 sibling, 1 reply; 7+ messages in thread
From: adrian15 @ 2007-11-15 19:00 UTC (permalink / raw)
  To: The development of GRUB 2

Oleg Strikov wrote:

> Thank you for your attention, but ive got ruby already :(
> ruby --version
> ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux]

That's what I thought myself when I first programmed in grub2 and it was 
true but grub2 development tools did not use ruby.

If you type ruby does it says command not found or not ?

You might need to create a link name ruby to the ruby1.8 executable 
found probably at /bin folder.

adrian15



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOWTO needed: how to add my own module to making list?
  2007-11-15 19:00   ` HOWTO needed: how to add my own module to making list? adrian15
@ 2007-11-15 20:43     ` Alexandre Boeglin
  2007-11-16 18:11       ` Vincent Pelletier
  0 siblings, 1 reply; 7+ messages in thread
From: Alexandre Boeglin @ 2007-11-15 20:43 UTC (permalink / raw)
  To: The development of GRUB 2

<94a0ccbc0711150955r1a38cfe8jd1f26ad904da729c@mail.gmail.com> <473C9753.8070307@gmail.com>
Message-ID: <131c13742423d7bdac4f2ce5b16d6e9d@boeglin.org>
X-Sender: alex@boeglin.org
User-Agent: RoundCube Webmail/0.1b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit

On Thu, 15 Nov 2007 20:00:35 +0100, adrian15 <adrian15sgd@gmail.com> wrote:
> Oleg Strikov wrote:
> 
>> Thank you for your attention, but ive got ruby already :(
>> ruby --version
>> ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux]
> 
> That's what I thought myself when I first programmed in grub2 and it was
> true but grub2 development tools did not use ruby.
> 
> If you type ruby does it says command not found or not ?
> 
> You might need to create a link name ruby to the ruby1.8 executable
> found probably at /bin folder.

Hi,

Actually I think that calling make should be enough tu rebuild the .mk
file. Else, you can just remove the .mk file and invoke make to have it
rebuilt from the .rmk file.

Alex




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOWTO needed: how to add my own module to making list?
  2007-11-15 20:43     ` Alexandre Boeglin
@ 2007-11-16 18:11       ` Vincent Pelletier
  0 siblings, 0 replies; 7+ messages in thread
From: Vincent Pelletier @ 2007-11-16 18:11 UTC (permalink / raw)
  To: The development of GRUB 2

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

Le Thursday 15 November 2007 21:43:52 Alexandre Boeglin, vous avez écrit :
> Actually I think that calling make should be enough tu rebuild the .mk
> file. Else, you can just remove the .mk file and invoke make to have it
> rebuilt from the .rmk file.

AFAIK, you must invoke ./autogen.sh to regenerate .mk files.

-- 
Vincent Pelletier

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Grub-devel Digest, Vol 45, Issue 30
  2007-11-15 17:55 ` Grub-devel Digest, Vol 45, Issue 30 Oleg Strikov
  2007-11-15 19:00   ` HOWTO needed: how to add my own module to making list? adrian15
@ 2007-11-18  6:54   ` Robert Millan
  1 sibling, 0 replies; 7+ messages in thread
From: Robert Millan @ 2007-11-18  6:54 UTC (permalink / raw)
  To: The development of GRUB 2

On Thu, Nov 15, 2007 at 08:55:54PM +0300, Oleg Strikov wrote:
> Hi,
> 
> >Hi,
> 
> >On Nov 14, 2007 4:48 PM, Oleg Strikov <oleg.strikov@gmail.com> wrote:
> >> Good day!
> >> Ive created my own grub file validation module, but I can only make it by
> >> renaming to standart "hello module" :(
> >>
> >> What ive done:
> >> 1) add my module source into ./commands folder
> >> 2) add validate.mod to pkgdata_MODULES (common.rmk)
> >> 3) add some template data
> >>     # For validate.mod.
> >>     validate_mod_SOURCES = commands/validate.c
> >>     validate_mod_CFLAGS = $(COMMON_CFLAGS)
> >>     validate_mod_LDFLAGS = $(COMMON_LDFLAGS)
> >> to the same file
> >>
> >> What point ive forgotten?
> 
> >make sure you install "ruby".
> 
> >--
> >Bean
> 
> Thank you for your attention, but ive got ruby already :(
> ruby --version
> ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux]

Did you check that your module makes its way into common.mk ?  If not, you
might need to regenerate that manually (with genmk.rb < common.rmk > common.mk).

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: HOWTO needed: how to add my own module to making list?
  2007-11-14  8:48 HOWTO needed: how to add my own module to making list? Oleg Strikov
@ 2007-11-14 10:24 ` Bean
  0 siblings, 0 replies; 7+ messages in thread
From: Bean @ 2007-11-14 10:24 UTC (permalink / raw)
  To: The development of GRUB 2

Hi,

On Nov 14, 2007 4:48 PM, Oleg Strikov <oleg.strikov@gmail.com> wrote:
> Good day!
> Ive created my own grub file validation module, but I can only make it by
> renaming to standart "hello module" :(
>
> What ive done:
> 1) add my module source into ./commands folder
> 2) add validate.mod to pkgdata_MODULES (common.rmk)
> 3) add some template data
>     # For validate.mod.
>     validate_mod_SOURCES = commands/validate.c
>     validate_mod_CFLAGS = $(COMMON_CFLAGS)
>     validate_mod_LDFLAGS = $(COMMON_LDFLAGS)
> to the same file
>
> What point ive forgotten?

make sure you install "ruby".

-- 
Bean



^ permalink raw reply	[flat|nested] 7+ messages in thread

* HOWTO needed: how to add my own module to making list?
@ 2007-11-14  8:48 Oleg Strikov
  2007-11-14 10:24 ` Bean
  0 siblings, 1 reply; 7+ messages in thread
From: Oleg Strikov @ 2007-11-14  8:48 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 476 bytes --]

Good day!
Ive created my own grub file validation module, but I can only make it by
renaming to standart "hello module" :(

What ive done:
1) add my module source into ./commands folder
2) add validate.mod to pkgdata_MODULES (common.rmk)
3) add some template data
    # For validate.mod.
    validate_mod_SOURCES = commands/validate.c
    validate_mod_CFLAGS = $(COMMON_CFLAGS)
    validate_mod_LDFLAGS = $(COMMON_LDFLAGS)
to the same file

What point ive forgotten?

Thanks!

[-- Attachment #2: Type: text/html, Size: 597 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-18  6:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <473b2b28.1219360a.64b9.ffffcf33SMTPIN_ADDED@mx.google.com>
2007-11-15 17:55 ` Grub-devel Digest, Vol 45, Issue 30 Oleg Strikov
2007-11-15 19:00   ` HOWTO needed: how to add my own module to making list? adrian15
2007-11-15 20:43     ` Alexandre Boeglin
2007-11-16 18:11       ` Vincent Pelletier
2007-11-18  6:54   ` Grub-devel Digest, Vol 45, Issue 30 Robert Millan
2007-11-14  8:48 HOWTO needed: how to add my own module to making list? Oleg Strikov
2007-11-14 10:24 ` Bean

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.