Skip to content

Commit a8082de

Browse files
Merge #1093
1093: Add note for custom images and arm-unknown-linux-gnueabihf. r=Emilgardis a=Alexhuszagh Co-authored-by: Alex Huszagh <[email protected]>
2 parents 2c9843f + daecce3 commit a8082de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/docker/shared.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ impl DockerOptions {
8686
msg_info: &mut MessageInfo,
8787
) -> Result<String> {
8888
let mut image = self.image.clone();
89+
if self.target.triple() == "arm-unknown-linux-gnueabihf" {
90+
msg_info.note("cannot install armhf system packages via apt for `arm-unknown-linux-gnueabihf`, since they are for ARMv7a targets but this target is ARMv6. installation of all packages for the armhf architecture has been blocked.")?;
91+
}
8992

9093
if let Some(path) = self.config.dockerfile(&self.target)? {
9194
let context = self.config.dockerfile_context(&self.target)?;

0 commit comments

Comments
 (0)