mirror of
https://github.com/fspc/gbootroot.git
synced 2026-09-17 17:11:38 -04:00
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.
This commit is contained in:
+6
-1
@@ -1538,10 +1538,15 @@ sub create_expect_uml {
|
||||
}
|
||||
|
||||
my $ubd1 = "ubd1=$device";
|
||||
# This works for both forms of gui, but avoids cli.
|
||||
if ( !$option{template} ) {
|
||||
$option{"uml-options"} = $option{"uml-options"} .
|
||||
" mode=" . skas_or_tt();
|
||||
}
|
||||
my $options = "root=/dev/ubd0 " . $option{"uml-options"};
|
||||
my $filesystem;
|
||||
if ( $fs_type eq "genext2fs" ) {
|
||||
$filesystem = "mke2fs -m0";
|
||||
$filesystem = "mke2fs -m0";
|
||||
}
|
||||
else {
|
||||
$filesystem = $main::makefs;
|
||||
|
||||
Reference in New Issue
Block a user