From 4fa614477d8dd140be5e9957c9a1cd4fdd732416 Mon Sep 17 00:00:00 2001 From: Matthew Burgess Date: Sun, 14 Aug 2005 15:09:25 +0000 Subject: Add sed to prevent grub's UFS size test being run git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@6685 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/grub.xml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'chapter06') diff --git a/chapter06/grub.xml b/chapter06/grub.xml index 2e4c9a2d2..1e852896a 100644 --- a/chapter06/grub.xml +++ b/chapter06/grub.xml @@ -46,13 +46,14 @@ unset them when building GRUB. make To test the results, issue: -make check. - -Note that the test results will always show the error -ufs2_stage1_5 is too big. This is due to a compiler -issue, but can be ignored unless you plan to boot from an UFS -partition. The partitions are normally only used by Sun -workstations. +sed -i '/ufs2/d' stage2/size_test && +make check. + +The UFS test is known to fail due to a compiler issue. The failure +prevents the rest of the tests from being run, so the sed +command is used to avoid the failure. The UFS test failure can be ignored +unless you plan to boot from a UFS partition. The partitions are normally only +used by Sun workstations. Install the package: -- cgit v1.2.3-54-g00ecf