]> git.seodisparate.com - AnotherAURHelper/commitdiff
Add note in README about possible soft-lock
authorStephen Seo <seo.disparate@gmail.com>
Sun, 16 Oct 2022 10:40:37 +0000 (19:40 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sun, 16 Oct 2022 10:40:37 +0000 (19:40 +0900)
README.md

index 07ab9638923e92dbeb0d5f8bc50cd24878d5bf04..c1e93083baf317b18f27e467e669f5e9b4316fb0 100644 (file)
--- 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: