summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/mongodb-4.4.1-no-compass.patch
blob: 15a7f9534bcf815b1bdc4d46f2f712013c0f401d (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
index 8acf5469..737c31d4 100644
--- a/src/mongo/SConscript
+++ b/src/mongo/SConscript
@@ -834,43 +834,6 @@ for full_dir, archive_dir in list(env["ARCHIVE_ADDITION_DIR_MAP"].items()):
 for target in env["DIST_BINARIES"]:
     installBinary(env, "db/modules/" + target)
 
-compass_type = 'compass'
-
-compass_script = "install_compass.in"
-if env.TargetOSIs('windows'):
-    compass_script = "Install-Compass.ps1.in"
-
-compass_python_interpreter = '/usr/bin/env python2'
-if env.TargetOSIs('darwin'):
-    compass_python_interpreter = '/usr/bin/env python'
-
-compass_installer = env.Substfile(
-  target="$BUILD_DIR/mongo/installer/compass/" + compass_script[:-3],
-  source='installer/compass/' + compass_script,
-  SUBST_DICT=[
-    ('@compass_type@', compass_type),
-    ('@python_interpreter@', compass_python_interpreter),
-  ],
-)
-
-distBinaries.append(compass_installer)
-
-if not hygienic:
-    compass_script_installer = env.Install("$DESTDIR/bin", compass_installer)
-else:
-    compass_script_installer = env.AutoInstall(
-        target='$PREFIX_BINDIR',
-        source=[
-            compass_installer,
-        ],
-        AIB_COMPONENT='dist',
-        AIB_ROLE='runtime',
-    )
-
-if env.TargetOSIs('posix'):
-    env.AddPostAction( compass_script_installer, 'chmod 755 $TARGET' )
-    env.AddPostAction( compass_installer, 'chmod 755 $TARGET' )
-
 if not hygienic:
     server_archive = env.Command(
         target='#/${SERVER_ARCHIVE}',
@@ -884,7 +847,6 @@ if not hygienic:
                 '--transform $BUILD_DIR/mongo/stripped/db/modules/enterprise=$SERVER_DIST_BASENAME/bin',
                 '--transform $BUILD_DIR/mongo/stripped=$SERVER_DIST_BASENAME/bin',
                 '--transform $BUILD_DIR/mongo=$SERVER_DIST_BASENAME/bin',
-                '--transform src/mongo/installer/compass=$SERVER_DIST_BASENAME/bin',
                 '${TEMPFILE(SOURCES[1:])}'
             ],
         ),