summaryrefslogtreecommitdiffstats
path: root/recipes-security/bastille/files/Curses-and-IOLoader-changes.patch
diff options
context:
space:
mode:
authormulhern <mulhern@yoctoproject.org>2013-08-25 15:28:48 -0400
committermulhern <mulhern@yoctoproject.org>2013-08-30 15:29:48 -0400
commit7654815dbf81de12493a02063a02c9ee7792b939 (patch)
tree0ae8f615b22558e41203d73ca40d773015d32123 /recipes-security/bastille/files/Curses-and-IOLoader-changes.patch
parent600a74468bf6d2e2f865e7d7c70e68c60c829234 (diff)
downloadmeta-security-7654815dbf81de12493a02063a02c9ee7792b939.tar.gz
Bastille: Preliminary cleanup of existing patches.
[YOCTO #3867] Renames existing patches and removes some changes. Curses-and-IOLoader-changes.patch is renamed to call_output_config.patch. The new patch omits the removal of the pruning step in Load_Questions but retains the replacement of a call to a non-existant function with a call to an appropriate implemented function. yocto-standard-patch.patch is renamed to fixed_defined_warnings.patch. The new patch omits the definition of a yocto distro but includes the defined warnings fix. The recipe file is changed to include the new patches and also to omit a related action in the do_install script. Signed-off-by: mulhern <mulhern@yoctoproject.org>
Diffstat (limited to 'recipes-security/bastille/files/Curses-and-IOLoader-changes.patch')
-rw-r--r--recipes-security/bastille/files/Curses-and-IOLoader-changes.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/recipes-security/bastille/files/Curses-and-IOLoader-changes.patch b/recipes-security/bastille/files/Curses-and-IOLoader-changes.patch
deleted file mode 100644
index dfe0698..0000000
--- a/recipes-security/bastille/files/Curses-and-IOLoader-changes.patch
+++ /dev/null
@@ -1,50 +0,0 @@
1From afa9a32db7f9423b45e0cff898a868de05ad3dee Mon Sep 17 00:00:00 2001
2From: Andrei Dinu <andrei.adrianx.dinu@intel.com>
3Date: Tue, 30 Jul 2013 12:05:39 +0300
4Subject: [PATCH] Curses and IOLoader changes
5
6The linux distribution couldn't be identified when
7running Bastille, and the question pruning method
8couldn't get a match on the questions relevant to
9the repo, so it eliminated all questions.
10
11After answering the questions the checkAndSaveConfig routine
12was called which was missing. Replaced it with outputConfig
13which exists.
14
15Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com>
16---
17 Bastille/IOLoader.pm | 2 +-
18 Bastille_Curses.pm | 3 ++-
19 2 files changed, 3 insertions(+), 2 deletions(-)
20
21diff --git a/Bastille/IOLoader.pm b/Bastille/IOLoader.pm
22index abb94d7..995d2c2 100644
23--- a/Bastille/IOLoader.pm
24+++ b/Bastille/IOLoader.pm
25@@ -68,7 +68,7 @@ sub Load_Questions($) {
26 my $UseRequiresRules = $_[0];
27
28 my ($current_module_number,$first_question) = &parse_questions();
29- $first_question = &prune_questions($UseRequiresRules,$first_question);
30+ #$first_question = &prune_questions($UseRequiresRules,$first_question);
31 $firstQuestion = $first_question;
32 &B_log("DEBUG","Load Questions, first question: $first_question");
33 &validate_questions();
34diff --git a/Bastille_Curses.pm b/Bastille_Curses.pm
35index 2e1eef4..a2dfb34 100644
36--- a/Bastille_Curses.pm
37+++ b/Bastille_Curses.pm
38@@ -84,7 +84,8 @@ sub do_Bastille {
39 }
40
41 # Output answers to the script and display
42- &checkAndSaveConfig(&getGlobal('BFILE', "config"));
43+
44+ &outputConfig
45
46 # Run Bastille
47
48--
491.7.9.5
50