remove keru.org references
This commit is contained in:
@@ -40,7 +40,7 @@ pick() {
|
|||||||
|
|
||||||
require_network() {
|
require_network() {
|
||||||
ok=0
|
ok=0
|
||||||
for host in 1.1.1.1 github.com mirror.keru.org; do
|
for host in 1.1.1.1 github.com; do
|
||||||
if command -v ping >/dev/null 2>&1 && ping -c1 -W2 "$host" >/dev/null 2>&1; then
|
if command -v ping >/dev/null 2>&1 && ping -c1 -W2 "$host" >/dev/null 2>&1; then
|
||||||
ok=1; break
|
ok=1; break
|
||||||
fi
|
fi
|
||||||
|
|||||||
+2
-2
@@ -51,8 +51,8 @@ LDFLAGS="-s"
|
|||||||
JOBS=$(nproc)
|
JOBS=$(nproc)
|
||||||
MAKEFLAGS="-j$JOBS"
|
MAKEFLAGS="-j$JOBS"
|
||||||
|
|
||||||
# Mirrors for source tarballs
|
# Mirror for source tarballs (unset: fetch straight from upstream)
|
||||||
SOURCE_MIRROR="https://mirror.keru.org/sources"
|
# SOURCE_MIRROR="https://mirror.example.org/sources"
|
||||||
|
|
||||||
# Where the new target root lives on the build host
|
# Where the new target root lives on the build host
|
||||||
ROOT=/tmp/keru/root
|
ROOT=/tmp/keru/root
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<p>At the first installable release (0.1), the network path is straightforward: wired Ethernet via DHCP, or wireless via <code>nmtui</code>, both handled from inside the installer. <a href="network-setup.html">See the network setup flow.</a></p>
|
<p>At the first installable release (0.1), the network path is straightforward: wired Ethernet via DHCP, or wireless via <code>nmtui</code>, both handled from inside the installer. <a href="network-setup.html">See the network setup flow.</a></p>
|
||||||
|
|
||||||
<h3>What "from the network" means</h3>
|
<h3>What "from the network" means</h3>
|
||||||
<p>The installer reaches source tarballs (via a mirror such as <code>mirror.keru.org</code>, with upstream as fallback), pulls recipes from the <a href="kama-repos.html">recipe repository</a>, and builds. The heavy lifting is the compiler on your CPU — which is exactly the point of a source-only, from-scratch distribution.</p>
|
<p>The installer fetches source tarballs (straight from upstream, or via a mirror when <code>SOURCE_MIRROR</code> is set), pulls recipes from the <a href="kama-repos.html">recipe repository</a>, and builds. The heavy lifting is the compiler on your CPU — which is exactly the point of a source-only, from-scratch distribution.</p>
|
||||||
|
|
||||||
<div class="callout">If you want fast and prebaked, a binary distro is right there. If you want <em>your</em> machine — built from source to your exact selection — Keru is the one.</div>
|
<div class="callout">If you want fast and prebaked, a binary distro is right there. If you want <em>your</em> machine — built from source to your exact selection — Keru is the one.</div>
|
||||||
|
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
<p>The live init starts <code>installer/install.sh</code> automatically on the console. If the installer ever exits (say you decline to build), it drops you into an emergency shell rather than stranding you.</p>
|
<p>The live init starts <code>installer/install.sh</code> automatically on the console. If the installer ever exits (say you decline to build), it drops you into an emergency shell rather than stranding you.</p>
|
||||||
|
|
||||||
<h3>1 — Network gate</h3>
|
<h3>1 — Network gate</h3>
|
||||||
<p>Because the ISO carries only the installer, connectivity is checked first. The probe hits a few hosts (<code>1.1.1.1</code>, <code>github.com</code>, <code>mirror.keru.org</code>) with ping; if ping isn't there, it falls back to a TCP connect via <code>nc</code>.</p>
|
<p>Because the ISO carries only the installer, connectivity is checked first. The probe hits a few hosts (<code>1.1.1.1</code>, <code>github.com</code>) with ping; if ping isn't there, it falls back to a TCP connect via <code>nc</code>.</p>
|
||||||
|
|
||||||
<div class="terminal">
|
<div class="terminal">
|
||||||
<div class="tbar"><span class="dot r"></span><span class="dot y"></span><span class="dot g"></span><span class="t">keru@live:~$</span></div>
|
<div class="tbar"><span class="dot r"></span><span class="dot y"></span><span class="dot g"></span><span class="t">keru@live:~$</span></div>
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
<tr><td><code>ROOT</code></td><td><code>/tmp/keru/root</code></td><td>Where installed files land.</td></tr>
|
<tr><td><code>ROOT</code></td><td><code>/tmp/keru/root</code></td><td>Where installed files land.</td></tr>
|
||||||
<tr><td><code>CACHEDIR</code></td><td><code>/var/cache/kama</code></td><td>Base for the dirty working dirs.</td></tr>
|
<tr><td><code>CACHEDIR</code></td><td><code>/var/cache/kama</code></td><td>Base for the dirty working dirs.</td></tr>
|
||||||
<tr><td><code>MAKE_CONF</code></td><td><code>/etc/kama/make.conf</code></td><td>Profile settings (JOBS, CFLAGS, etc.) if present.</td></tr>
|
<tr><td><code>MAKE_CONF</code></td><td><code>/etc/kama/make.conf</code></td><td>Profile settings (JOBS, CFLAGS, etc.) if present.</td></tr>
|
||||||
<tr><td><code>SOURCE_MIRROR</code></td><td>unset</td><td>Mirror tried before upstream (set to e.g. <code>mirror.keru.org</code>).</td></tr>
|
<tr><td><code>SOURCE_MIRROR</code></td><td>unset</td><td>Mirror tried before upstream (set to e.g. <code>mirror.example.org</code>).</td></tr>
|
||||||
<tr><td><code>PURGE_TEMP_DEPS</code></td><td><code>1</code></td><td>Purge temp build deps after <code>kama make</code>.</td></tr>
|
<tr><td><code>PURGE_TEMP_DEPS</code></td><td><code>1</code></td><td>Purge temp build deps after <code>kama make</code>.</td></tr>
|
||||||
<tr><td><code>JOBS</code></td><td><code>nproc</code></td><td>Parallel build jobs; recipes call <code>make -j"$JOBS"</code>.</td></tr>
|
<tr><td><code>JOBS</code></td><td><code>nproc</code></td><td>Parallel build jobs; recipes call <code>make -j"$JOBS"</code>.</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
+1
-1
@@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
<h3>Fetch details</h3>
|
<h3>Fetch details</h3>
|
||||||
<ul class="features">
|
<ul class="features">
|
||||||
<li><strong>Mirror first.</strong> Downloads try <code>SOURCE_MIRROR</code> before upstream, so the org mirror (e.g. mirror.keru.org) can carry the load.</li>
|
<li><strong>Mirror first.</strong> Downloads try <code>SOURCE_MIRROR</code> before upstream, so a mirror you run can carry the load.</li>
|
||||||
<li><strong>Cached.</strong> Already-downloaded source is reused; already-extracted source isn't re-extracted.</li>
|
<li><strong>Cached.</strong> Already-downloaded source is reused; already-extracted source isn't re-extracted.</li>
|
||||||
<li><strong>Auto-extract.</strong> Tar (gz/xz/bz2/plain) and zip are handled automatically by extension.</li>
|
<li><strong>Auto-extract.</strong> Tar (gz/xz/bz2/plain) and zip are handled automatically by extension.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
+2
-2
@@ -57,8 +57,8 @@ LDFLAGS="-s"
|
|||||||
JOBS=$(nproc)
|
JOBS=$(nproc)
|
||||||
MAKEFLAGS="-j$JOBS"
|
MAKEFLAGS="-j$JOBS"
|
||||||
|
|
||||||
# Mirrors for source tarballs
|
# Mirror for source tarballs (unset: fetch straight from upstream)
|
||||||
SOURCE_MIRROR="https://mirror.keru.org/sources"
|
# SOURCE_MIRROR="https://mirror.example.org/sources"
|
||||||
|
|
||||||
# Where the new target root lives on the build host
|
# Where the new target root lives on the build host
|
||||||
ROOT=/tmp/keru/root
|
ROOT=/tmp/keru/root
|
||||||
|
|||||||
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<h3>Download order</h3>
|
<h3>Download order</h3>
|
||||||
<ul class="features">
|
<ul class="features">
|
||||||
<li><strong>1. <code>SOURCE_MIRROR</code></strong> — tried first when set (the org runs <code>mirror.keru.org</code> so the org can carry most of the traffic).</li>
|
<li><strong>1. <code>SOURCE_MIRROR</code></strong> — tried first when set; run a mirror of source tarballs and point it here.</li>
|
||||||
<li><strong>2. Upstream</strong> — the canonical source URL from the recipe. Used when no mirror is set or the mirror lacks a file.</li>
|
<li><strong>2. Upstream</strong> — the canonical source URL from the recipe. Used when no mirror is set or the mirror lacks a file.</li>
|
||||||
<li><strong>Verification at every step.</strong> A file that doesn't match its checksum is dropped, and the next source in line is tried. Tampered files never reach a build.</li>
|
<li><strong>Verification at every step.</strong> A file that doesn't match its checksum is dropped, and the next source in line is tried. Tampered files never reach a build.</li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
|
|
||||||
<h3>Working offline, or your own mirror</h3>
|
<h3>Working offline, or your own mirror</h3>
|
||||||
<div class="code-block"># warm the cache once, then build with the network down
|
<div class="code-block"># warm the cache once, then build with the network down
|
||||||
SOURCE_MIRROR=mirror.keru.org kama fetch busybox
|
SOURCE_MIRROR=https://mirror.example.org kama fetch busybox
|
||||||
...
|
...
|
||||||
CACHEDIR=/var/cache/kama kama make busybox # no network needed</div>
|
CACHEDIR=/var/cache/kama kama make busybox # no network needed</div>
|
||||||
<p>Run a mirror yourself and point <code>SOURCE_MIRROR</code> at it. The layout mirrors <code>dl/</code>; the fetch layer treats it as a read-mostly source of truth.</p>
|
<p>Run a mirror yourself and point <code>SOURCE_MIRROR</code> at it. The layout mirrors <code>dl/</code>; the fetch layer treats it as a read-mostly source of truth.</p>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
<h3>The flow, exactly</h3>
|
<h3>The flow, exactly</h3>
|
||||||
<ol>
|
<ol>
|
||||||
<li><strong>Probe.</strong> The installer checks connectivity against several hosts (<code>1.1.1.1</code>, <code>github.com</code>, <code>mirror.keru.org</code>) using <code>ping</code>, falling back to a TCP connect via <code>nc</code> if needed.</li>
|
<li><strong>Probe.</strong> The installer checks connectivity against several hosts (<code>1.1.1.1</code>, <code>github.com</code>) using <code>ping</code>, falling back to a TCP connect via <code>nc</code> if needed.</li>
|
||||||
<li><strong>If connected:</strong> a simple <code>[ keru ] network: connected</code> and it moves straight to crafting your system.</li>
|
<li><strong>If connected:</strong> a simple <code>[ keru ] network: connected</code> and it moves straight to crafting your system.</li>
|
||||||
<li><strong>If not connected:</strong> you're told, and asked — <code>Connect to the network now (runs nmtui)? [Y/n]</code>.</li>
|
<li><strong>If not connected:</strong> you're told, and asked — <code>Connect to the network now (runs nmtui)? [Y/n]</code>.</li>
|
||||||
<li><strong>Say yes:</strong> <code>nmtui</code> opens. Connect to your network, press okay.</li>
|
<li><strong>Say yes:</strong> <code>nmtui</code> opens. Connect to your network, press okay.</li>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
<ul class="features">
|
<ul class="features">
|
||||||
<li><strong>Installer says offline.</strong> It probes a few hosts (<code>1.1.1.1</code>, <code>github.com</code>, the project mirror) and loops: it will offer to run <code>nmtui</code>, then re-check. Let it.</li>
|
<li><strong>Installer says offline.</strong> It probes a few hosts (<code>1.1.1.1</code>, <code>github.com</code>, the project mirror) and loops: it will offer to run <code>nmtui</code>, then re-check. Let it.</li>
|
||||||
<li><strong>DHCP won't bite.</strong> Use <code>nmtui</code> and set a static address. The installer doesn't care how the link comes up, only that it does.</li>
|
<li><strong>DHCP won't bite.</strong> Use <code>nmtui</code> and set a static address. The installer doesn't care how the link comes up, only that it does.</li>
|
||||||
<li><strong>Slow fetch.</strong> The org mirror <code>mirror.keru.org</code> is tried first; upstream is the fallback. A broken mirror yields timeouts — check <code>SOURCE_MIRROR</code>.</li>
|
<li><strong>Slow fetch.</strong> When <code>SOURCE_MIRROR</code> is set it's tried first; upstream is the fallback. A broken mirror yields timeouts — fix or unset <code>SOURCE_MIRROR</code>.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>Fetch</h3>
|
<h3>Fetch</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user