Skip to content

Commit f252bed

Browse files
committed
Workaround for menu.lst caching
I've seen multiple times this file getting cached, in very weird ways. I think it has something to do with Vagrant or something. The strange thing is that _with this change_, everything works as it should, so it's indeed an incredibly strange bug...
1 parent 3293f21 commit f252bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ end
5050
desc 'Builds a bootable ISO image with the kernel, servers and programs.'
5151
task :iso_image do
5252
FileUtils.mkdir_p "#{INSTALL_ROOT}/boot/grub"
53-
FileUtils.cp 'menu.lst', "#{INSTALL_ROOT}/boot/grub"
53+
system "cp menu.lst #{INSTALL_ROOT}/boot/grub"
5454

5555
FileUtils.cp '/usr/lib/grub/i386-pc/stage2_eltorito', "#{INSTALL_ROOT}/boot/grub"
5656

0 commit comments

Comments
 (0)