aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGalen Guyer <galen@galenguyer.com>2023-01-14 11:14:24 -0500
committerGalen Guyer <galen@galenguyer.com>2023-01-14 11:14:24 -0500
commit1c1c6f8609aa3af9c7dbd7486360c4187e7f5300 (patch)
tree7cbe6f62ca8f2c8497cdc1f20a68a748fae738f1
parentd144fdc485b7daf4aed738dd557b912cbfbd44d3 (diff)
some packages fail to mention they depend on git..
-rw-r--r--pacman.conf1
-rw-r--r--src/bin/create-chroot.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/pacman.conf b/pacman.conf
index 02dc7c4..8a6f5dd 100644
--- a/pacman.conf
+++ b/pacman.conf
@@ -87,6 +87,7 @@ Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
+
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
diff --git a/src/bin/create-chroot.rs b/src/bin/create-chroot.rs
index 4359a3e..c69f968 100644
--- a/src/bin/create-chroot.rs
+++ b/src/bin/create-chroot.rs
@@ -30,7 +30,7 @@ fn main() {
.arg("-M")
.arg("makepkg.conf")
.arg(format!("{chroot_dir}/root"))
- .args(["base-devel"]);
+ .args(["base", "base-devel", "git"]);
dbg!(&command);
print_status(command.spawn());
}