Grub-devel Digest, Vol 45, Issue 30
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi,
Quoted 17 lines
Hi,
Quoted 14 lines · Oleg Strikov
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 topkgdata_MODULES(common.rmk)
3) add some template data
# For validate.mod.validate_mod_SOURCES=commands/validate.cvalidate_mod_CFLAGS= $(COMMON_CFLAGS)validate_mod_LDFLAGS= $(COMMON_LDFLAGS)
to the same file
Quoted 6 lines
Quoted 1 line
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]
Re: HOWTO needed: how to add my own module to making list?
Quoted 3 lines · Oleg Strikov
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
Re: HOWTO needed: how to add my own module to making list?
<[email protected]> <[email protected]>
Message-ID: <[email protected]>
X-Sender: [email protected]
User-Agent: RoundCube Webmail/0.1b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
Quoted 6 lines · On Thu, 15 Nov 2007 20:00:35 +0100, adrian15 <[email protected]> wrote:
Quoted 3 lines · Oleg Strikov
Thank you for your attention, but ive got ruby already :( ruby --version
ruby 1.8.6 (2007-03-13 patchlevel 0) [i486-linux]
Quoted 7 lines
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
Re: HOWTO needed: how to add my own module to making list?
Le Thursday 15 November 2007 21:43:52 Alexandre Boeglin, vous avez écrit :
Quoted 3 lines
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.
Signature · 1 line
Vincent Pelletier
Quoted 21 lines · Oleg Strikov
Hi,
Quoted 18 lines
Hi,
Quoted 15 lines · Oleg Strikov
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 topkgdata_MODULES(common.rmk)
3) add some template data
# For validate.mod.validate_mod_SOURCES=commands/validate.cvalidate_mod_CFLAGS= $(COMMON_CFLAGS)validate_mod_LDFLAGS= $(COMMON_LDFLAGS)
to the same fileWhat point ive forgotten?
Quoted 8 lines
Quoted 4 lines
make sure you install "ruby".
--
BeanThank 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).
Signature · 5 lines
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 /.)