aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2017-08-11 18:05:08 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 20:29:37 +0200
commit144dc9ca8007cb4390bd9ba3e8b018d7fd92be2c (patch)
tree649a9115083de7ec03cb01e016942b151be1031f /support
parent54a76f08fc2101e97dd66529afccef6b2c7a71ab (diff)
downloadbuildroot-144dc9ca8007cb4390bd9ba3e8b018d7fd92be2c.tar.gz
buildroot-144dc9ca8007cb4390bd9ba3e8b018d7fd92be2c.tar.bz2
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>
Diffstat (limited to 'support')
-rw-r--r--support/testing/conf/grub-menu.lst20
-rw-r--r--support/testing/tests/fs/test_iso9660.py37
2 files changed, 0 insertions, 57 deletions
diff --git a/support/testing/conf/grub-menu.lst b/support/testing/conf/grub-menu.lst
deleted file mode 100644
index 6143d80891..0000000000
--- a/support/testing/conf/grub-menu.lst
+++ /dev/null
@@ -1,20 +0,0 @@
-default 0
-timeout 1
-
-# Used when no splashimage is used
-color cyan/blue white/blue
-
-# Gets enabled/disabled depending on Grub support for splashimage
-splashimage /boot/grub/splash.xpm.gz
-
-# Used when a splashimage is enabled
-foreground 000000
-background cccccc
-
-title Buildroot ISO9660 image
-kernel __KERNEL_PATH__ root=/dev/sr0 console=ttyS0,115200
-initrd __INITRD_PATH__
-
-title Hard Drive (first partition)
-rootnoverify (hd0)
-chainloader +1
diff --git a/support/testing/tests/fs/test_iso9660.py b/support/testing/tests/fs/test_iso9660.py
index eec6e89d69..e804808c96 100644
--- a/support/testing/tests/fs/test_iso9660.py
+++ b/support/testing/tests/fs/test_iso9660.py
@@ -85,43 +85,6 @@ BR2_TARGET_ROOTFS_ISO9660_BOOT_MENU="{}"
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
#