fix
This commit is contained in:
parent
76d7118df8
commit
7aecfdd17c
1 changed files with 8 additions and 6 deletions
14
src/main.rs
14
src/main.rs
|
@ -93,12 +93,14 @@ pub fn build(image: &str, ci: bool) {
|
|||
let mut docker_script = vec![
|
||||
"set -e".to_string(),
|
||||
"pacman-key --init".to_string(),
|
||||
"pacman-key --populate archlinux".to_string(),
|
||||
if Architecture::own() == Architecture::aarch64 {
|
||||
"pacman-key --populate archlinux-arm".to_string()
|
||||
} else {
|
||||
String::new()
|
||||
},
|
||||
format!(
|
||||
"pacman-key --populate archlinux{}",
|
||||
if Architecture::own() == Architecture::aarch64 {
|
||||
" && pacman-key --populate archlinux-arm".to_string()
|
||||
} else {
|
||||
String::new()
|
||||
}
|
||||
),
|
||||
"pacman -Syu --noconfirm".to_string(),
|
||||
"pacman -S --noconfirm rsync base-devel".to_string(),
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue