We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--prepared-only
1 parent 9829b76 commit 91b56e4Copy full SHA for 91b56e4
src/bootstrap/src/utils/tarball.rs
@@ -3,8 +3,8 @@ use std::{
3
process::Command,
4
};
5
6
-use crate::core::build_steps::dist::distdir;
7
use crate::core::builder::Builder;
+use crate::core::{build_steps::dist::distdir, builder::Kind};
8
use crate::utils::channel;
9
use crate::utils::helpers::t;
10
@@ -239,6 +239,11 @@ impl<'a> Tarball<'a> {
239
.arg(&this.image_dir)
240
.arg(format!("--component-name={}", &component_name));
241
242
+ if this.builder.kind == Kind::Install {
243
+ // We don't want archiving and compression for `x install`
244
+ cmd.arg("--prepare-only");
245
+ }
246
+
247
if let Some((dir, dirs)) = this.bulk_dirs.split_first() {
248
let mut arg = dir.as_os_str().to_os_string();
249
for dir in dirs {
0 commit comments