Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[grub] Change from grub-legacy to grub-2 #127

Merged
merged 1 commit into from
Oct 13, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,11 @@ end
desc 'Builds a bootable ISO image with the kernel, servers and programs.'
task :iso_image do
FileUtils.mkdir_p "#{INSTALL_ROOT}/boot/grub"
system "cp menu.lst #{INSTALL_ROOT}/boot/grub"

FileUtils.cp 'grub/i386-pc/stage2_eltorito', "#{INSTALL_ROOT}/boot/grub"
system "cp grub.cfg #{INSTALL_ROOT}/boot/grub"

print 'Creating ISO image...'.cyan.bold
sh "genisoimage \
-R \
-b boot/grub/stage2_eltorito \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-input-charset ascii \
-quiet \
-o chaos.iso #{INSTALL_ROOT}"

sh "grub-mkrescue -o chaos.iso #{INSTALL_ROOT}"
puts ' done.'
end

Expand Down
11 changes: 0 additions & 11 deletions grub/README.md

This file was deleted.

Binary file removed grub/i386-pc/stage2_eltorito
Binary file not shown.
24 changes: 0 additions & 24 deletions menu.lst

This file was deleted.