From 8c8fd921dba28ae8fa188a41ce1209b9657a56a9 Mon Sep 17 00:00:00 2001 From: freesource Date: Fri, 3 Jan 2003 19:35:49 +0000 Subject: [PATCH] This adds a new c program skas-or-tt mostly from uml code which automates the recognition of whether or not the host kernel has the skas patch applied. Makefile edits itself, and all gui is automated. --- BootRoot/BootRoot.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BootRoot/BootRoot.pm b/BootRoot/BootRoot.pm index 82b3081..77d76fa 100644 --- a/BootRoot/BootRoot.pm +++ b/BootRoot/BootRoot.pm @@ -2224,8 +2224,11 @@ sub uml_box { } # mtd preparations ############# + # The first argument is important + # to linuxrc, so just append new + # arguments. if ( $entry_advanced[9] !~ m,mode=, ) { - $entry_advanced[9] = "mode=" . skas_or_tt() . " " . $entry_advanced[9]; + $entry_advanced[9] = $entry_advanced[9] . " mode=" . skas_or_tt(); } unless ($pid = fork) {