Add note in README about possible soft-lock

This commit is contained in:
Stephen Seo 2022-10-16 19:40:37 +09:00
parent d2d2c8faf3
commit 6921a374f9

View file

@ -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: