]> git.seodisparate.com - AnotherAURHelper/commitdiff
Minor additions, notes
authorStephen Seo <seo.disparate@gmail.com>
Tue, 4 Mar 2025 11:37:12 +0000 (20:37 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 4 Mar 2025 11:37:12 +0000 (20:37 +0900)
docs/setup_lxc.md

index 4b9fb7463bce9d4d48b268103be02b6f521be274..da0d23b2f78a533fa580770afd10626e73ea8018 100644 (file)
@@ -169,6 +169,11 @@ $ mkarchroot /home/build/chroot/root base base-devel cmake ninja</span></code></
     You may have to change [locale settings as in the installation guide on the
     ArchWiki](https://wiki.archlinux.org/title/Installation_guide#Localization).
 
+!!! note
+    You are able to run commands in the CHROOT:  
+    <div class="codehilite"><pre><code><span class="lxc">$ arch-nspawn /home/build/chroot/root pacman -S cmake</span></code></pre></div>  
+    You may do this to also set proper locale information in the CHROOT.
+
 ## Set up GnuPG for Signature Verifcation and Package Signing
 
 ### Checking GnuPG
@@ -186,7 +191,7 @@ directory, but otherwise the fingerprint can be used to fetch it directly.
 
 <div class="codehilite"><pre><code><span class="c"># Load key from file</span>
 <span class="lxc">$ GNUPGHOME=/home/build/checking_gpg gpg --import < the_pub_key_file.pub</span>
-<span class="c"># Load key via fingerprint</span>
+<span class="c"># Fetch key via fingerprint from a keyserver</span>
 <span class="lxc">$ GNUPGHOME=/home/build/checking_gpg gpg --recv-keys A_DEV_KEYS_FINGERPRINT</span></code></pre></div>
 
 ### Signing GnuPG
@@ -210,6 +215,11 @@ Also, be prepared to set up a password for this key.
     database. (We will cover revoking old keys when necessary, package
     signatures, and the package database later.)
 
+!!! note
+    It may be beneficial to use a long password for this key instead of a short
+    memorable one, as a malicious PKGBUILD might attempt to access it if the
+    PKGBUILD hasn't been properly vetted first.
+
 Follow the following to generate a GnuPG key for signatures only.
 
 <div class="codehilite"><pre><code><span class="lxc">$ mkdir /home/build/signing_gpg