Skip to content

Commit

Permalink
Merge pull request #60 from chaos4ever/cleanup/only-need-32-bit-grub-…
Browse files Browse the repository at this point in the history
…stage2

Simplified grub stage2 copying as a result of #52
  • Loading branch information
perlun committed Oct 20, 2015
2 parents e0a09d7 + 6f4343c commit 9c59ce7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Rakefile
Expand Up @@ -42,10 +42,7 @@ task :iso_image do
FileUtils.mkdir_p "#{INSTALL_ROOT}/boot/grub"
FileUtils.cp 'menu.lst', "#{INSTALL_ROOT}/boot/grub"

eltorito_file = '/usr/lib/grub/i386-pc/stage2_eltorito'
eltorito_file = '/usr/lib/grub/x86_64-pc/stage2_eltorito' unless File.exist? eltorito_file

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

print 'Creating ISO image...'.cyan.bold
sh "genisoimage \
Expand Down

0 comments on commit 9c59ce7

Please sign in to comment.