summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/mongodb-4.4.8-no-compass.patch
blob: 0755705ed55f644c1eed2d0f9da5e5f311f205be (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
diff --git a/src/mongo/SConscript b/src/mongo/SConscript
index 62fbfc02..5be336f7 100644
--- a/src/mongo/SConscript
+++ b/src/mongo/SConscript
@@ -841,30 +841,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_script = "install_compass"
-if env.TargetOSIs('windows'):
-    compass_script = "Install-Compass.ps1"
-
-compass_installer = f"$BUILD_DIR/mongo/installer/compass/{compass_script}"
-
-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}',
@@ -878,7 +854,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:])}'
             ],
         ),