]> git.seodisparate.com - AnotherAURHelper/commitdiff
Update setup_lxc.md
authorStephen Seo <seo.disparate@gmail.com>
Thu, 6 Mar 2025 03:04:14 +0000 (12:04 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Thu, 6 Mar 2025 03:06:49 +0000 (12:06 +0900)
docs/setup_lxc.md

index 8dc77426b471ce7758b15ea43ee17fbcbd19ec73..15478ba4fe28a0fce043687784031af187d436c8 100644 (file)
@@ -73,9 +73,9 @@ container and update.
 
 <div class="codehilite"><pre><code><span class="lxc">$ pacman -Syu</span></code></pre></div>
 
-`base-devel`, `devtools`, `python-toml`, and `ccache` is required.
+`base-devel`, `devtools`, `python-toml`, `ccache`, and `sqlite` is required.
 
-<div class="codehilite"><pre><code><span class="lxc">$ pacman -S base-devel devtools python-toml ccache</span></code></pre></div>
+<div class="codehilite"><pre><code><span class="lxc">$ pacman -S base-devel devtools python-toml ccache sqlite</span></code></pre></div>
 
 You may need to grab an editor like `vim`, `emacs`, or `nano`.
 
@@ -350,6 +350,8 @@ Your config should look like the following:
     tmpfs = false
     # If true, only packages to be built will be printed when USR1 is signaled.
     print_state_info_only_building_sigusr1 = true
+    # The path to the persistent state.
+    persistent_state_db = "/home/build/aur_helper_state.db"
     ########## END OF MANDATORY VARIABLES
 
 !!! note
@@ -361,6 +363,12 @@ Your config should look like the following:
     used. You can use `GNUPGHOME=/home/build/signing_gpg gpg -K` to get your
     signing key's fingerprint to put in here.
 
+!!! note
+    The `persistent_state_db = ...` option ensures that the per-package-option
+    `hash_compare_PKGBUILD` doesn't skip a PKGBUILD that hasn't been explicitly
+    trusted. Also note this is a fairly new feature that may still be only in
+    the dev branch of AnotherAURHelper's repository.
+
 Create some necessary directories.
 
 <div class="codehilite"><pre><code><span class="lxc">$ mkdir -p aur_pkgs