mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
boot/grub: remove
grub is no longer maintained: it is stuck at version 0.97 with huge patches that have no opportunity to be applied upstream, as upstream has even renamed it grub-legacy. Besides, it no longer builds correctly with recent binutils versions, and even the huge patches we could grab from Debian do not help the slightest. Since upstream really considers it dead, and there are at least two alternatives (grub2 and syslinux), just remove grub. Add a legacy entry. Remove the test cases as well. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
54a76f08fc
commit
144dc9ca80
@@ -84,43 +84,6 @@ BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}"
|
||||
exit_code = test_touch_file(self.emulator)
|
||||
self.assertEqual(exit_code, 0)
|
||||
|
||||
#
|
||||
# Grub
|
||||
#
|
||||
|
||||
class TestIso9660GrubExternal(infra.basetest.BRTest):
|
||||
config = BASIC_CONFIG + \
|
||||
"""
|
||||
BR2_TARGET_ROOTFS_ISO9660=y
|
||||
# BR2_TARGET_ROOTFS_ISO9660_INITRD is not set
|
||||
BR2_TARGET_GRUB=y
|
||||
BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}"
|
||||
""".format(infra.filepath("conf/grub-menu.lst"))
|
||||
|
||||
def test_run(self):
|
||||
exit_code = test_mount_internal_external(self.emulator,
|
||||
self.builddir, internal=False)
|
||||
self.assertEqual(exit_code, 0)
|
||||
|
||||
exit_code = test_touch_file(self.emulator)
|
||||
self.assertEqual(exit_code, 1)
|
||||
|
||||
class TestIso9660GrubInternal(infra.basetest.BRTest):
|
||||
config = BASIC_CONFIG + \
|
||||
"""
|
||||
BR2_TARGET_ROOTFS_ISO9660=y
|
||||
BR2_TARGET_GRUB=y
|
||||
BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}"
|
||||
""".format(infra.filepath("conf/grub-menu.lst"))
|
||||
|
||||
def test_run(self):
|
||||
exit_code = test_mount_internal_external(self.emulator,
|
||||
self.builddir, internal=True)
|
||||
self.assertEqual(exit_code, 0)
|
||||
|
||||
exit_code = test_touch_file(self.emulator)
|
||||
self.assertEqual(exit_code, 0)
|
||||
|
||||
#
|
||||
# Syslinux
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user