From 6921a374f9cea1d6ebdd7aca506bcceecab5ecb4 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Sun, 16 Oct 2022 19:40:37 +0900 Subject: [PATCH] Add note in README about possible soft-lock --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index 07ab963..c1e9308 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,26 @@ works for me. It always builds in a CHROOT, and it lets the user check the PKGBUILD (by default) prior to building. There is no automatic dependency management. That must be done in the config. An example config is provided. +# Things to know before using the helper + +Sometimes if a package prompts a user to select between alternate package +dependencies, makechrootpkg will fail to select one by default (it will +constantly output "y" to stdin when a selection requires an integer). This means +you will need to check the logs as it is building a package to make sure this +kind of soft-lock doesn't happen. Use `tail -f LOG_FILE.log` for example. If +such a soft-lock happens, Ctrl-C the helper, and explicitly set a dependency in +the TOML config file in a "other\_deps" array for the package like so: + + [[entry]] + name = "sway-git" + aur_deps = [ + "wlroots-git", + "swaybg-git" + ] + other_deps = [ + "mesa" + ] + # Setting up the AUR Helper The AUR Helper requires several things: