aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/bastille/files/accept_os_flag_in_backend.patch
blob: 4a438e49fbd9d2a6f955301fd2b6102cdd8c6f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Upstream Status: Inappropriate [No upstream maintenance]

Signed-off-by: Anne Mulhern <mulhern@yoctoproject.org>

---

Index: Bastille/BastilleBackEnd
===================================================================
--- Bastille.orig/BastilleBackEnd	2013-08-21 12:40:54.000000000 -0400
+++ Bastille/BastilleBackEnd	2013-08-21 12:43:21.895950001 -0400
@@ -52,11 +52,13 @@
 my $force = 0;
 my $debug = 0;
 my $alternate_config=undef;
+my $os_version=undef;
 
 if( Getopt::Long::GetOptions( "n"     => \$nodisclaim,
                               "v"     => \$verbose,
                               "force" => \$force,
 			      "f=s"   => \$alternate_config,
+                              "os=s"  => \$os_version,
 			      "debug" => \$debug) ) {
     $error = 0; # no parse error
 
@@ -66,7 +68,8 @@
 
 &setOptions(
   debug => $debug,
-  verbose => $verbose);
+  verbose => $verbose,
+  os => $os_version);
 &ConfigureForDistro;
 
 if ( $error ) { # GetOptions couldn't parse all of the args