UNTRUSTED signature

This commit is contained in:
dtb 2022-11-24 20:18:41 -05:00
parent dba848a3e9
commit 9c44119441
2 changed files with 14 additions and 4 deletions

View File

@ -6,12 +6,20 @@ Its main purpose is to serve as a server distribution, however many have found u
_bibliography(`
_bentr(`<A HREF="https://pkgs.alpinelinux.org/contents">Alpine repositories content search</A>')
')
<H5>Bootstrapping</H5>
_subheader(`_code(`WARNING: Ignoring [_italic(`path')]: UNTRUSTED signature')')
_bibliography(`
_bentr(_link(`ERROR: http://dl-4.alpinelinux.org/alpine/edge/testing: UNTRUSTED signature', `https://stackoverflow.com/questions/73374745/error-http-dl-4-alpinelinux-org-alpine-edge-testing-untrusted-signature')')
')
<P>
If you are absolutely sure what you're doing is fine, _command(`apk [_italic(`command')] _em(`--allow-untrusted')').
This ignores the error and allows the operation to proceed.
</P>
_subheader(`Bootstrapping')
<P>
Alpine's bootstrapping procedure is quite manual; you should probably use _program(`setup-alpine').
However, it is possible and quite easy to perform the steps manually.
</P>
<UL>
<OL>
<LI>Copy over the contents of _file(`/etc/apk/keys') to _file(`/mnt/etc/apk/keys')</LI>
<LI>
Add newline-delimited mirrors to _file(`/mnt/etc/apk/repositories'), such as these if you wish to use the _code(`edge') branch:
@ -26,7 +34,7 @@ _code(`edge') may be replaced with a stable branch, the latest being _code(`v3.1
Run _command(`apk --root /mnt add --initdb alpine-base').
This is an ordinary _man(`apk-add(8)') call; you may wish to install necessities such as a kernel, firmware, and a bootloader at the same time.
</LI>
</UL>
</OL>
<P>
Alpine does not have a _man(`chroot(1)') helper; you must manually do that with a one-liner such as
_code(`for i in dev proc sys; do mount -o bind "/$i" "/mnt/$i"; done; cp /etc/resolv.conf /mnt/etc/resolv.conf')
@ -35,7 +43,8 @@ which you can chroot into.
<P>
After chrooting in, you must configure basics such as users, passwords, _man(`fstab(5)'), and the bootloader yourself.
</P>
<H5>Always install manual pages</H5>
_subheader(`Always install manual pages')
<P>
Alpine doesn't include man pages in program packages to save on space, instead keeping them in _code(`[<I>package</I>]-doc') sibling packages.
To always install doc packages with program packages, _code(`apk add docs').

View File

@ -6,6 +6,7 @@ define(`_bibliography_entry', `<LI>$1</LI>')dnl
define(`_bentr', `_bibliography_entry($1)')dnl
define(`_cite', `<CITE>$1</CITE>')dnl
define(`_code', `<CODE>$1</CODE>')dnl
define(`_em', `<EM>$1</EM>')dnl
define(`_header', `define(`_CURRENT_HEADER', $1)<H2 ID="_lowercase($1)">$1</H2>')dnl
define(`_italic', `<I>$1</I>')dnl
define(`_link', `<A HREF="$2">$1</A>')dnl