Re: Timing issue with scripts (GRUB/10-setup runs last)

2010-12-30 Diskussionsfäden Allison, Brad
, Dec 29, 2010 at 03:32:08PM -0500, Allison, Brad wrote: > > Since I couldn't find a nicer way around it, I added the following: > > > > 1- In my class scripts I have a script that touches > /target/etc/class_name > > > > 2- I added a GRUB/20-fix_grub_menulst

Re: Timing issue with scripts (GRUB/10-setup runs last)

2010-12-29 Diskussionsfäden Allison, Brad
Since I couldn't find a nicer way around it, I added the following: 1- In my class scripts I have a script that touches /target/etc/class_name 2- I added a GRUB/20-fix_grub_menulst that looks for my /target/etc/class_name and if it exists then it copies over my menu.lst. That works and solves my

Re: Timing issue with scripts (GRUB/10-setup runs last)

2010-12-29 Diskussionsfäden Allison, Brad
I guess a more simple question would be: How do I get my script to run AFTER the GRUB/10-setup script. Else, I'll have to add it to the GRUB class and I didn't want to do that because I don't want this to run on all systems. -b

Timing issue with scripts (GRUB/10-setup runs last)

2010-12-29 Diskussionsfäden Allison, Brad
I want to install a menu.lst for my CLASS of systems that is different than the default. I tried creating a MYCLASS/53-install_grub script that tried to copy my menu.lst to /target/boot/grub/menu.lst but it fails because the directory /target/boot/grub has not been created yet at the time the scri