From ec7e9e3183492bcd18d06c02b90930f6a837c6b5 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 27 Jul 2020 01:21:06 +0300 Subject: site update --- .gitmodules | 3 + build | 195 ++++++++----------- docs/404.html | 45 +++-- docs/blog/20200128.html | 45 +++-- docs/blog/20200406.html | 45 +++-- docs/blog/20200410.html | 45 +++-- docs/blog/20200508.html | 45 +++-- docs/blog/20200528.html | 45 +++-- docs/blog/20200617.html | 45 +++-- docs/blog/index.html | 45 +++-- docs/contributing.html | 45 +++-- docs/docs/README | 19 ++ docs/docs/install.html | 503 ++++++++++++++++++++++++++++++++++++++++++++++++ docs/docs/install.txt | 475 +++++++++++++++++++++++++++++++++++++++++++++ docs/index.html | 63 +++--- docs/index.txt | 22 +-- docs/mailing-lists.html | 45 +++-- docs/news.html | 52 +++-- docs/news.txt | 7 + docs/news.xml | 26 ++- docs/people.html | 45 +++-- docs/rss.xml | 14 +- index/20191210.news | 3 + index/20191212.news | 3 + index/20191215.news | 3 + index/20191217.news | 3 + index/20191218.news | 3 + index/20200109.news | 3 + index/20200110.news | 3 + index/20200113.news | 3 + index/20200115.news | 3 + index/20200122.news | 3 + index/20200128.news | 3 + index/20200213.news | 3 + index/20200214.news | 3 + index/20200218.news | 3 + index/20200405.news | 3 + index/20200406.news | 3 + index/20200410.news | 3 + index/20200427.news | 3 + index/20200510.news | 3 + index/20200519.news | 3 + index/20200526.news | 3 + index/20200617.news | 3 + index/20200727.news | 7 + index/index.md | 6 +- pull-wiki | 8 - src/docs | 1 + src/index.md | 22 +-- src/news.md | 7 + src/news.xml | 26 ++- src/rss.xml | 14 +- templates/blog-index | 8 + templates/rss.xml | 15 ++ templates/template.html | 27 +++ 55 files changed, 1621 insertions(+), 460 deletions(-) create mode 100644 .gitmodules create mode 100644 docs/docs/README create mode 100644 docs/docs/install.html create mode 100644 docs/docs/install.txt create mode 100644 index/20200727.news delete mode 100755 pull-wiki create mode 160000 src/docs create mode 100644 templates/blog-index create mode 100644 templates/rss.xml create mode 100644 templates/template.html diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..dcfcee7 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "src/docs"] + path = src/docs + url = https://github.com/carbslinux/docs.git diff --git a/build b/build index 04fad81..05b2322 100755 --- a/build +++ b/build @@ -1,137 +1,96 @@ #!/bin/sh -e -header() { - cat < - - -$1 | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
-EOF -} +ROOT=$PWD -footer() { - [ -z "$1" ] || printf 'View Page Source' "$1" - cat < - - - - -EOF +txt2html() { + printf '
\n'
+
+    # Convert [0-9] to links
+    sed -E 's|(.*[a-z].*)\[([0-9].*)\]|\1[\2]|g' "$1" |
+
+    # Add span id to sections
+    sed -E 's|^\[([0-9].*)\]|[\1]|' |
+
+    # Make links clickable
+    sed -E "s|(http[s]?://[^[:space:]\)]*)|\1|g"
+
+    printf '
\n' } gettitle() { - case "$(sed 1q "$1")" in - Title:*) sed 's/^[Tt]itle: //;1q' "$1" ;; - *) - title=$( - grep -n '=*=' -- "$1" | - - while IFS=: read -r num _; do - sed "$(( num - 1 ))q;d" "$1" - return 0 - done - ) - - file=${1##*/} file=${file%.md} - printf '%s\n' "${title:-$file}" - esac + unset title + case "$(sed -n 2p "$1")" in =*=|-*-) title="$(sed -n 1p "$1")"; esac + file=${1##*/} file=${file%.*} + printf '%s\n' "${title:-$file}${2:+ | Carbs Linux}" } -genpages() { - # Create directories in docs - find src -type d | while read -r dir ; do mkdir -p "docs${dir#src}" ; done - # Generate html and txt files - for page in $(cd src || return 1 ; find . \( -name '*.md' -o -name '*.txt' \) ) ; do - tohtml "src/$page" > "docs/${page%.*}.html" - sed '/^Title:/d' "src/$page" > "docs/${page%.*}.txt" +genpages() ( + cd src || return 1 + find . ! -name .git | while read -r file; do + + # If this is a directory, create the directory on the destination and + # return. + [ -d "$file" ] && { + mkdir -p "../docs/${file#./}" + continue + } + + # We are treating markdown/plaintext files differently. + case "$file" in + *.md|*.txt) + tohtml "$file" > "../docs/${file%.*}.html" + cp "$file" "../docs/${file%.*}.txt" + ;; + + # If this is not a markdown/txt file copy as-is. + *) cp "$file" "../docs/$file" + esac done - # Copy rest of the files - (cd src || return 1 ; find . -type f ! -name '*.md' -exec cp -u \{\} ../docs/\{\} \; ) - -} +) tohtml() { - header "$(gettitle "$1")" + srcfile=${1#.} srcfile=${srcfile%.*}.txt case "${1##*.}" in - md) sed '/^[Tt]itle:/d' "$1" | markdown ;; - txt) printf '
'; cat "$1"; printf '
' ;; - esac - srcfile=${1#src/.} srcfile=${srcfile%.*}.txt - footer "$srcfile" -} + md) markdown "$1" ;; + txt) txt2html "$1" ;; + esac | -wiki_index() { - cat templates/wiki-index > src/wiki/index.md - for page in $(find src/wiki -type f | grep -v 'src/wiki/index.md' | sort) ; do - printf '* [%s](%s)\n' "$(gettitle "$page")" "$(printf "$page" | sed 's#src/wiki/##;s/.md/.html/')" >> src/wiki/index.md - done -} + sed '/{{ CONTENT }}/r /dev/stdin' "$ROOT/templates/template.html" | -blog_index() { - cat < src/blog/index.md -Blog Index -================================================================================ + sed "s#{{ TITLE }}#$(gettitle "$1" html)#" | -This is the Carbs Linux Blog Index. You can find every post here. [RSS Feed] + sed '/{{ CONTENT }}/d' | -[RSS Feed]: /rss.xml + sed "s|{{ SRC }}|$srcfile|" +} -EOF +blog_index() { + cat templates/blog-index > src/blog/index.md find src/blog -type f ! -name index.md | sort -r | while read -r post ; do postdate="${post##*/}"; postdate="${postdate%%.*}" - printf '* %s - [%s](%s)\n' "$(date --date="$postdate" +%b\ %d\ %Y)" "$(gettitle "$post")" "$(printf "$post" | sed 's#src/blog/##;s/.md/.html/')" >> src/blog/index.md - done + printf '* %s - [%s](%s)\n' \ + "$(date --date="$postdate" +%b\ %d\ %Y)" \ + "$(gettitle "$post")" \ + "$(printf "$post" | sed 's#src/blog/##;s/.md/.html/')" + done >> src/blog/index.md } site_index() { cp index/index.md src/index.md :> src/news.md - # find index -name '*.news' | sort -r | sed 3q | while read -r news ; do - # shellcheck disable=2046 - set -- $(find index -name '*.news' | sort -r) - for news in "$1" "$2" "$3" "$4" "$5" ; do - newsdate="${news##*/}" ; newsdate="${newsdate%.news}" - printf '\n### %s\n\n' "$(date --date="$newsdate" +%b\ %d\ %Y)" >> src/index.md - cat "$news" >> src/index.md - done - for news; do - newsdate="${news##*/}" ; newsdate="${newsdate%.news}" - printf '\n%s\n-----------\n\n' "$(date --date="$newsdate" +%b\ %d\ %Y)" >> src/news.md + i=0 + find index -name '*.news' | sort -r | while read -r news; do + [ "$(( i += 1 ))" -lt 6 ] && { + printf '\n' + cat "$news" + } >> src/index.md + [ "$i" -eq 1 ] || printf '\n' >> src/news.md cat "$news" >> src/news.md done } genrss() { - cat < - - -Carbs Linux -a simple busybox linux distribution -https://carbslinux.org - -$(date -u +%b\ %a\ %Y\ %H):00 -EOF find "$1" -type f ! -name index.md | sort -r | while read -r post ; do postdate="${post##*/}" ; postdate="${postdate%.*}" cat <$(date --date="$postdate" +%a,\ %d\ %b\ %Y) Cem Keylan https://carbslinux.org/${3:-blog/$(printf "${post##*/}" | sed 's/.md/.html/')} -$(grep -v '^Title:' "$post" | markdown -f cdata) +$(grep -v '^Title: ' "$post" | markdown -f cdata) EOF - done -cat < - -EOF + done | + + sed '/{{ CONTENT }}/r /dev/stdin' "$ROOT/templates/rss.xml" | + + sed '/{{ CONTENT }}/d' | + + sed "s|{{ SRC }}|${2:-rss}.xml|" | + + sed "s|{{ DATE }}|$(date -u "+%a %b %d %Y %H:00")|" } main() { - # Create docs directory if it doesn't exist - mkdir -p docs - - # Remove all html, txt, and rss files - find docs \( -name '*.html' -o -name '*.txt' -o -name '*.xml' \) -delete + # Recreate docs directory + rm -rf docs; mkdir -p docs # Generate the indexes for blog and the wiki - site_index; wiki_index; blog_index + site_index; blog_index # Generate rss feeds - genrss index news index.html > docs/news.xml ; genrss src/blog > docs/rss.xml + genrss index news index.html > src/news.xml + genrss src/blog > src/rss.xml # Generate pages genpages diff --git a/docs/404.html b/docs/404.html index fa8e64d..52e291c 100644 --- a/docs/404.html +++ b/docs/404.html @@ -1,26 +1,29 @@ - - -404 | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + 404 | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

404

Requested page not found.

-View Page Source
- - - + View Page Source +
+ + + diff --git a/docs/blog/20200128.html b/docs/blog/20200128.html index aa5a708..8a30c56 100644 --- a/docs/blog/20200128.html +++ b/docs/blog/20200128.html @@ -1,21 +1,23 @@ - - -Switching to New Website | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + Switching to New Website | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

Switching to New Website

Date: Jan 28 2020

@@ -36,8 +38,9 @@ the site with a combination of mk (instead of make), rc, and POSIX sh. I am not yet exactly familiar with rc, but I will replace the shell scripts when I feel like I can.

-View Page Source
- - - + View Page Source +
+ + + diff --git a/docs/blog/20200406.html b/docs/blog/20200406.html index d8d0952..ba77659 100644 --- a/docs/blog/20200406.html +++ b/docs/blog/20200406.html @@ -1,21 +1,23 @@ - - -Roadmap for Carbs | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + Roadmap for Carbs | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

Roadmap for Carbs

It has been a busy week. There are lots of changes in @@ -76,8 +78,9 @@ manager. The now empty repository, can be found View Page Source

- - - + View Page Source +
+ + + diff --git a/docs/blog/20200410.html b/docs/blog/20200410.html index 0125687..b7c07ac 100644 --- a/docs/blog/20200410.html +++ b/docs/blog/20200410.html @@ -1,21 +1,23 @@ - - -Outsource Repository Concept | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + Outsource Repository Concept | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

Outsource Repository Concept

In April 3rd, I have added submodule support for Carbs @@ -39,8 +41,9 @@ Firefox and its dependencies have been purged from the main repository, but can be found on it.

https://github.com/CarbsLinux/outsource

-View Page Source
- - - + View Page Source +
+ + + diff --git a/docs/blog/20200508.html b/docs/blog/20200508.html index 49da3e3..fe8e624 100644 --- a/docs/blog/20200508.html +++ b/docs/blog/20200508.html @@ -1,21 +1,23 @@ - - -The Relation of Carbs and KISS | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + The Relation of Carbs and KISS | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

The Relation of Carbs and KISS

Date: May 08 2020

@@ -135,8 +137,9 @@ to thoroughly give an explanation.

Cheers, Cem

-View Page Source
- - - + View Page Source +
+ + + diff --git a/docs/blog/20200528.html b/docs/blog/20200528.html index 2abe18d..11ca8ba 100644 --- a/docs/blog/20200528.html +++ b/docs/blog/20200528.html @@ -1,21 +1,23 @@ - - -kiss 2.0.0 and overall changes | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + kiss 2.0.0 and overall changes | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

kiss 2.0.0 and overall changes

Carbs Linux kiss version 2.0.0 has been released which introduces @@ -59,8 +61,9 @@ by others interested on the matter as well.

Cheers, Cem

-View Page Source
- - - + View Page Source +
+ + + diff --git a/docs/blog/20200617.html b/docs/blog/20200617.html index d4de442..69fd722 100644 --- a/docs/blog/20200617.html +++ b/docs/blog/20200617.html @@ -1,21 +1,23 @@ - - -June Newspost | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + June Newspost | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

June Newspost

This will be an active month for Carbs as major changes to the base and the @@ -93,8 +95,9 @@ little outdated which will also receive some important updates.

I am thinking of releasing an ISO image in order to provide a standardized environment for installation along with installation helper tools in the spirit of arch-install-scripts. Let’s see how that’s going to play out.

-View Page Source
- - - + View Page Source +
+ + + diff --git a/docs/blog/index.html b/docs/blog/index.html index dfba995..75ea51b 100644 --- a/docs/blog/index.html +++ b/docs/blog/index.html @@ -1,21 +1,23 @@ - - -Blog Index | Carbs Linux - - - - - -

Carbs Linux - a simple busybox linux distribution

-
+ + + Blog Index | Carbs Linux + + + + + + +

Carbs Linux - a simple linux distribution

+

Blog Index

This is the Carbs Linux Blog Index. You can find every post here. RSS Feed

@@ -29,8 +31,9 @@
  • Jan 28 2020 - Switching to New Website
  • -View Page Source
    - - - + View Page Source +
    + + + diff --git a/docs/contributing.html b/docs/contributing.html index 90ea5ee..27d2da0 100644 --- a/docs/contributing.html +++ b/docs/contributing.html @@ -1,21 +1,23 @@ - - -Contribute to the Carbs Linux Project | Carbs Linux - - - - - -

    Carbs Linux - a simple busybox linux distribution

    -
    + + + Contribute to the Carbs Linux Project | Carbs Linux + + + + + + +

    Carbs Linux - a simple linux distribution

    +

    Contribute to the Carbs Linux Project

    This is a small project made possible by volunteers. There are @@ -27,8 +29,9 @@ ways you can help this project stay alive.

  • Contribute to the wiki
  • -View Page Source
    - - - + View Page Source +
    + + + diff --git a/docs/docs/README b/docs/docs/README new file mode 100644 index 0000000..68ca07d --- /dev/null +++ b/docs/docs/README @@ -0,0 +1,19 @@ +CARBS LINUX DOCUMENTATION +================================================================================ + +This is the source of offline documentation for Carbs Linux. It is a part of the +'core' repository and can be obtained by installing it with kiss. + + +--------------------------------------------------------------------------+ + | $ kiss b carbs-docs | + | $ kiss i carbs-docs | + +--------------------------------------------------------------------------+ + +This documentation isn't complete yet, you can help by expanding it. + + +[1.0] Document structure +-------------------------------------------------------------------------------- + +Documents are categorized in directory structures which provide information on +a certain subject. \ No newline at end of file diff --git a/docs/docs/install.html b/docs/docs/install.html new file mode 100644 index 0000000..3b37dc1 --- /dev/null +++ b/docs/docs/install.html @@ -0,0 +1,503 @@ + + + + Installation Instructions | Carbs Linux + + + + + + +

    Carbs Linux - a simple linux distribution

    +
    +
    +Installation Instructions
    +================================================================================
    +
    +This post will guide you step-by-set in order to install Carbs Linux. You can
    +obtain these instructions for offline use, the plaintext version can be found on
    +https://carbslinux.org/docs/install.txt
    +
    +
    +TABLE OF CONTENTS
    +--------------------------------------------------------------------------------
    +
    +- Downloading and getting ready to chroot                                  [1.0]
    +    - Download                                                             [1.1]
    +    - Check the integrity of the tarball (Recommended)                     [1.2]
    +    - Verify the signature                                                 [1.3]
    +    - Extracting the tarball                                               [1.4]
    +    - Obtain the chroot helper                                             [1.5]
    +- Chroot                                                                   [2.0]
    +    - Updating packages (optional)                                         [2.1]
    +    - Installing packages                                                  [2.2]
    +    - Essential software                                                   [2.3]
    +    - Obtaining the documentation (optional)                               [2.4]
    +- System Configuration                                                     [3.0]
    +    - Configuring hostname (recommended)                                   [3.1]
    +    - Setting up the hosts file (optional)                                 [3.2]
    +    - Generating fstab                                                     [3.3]
    +- Kernel                                                                   [4.0]
    +    - Obtaining the kernel sources.                                        [4.1]
    +    - Installing dependencies                                              [4.2]
    +    - Compiling the kernel                                                 [4.3]
    +- Making your system bootable                                              [5.0]
    +    - Installing a bootloader                                              [5.1]
    +    - Installing init scripts                                              [5.2]
    +- Post-installation                                                        [6.0]
    +    - Acquiring kiss repositories                                          [6.1]
    +
    +
    +
    +[1.0] Downloading and getting ready to chroot
    +--------------------------------------------------------------------------------
    +
    +To install Carbs Linux, you will need a Live Linux ISO. For that purpose, you
    +can obtain a Gentoo or Void Linux live image. You can follow their instructions
    +to boot and setup your network.
    +
    +You will need the following programs in order to install Carbs Linux:
    +- tar
    +- wget (or curl)
    +- xz
    +- some form of base utilities (coreutils, sbase, busybox, etc.)
    +
    +Rest of the instructions assume that you have set all of these up, and will
    +continue on that point.
    +
    +
    +[1.1] Download
    +--------------------------------------------------------------------------------
    +
    +First, we need to download the rootfs tarball. You can do the following in order
    +to obtain the rootfs. If you are using an i686 machine, replace the 'x86_64'
    +with 'i686'.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ wget https://dl.carbslinux.org/releases/x86_64/carbs-rootfs.tar.xz     |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +We can then check the integrity of the tarball and do a signature verification.
    +Even though these are optional, they are highly recommended.
    +
    +
    +[1.2] Check the integrity of the tarball (Recommended)
    +--------------------------------------------------------------------------------
    +
    +All of the releases are saved in a single file named 'sha256sums.txt'. You can
    +either verify manually, or you can run the following for a single step
    +verification.
    +
    + +-----------------------------------------------------------------------------+
    + |                                                                             |
    + | $ wget https://dl.carbslinux.org/releases/x86_64/carbs-rootfs.tar.xz.sha256 |
    + |                                                                             |
    + | $ sha256sum -c carbs-rootfs.tar.xz.sha256                                   |
    + |                                                                             |
    + |   This should produce the following (or a similar) output:                  |
    + |       carbs-rootfs.tar.xz: OK                                               |
    + |                                                                             |
    + +-----------------------------------------------------------------------------+
    +
    +
    +[1.3] Verify the signature
    +--------------------------------------------------------------------------------
    +
    +It is highly recommended to verify the signature of the tarball. You will need
    +GPG for this.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ wget https://carbslinux.org/releases/carbs-rootfs.tar.xz.sig           |
    +  |                                                                          |
    +  | $ gpg --recv-keys FF484BDFEFCEF8FF                                       |
    +  |                                                                          |
    +  | $ gpg --verify carbs-rootfs.tar.xz.sig                                   |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[1.4] Extracting the tarball
    +--------------------------------------------------------------------------------
    +
    +You will need to extract the tarball to your desired location. For partitioning,
    +you can follow this guide[1]. This will assume that you will be mounting your
    +root partition to '/mnt'.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ mount /dev/sdx1 /mnt                                                   |
    +  |                                                                          |
    +  | $ tar xf carbs-rootfs.tar.xz -C /mnt                                     |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[1.5] Obtain the chroot helper
    +--------------------------------------------------------------------------------
    +
    +You can obtain the cpt-chroot script in order to do a simple chroot into your
    +new root filesystem.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ wget https://dl.carbslinux.org/distfiles/cpt-chroot                    |
    +  | $ chmod a+x cpt-chroot                                                   |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[2.0] Chroot
    +--------------------------------------------------------------------------------
    +
    +Chroot into Carbs Linux!
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ ./cpt-chroot /mnt                                                      |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[2.1] Updating packages (optional)
    +--------------------------------------------------------------------------------
    +
    +It is good practice to make sure your system is up to date, especially before
    +building new packages. If there is an update for the package manager you will
    +need to update twice.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ cpt update                                                             |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | If the package manager is updated, run the same command again.           |
    +  | $ cpt update                                                             |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[2.2] Installing packages
    +--------------------------------------------------------------------------------
    +
    +Since you are operating on a really small base, you might need to build and
    +install new programs to extend the functionality of your system. In order to
    +build and install packages new packages in Carbs, you need to execute the
    +following.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ cpt build package                                                      |
    +  | $ cpt install package                                                    |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[2.3] Essential software
    +--------------------------------------------------------------------------------
    +
    +Here is a list of software that you might want to have on your system.
    +
    +  BOOTLOADERS
    +    - efibootmgr
    +    - grub
    +  FILESYSTEMS
    +    - e2fsprogs
    +    - dosfstools
    +    - ntfs-3g
    +  NETWORKING
    +    - dhcpcd[2]
    +    - wpa_supplicant
    +  TEXT EDITORS
    +    - nano
    +    - vim
    +    - neatvi
    +    - nvi
    +    - emacs
    +    - emacs-nox (terminal-only version of emacs)
    +    - mg (micro gnuemacs)
    +  USER SHELLS
    +    - bash
    +    - dash
    +    - zsh
    +    - 9base (rc shell)
    +  DEVICE MANAGEMENT
    +    - eudev
    +  COREUTILS
    +    - sbase
    +  DOCUMENTATION
    +    - carbs-docs [2.4]
    +    - man-pages
    +    - man-pages-posix
    +  OTHER
    +    - git
    +
    +
    +[2.4] Obtaining the documentation (optional)
    +--------------------------------------------------------------------------------
    +
    +All the documentation for Carbs Linux (including this installation manual) can
    +be obtained to be viewed offline.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | Install the documentation.                                               |
    +  | $ cpt b carbs-docs && cpt i carbs-docs                                   |
    +  |                                                                          |
    +  | 'docs' tool can be used in order to crawl through the documentation.     |
    +  |                                                                          |
    +  | Following command can be used in order to view this installation guide   |
    +  | through a pager.                                                         |
    +  |                                                                          |
    +  | $ docs install                                                           |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[3.0] System Configuration
    +--------------------------------------------------------------------------------
    +
    +After you have finished installing some extra packages, you can configure your
    +system to your liking.
    +
    +
    +[3.1] Configuring hostname (recommended)
    +--------------------------------------------------------------------------------
    +
    +You might want to add a hostname, especially in a networked environment. Your
    +hostname will default to 'carbslinux' unless you set this.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ echo your-hostname > /etc/hostname                                     |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[3.2] Setting up the hosts file (optional)
    +--------------------------------------------------------------------------------
    +
    +You can edit your /etc/hosts file, which is the static lookup table for host
    +names. By default, there are two entries for localhost which are OKAY. You can
    +replace the 'localhost' part of these entries to your hostname.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | 127.0.0.1  localhost.localdomain localhost                               |
    +  | ::1        localhost.localdomain localhost ip6-localhost                 |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[3.3] Generating fstab
    +--------------------------------------------------------------------------------
    +
    +You can use this POSIX sh variant for genfstab
    +
    +
    +[4.0] Kernel
    +--------------------------------------------------------------------------------
    +
    +Kernel isn't managed under the main repositories, even though you could package
    +one for your personal use. Here is an example kernel package, which you will
    +need to reconfigure for your specific setup if you want to make use of it[3].
    +
    +
    +[4.1] Obtaining the kernel sources.
    +--------------------------------------------------------------------------------
    +
    +You can visit the https://kernel.org website to choose a kernel that you want
    +to install. Though only the latest stable and longterm (LTS) versions are
    +supported.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | Download the kernel and extract it                                       |
    +  | $ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.7.6.tar.xz   |
    +  | $ tar xf linux-5.7.6.tar.xz                                              |
    +  |                                                                          |
    +  | Change directory into the kernel sources                                 |
    +  | $ cd linux-5.7.6                                                         |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +[4.2] Installing dependencies
    +--------------------------------------------------------------------------------
    +
    +In order to compile the kernel you will need to install some dependencies.
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | You will need libelf to compile the kernel                               |
    +  |                                                                          |
    +  | $ cpt b libelf && cpt i libelf                                           |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | In order to configure the kernel with a user interface, you will need    |
    +  | ncurses to be installed on your system.                                  |
    +  |                                                                          |
    +  | $ cpt b ncurses && cpt i ncurses                                         |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +In the vanilla kernel sources, you need perl to compile the kernel, but it can
    +be easily patched out. You will need to apply the following patch. Patch was
    +written by E5ten[4].
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | Obtain the patch by downloading it.                                      |
    +  |                                                                          |
    +  | $ wget https://dl.carbslinux.org/distfiles/kernel-no-perl.patch          |
    +  |                                                                          |
    +  | Apply the patch.                                                         |
    +  |                                                                          |
    +  | $ patch -p1 < kernel-no-perl.patch                                       |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[4.3] Compiling the kernel
    +--------------------------------------------------------------------------------
    +
    +Next step is configuring and building the kernel. You can check Gentoo's kernel
    +configuration guide[5] to learn more about the matter. Overall, Gentoo Wiki is a
    +good place to learn about configuration according to your hardware.
    +
    +  +--------------------------------------------------------------------------+
    +  | Configure and build the kernel                                           |
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ make menuconfig                                                        |
    +  | $ make                                                                   |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +  | Install the kernel                                                       |
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ install -Dm755 $(make -s image_name) /boot/vmlinuz-linux               |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[5.0] Making your system bootable
    +--------------------------------------------------------------------------------
    +
    +In order to be able to boot your fresh system, wou will need an init-daemon,
    +init-scripts and a bootloader. The init daemon is already provided by busybox,
    +but you can optionally change it.
    +
    +
    +[5.1] Installing a bootloader
    +--------------------------------------------------------------------------------
    +
    +In the main repository, there is efibootmgr and grub to serve as bootloaders.
    +efibootmgr can be used as a standalone bootloader, or can be used to install
    +grub in a UEFI environment. efibootmgr is needed unless you are using a device
    +without UEFI support (or you really want to use BIOS for a reason).
    +
    +  +--------------------------------------------------------------------------+
    +  | GRUB BIOS installation                                                   |
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ cpt b grub && cpt i grub                                               |
    +  | $ grub-install --target=i386-pc /dev/sdX                                 |
    +  | $ grub-mkconfig -o /boot/grub/grub.cfg                                   |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +  | GRUB UEFI installation                                                   |
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ cpt b efibootmgr && cpt i efibootmgr                                   |
    +  | $ cpt b grub && cpt i grub                                               |
    +  |                                                                          |
    +  | $ grub-install --target=x86_64-efi \                                     |
    +  |                --efi-directory=esp \                                     |
    +  |                --bootloader-id=CarbsLinux                                |
    +  |                                                                          |
    +  | $ grub-mkconfig -o /boot/grub/grub.cfg                                   |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[5.2] Installing init scripts
    +--------------------------------------------------------------------------------
    +
    +Only thing left to do is installing the init-scripts, and now you are ready to
    +boot your system!
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ cpt b carbs-init && cpt i carbs-init                                   |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +[6.0] Post-installation
    +--------------------------------------------------------------------------------
    +
    +The base installation is now complete, you can now fine tune your system
    +according to your needs. Rest of these instructions are completely optional.
    +
    +
    +[6.1] Acquiring kiss repositories
    +--------------------------------------------------------------------------------
    +
    +Most kiss repositories can only be obtained through git, but it isn't installed
    +by default. You'll need to install it:
    +
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ cpt b git && cpt i git                                                 |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +After installing git, you can clone a repository, and add it to your path:
    +
    +  +--------------------------------------------------------------------------+
    +  | KISS Community Repository                                                |
    +  +--------------------------------------------------------------------------+
    +  |                                                                          |
    +  | $ git clone https://github.com/kisslinux/community                       |
    +  | $ export CPT_PATH=$CPT_PATH:$PWD/community/community                     |
    +  |                                                                          |
    +  | NOTE: There are lots of packages on the KISS community repository that   |
    +  |       are also on Carbs Linux main repository. I would advise giving     |
    +  |       lower priority to the KISS community repository as it may affect   |
    +  |       other packages that you might install.                             |
    +  |                                                                          |
    +  +--------------------------------------------------------------------------+
    +
    +
    +You can also lookup other repositories on GitHub, by searching the 'cpt-repo'
    +tag, or looking it up on the KISS Wiki page for repositories[6].
    +
    +
    +Footnotes
    +--------------------------------------------------------------------------------
    +[1]: https://wiki.archlinux.org/index.php/Partitioning
    +[2]: busybox also provides udhcpc which can be used to configure dynamic IP
    +[3]: https://github.com/cemkeylan/kiss-repository/tree/master/personal/linux
    +[4]: https://github.com/E5ten
    +[5]: https://wiki.gentoo.org/wiki/Kernel/Configuration
    +[6]: https://k1ss.org/wiki/community/repositories
    +
    + View Page Source +
    + + + + diff --git a/docs/docs/install.txt b/docs/docs/install.txt new file mode 100644 index 0000000..d068a67 --- /dev/null +++ b/docs/docs/install.txt @@ -0,0 +1,475 @@ +Installation Instructions +================================================================================ + +This post will guide you step-by-set in order to install Carbs Linux. You can +obtain these instructions for offline use, the plaintext version can be found on +https://carbslinux.org/docs/install.txt + + +TABLE OF CONTENTS +-------------------------------------------------------------------------------- + +- Downloading and getting ready to chroot [1.0] + - Download [1.1] + - Check the integrity of the tarball (Recommended) [1.2] + - Verify the signature [1.3] + - Extracting the tarball [1.4] + - Obtain the chroot helper [1.5] +- Chroot [2.0] + - Updating packages (optional) [2.1] + - Installing packages [2.2] + - Essential software [2.3] + - Obtaining the documentation (optional) [2.4] +- System Configuration [3.0] + - Configuring hostname (recommended) [3.1] + - Setting up the hosts file (optional) [3.2] + - Generating fstab [3.3] +- Kernel [4.0] + - Obtaining the kernel sources. [4.1] + - Installing dependencies [4.2] + - Compiling the kernel [4.3] +- Making your system bootable [5.0] + - Installing a bootloader [5.1] + - Installing init scripts [5.2] +- Post-installation [6.0] + - Acquiring kiss repositories [6.1] + + + +[1.0] Downloading and getting ready to chroot +-------------------------------------------------------------------------------- + +To install Carbs Linux, you will need a Live Linux ISO. For that purpose, you +can obtain a Gentoo or Void Linux live image. You can follow their instructions +to boot and setup your network. + +You will need the following programs in order to install Carbs Linux: +- tar +- wget (or curl) +- xz +- some form of base utilities (coreutils, sbase, busybox, etc.) + +Rest of the instructions assume that you have set all of these up, and will +continue on that point. + + +[1.1] Download +-------------------------------------------------------------------------------- + +First, we need to download the rootfs tarball. You can do the following in order +to obtain the rootfs. If you are using an i686 machine, replace the 'x86_64' +with 'i686'. + + +--------------------------------------------------------------------------+ + | | + | $ wget https://dl.carbslinux.org/releases/x86_64/carbs-rootfs.tar.xz | + | | + +--------------------------------------------------------------------------+ + +We can then check the integrity of the tarball and do a signature verification. +Even though these are optional, they are highly recommended. + + +[1.2] Check the integrity of the tarball (Recommended) +-------------------------------------------------------------------------------- + +All of the releases are saved in a single file named 'sha256sums.txt'. You can +either verify manually, or you can run the following for a single step +verification. + + +-----------------------------------------------------------------------------+ + | | + | $ wget https://dl.carbslinux.org/releases/x86_64/carbs-rootfs.tar.xz.sha256 | + | | + | $ sha256sum -c carbs-rootfs.tar.xz.sha256 | + | | + | This should produce the following (or a similar) output: | + | carbs-rootfs.tar.xz: OK | + | | + +-----------------------------------------------------------------------------+ + + +[1.3] Verify the signature +-------------------------------------------------------------------------------- + +It is highly recommended to verify the signature of the tarball. You will need +GPG for this. + + +--------------------------------------------------------------------------+ + | | + | $ wget https://carbslinux.org/releases/carbs-rootfs.tar.xz.sig | + | | + | $ gpg --recv-keys FF484BDFEFCEF8FF | + | | + | $ gpg --verify carbs-rootfs.tar.xz.sig | + | | + +--------------------------------------------------------------------------+ + + +[1.4] Extracting the tarball +-------------------------------------------------------------------------------- + +You will need to extract the tarball to your desired location. For partitioning, +you can follow this guide[1]. This will assume that you will be mounting your +root partition to '/mnt'. + + +--------------------------------------------------------------------------+ + | | + | $ mount /dev/sdx1 /mnt | + | | + | $ tar xf carbs-rootfs.tar.xz -C /mnt | + | | + +--------------------------------------------------------------------------+ + + +[1.5] Obtain the chroot helper +-------------------------------------------------------------------------------- + +You can obtain the cpt-chroot script in order to do a simple chroot into your +new root filesystem. + + +--------------------------------------------------------------------------+ + | | + | $ wget https://dl.carbslinux.org/distfiles/cpt-chroot | + | $ chmod a+x cpt-chroot | + | | + +--------------------------------------------------------------------------+ + + +[2.0] Chroot +-------------------------------------------------------------------------------- + +Chroot into Carbs Linux! + + +--------------------------------------------------------------------------+ + | | + | $ ./cpt-chroot /mnt | + | | + +--------------------------------------------------------------------------+ + + +[2.1] Updating packages (optional) +-------------------------------------------------------------------------------- + +It is good practice to make sure your system is up to date, especially before +building new packages. If there is an update for the package manager you will +need to update twice. + + +--------------------------------------------------------------------------+ + | | + | $ cpt update | + | | + +--------------------------------------------------------------------------+ + | | + | If the package manager is updated, run the same command again. | + | $ cpt update | + | | + +--------------------------------------------------------------------------+ + + +[2.2] Installing packages +-------------------------------------------------------------------------------- + +Since you are operating on a really small base, you might need to build and +install new programs to extend the functionality of your system. In order to +build and install packages new packages in Carbs, you need to execute the +following. + + +--------------------------------------------------------------------------+ + | | + | $ cpt build package | + | $ cpt install package | + | | + +--------------------------------------------------------------------------+ + + +[2.3] Essential software +-------------------------------------------------------------------------------- + +Here is a list of software that you might want to have on your system. + + BOOTLOADERS + - efibootmgr + - grub + FILESYSTEMS + - e2fsprogs + - dosfstools + - ntfs-3g + NETWORKING + - dhcpcd[2] + - wpa_supplicant + TEXT EDITORS + - nano + - vim + - neatvi + - nvi + - emacs + - emacs-nox (terminal-only version of emacs) + - mg (micro gnuemacs) + USER SHELLS + - bash + - dash + - zsh + - 9base (rc shell) + DEVICE MANAGEMENT + - eudev + COREUTILS + - sbase + DOCUMENTATION + - carbs-docs [2.4] + - man-pages + - man-pages-posix + OTHER + - git + + +[2.4] Obtaining the documentation (optional) +-------------------------------------------------------------------------------- + +All the documentation for Carbs Linux (including this installation manual) can +be obtained to be viewed offline. + + +--------------------------------------------------------------------------+ + | | + | Install the documentation. | + | $ cpt b carbs-docs && cpt i carbs-docs | + | | + | 'docs' tool can be used in order to crawl through the documentation. | + | | + | Following command can be used in order to view this installation guide | + | through a pager. | + | | + | $ docs install | + | | + +--------------------------------------------------------------------------+ + + +[3.0] System Configuration +-------------------------------------------------------------------------------- + +After you have finished installing some extra packages, you can configure your +system to your liking. + + +[3.1] Configuring hostname (recommended) +-------------------------------------------------------------------------------- + +You might want to add a hostname, especially in a networked environment. Your +hostname will default to 'carbslinux' unless you set this. + + +--------------------------------------------------------------------------+ + | | + | $ echo your-hostname > /etc/hostname | + | | + +--------------------------------------------------------------------------+ + + +[3.2] Setting up the hosts file (optional) +-------------------------------------------------------------------------------- + +You can edit your /etc/hosts file, which is the static lookup table for host +names. By default, there are two entries for localhost which are OKAY. You can +replace the 'localhost' part of these entries to your hostname. + + +--------------------------------------------------------------------------+ + | | + | 127.0.0.1 localhost.localdomain localhost | + | ::1 localhost.localdomain localhost ip6-localhost | + | | + +--------------------------------------------------------------------------+ + + +[3.3] Generating fstab +-------------------------------------------------------------------------------- + +You can use this POSIX sh variant for genfstab + + +[4.0] Kernel +-------------------------------------------------------------------------------- + +Kernel isn't managed under the main repositories, even though you could package +one for your personal use. Here is an example kernel package, which you will +need to reconfigure for your specific setup if you want to make use of it[3]. + + +[4.1] Obtaining the kernel sources. +-------------------------------------------------------------------------------- + +You can visit the https://kernel.org website to choose a kernel that you want +to install. Though only the latest stable and longterm (LTS) versions are +supported. + + +--------------------------------------------------------------------------+ + | | + | Download the kernel and extract it | + | $ wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.7.6.tar.xz | + | $ tar xf linux-5.7.6.tar.xz | + | | + | Change directory into the kernel sources | + | $ cd linux-5.7.6 | + | | + +--------------------------------------------------------------------------+ + +[4.2] Installing dependencies +-------------------------------------------------------------------------------- + +In order to compile the kernel you will need to install some dependencies. + + +--------------------------------------------------------------------------+ + | | + | You will need libelf to compile the kernel | + | | + | $ cpt b libelf && cpt i libelf | + | | + +--------------------------------------------------------------------------+ + | | + | In order to configure the kernel with a user interface, you will need | + | ncurses to be installed on your system. | + | | + | $ cpt b ncurses && cpt i ncurses | + | | + +--------------------------------------------------------------------------+ + +In the vanilla kernel sources, you need perl to compile the kernel, but it can +be easily patched out. You will need to apply the following patch. Patch was +written by E5ten[4]. + + +--------------------------------------------------------------------------+ + | | + | Obtain the patch by downloading it. | + | | + | $ wget https://dl.carbslinux.org/distfiles/kernel-no-perl.patch | + | | + | Apply the patch. | + | | + | $ patch -p1 < kernel-no-perl.patch | + | | + +--------------------------------------------------------------------------+ + + +[4.3] Compiling the kernel +-------------------------------------------------------------------------------- + +Next step is configuring and building the kernel. You can check Gentoo's kernel +configuration guide[5] to learn more about the matter. Overall, Gentoo Wiki is a +good place to learn about configuration according to your hardware. + + +--------------------------------------------------------------------------+ + | Configure and build the kernel | + +--------------------------------------------------------------------------+ + | | + | $ make menuconfig | + | $ make | + | | + +--------------------------------------------------------------------------+ + | Install the kernel | + +--------------------------------------------------------------------------+ + | | + | $ install -Dm755 $(make -s image_name) /boot/vmlinuz-linux | + | | + +--------------------------------------------------------------------------+ + + +[5.0] Making your system bootable +-------------------------------------------------------------------------------- + +In order to be able to boot your fresh system, wou will need an init-daemon, +init-scripts and a bootloader. The init daemon is already provided by busybox, +but you can optionally change it. + + +[5.1] Installing a bootloader +-------------------------------------------------------------------------------- + +In the main repository, there is efibootmgr and grub to serve as bootloaders. +efibootmgr can be used as a standalone bootloader, or can be used to install +grub in a UEFI environment. efibootmgr is needed unless you are using a device +without UEFI support (or you really want to use BIOS for a reason). + + +--------------------------------------------------------------------------+ + | GRUB BIOS installation | + +--------------------------------------------------------------------------+ + | | + | $ cpt b grub && cpt i grub | + | $ grub-install --target=i386-pc /dev/sdX | + | $ grub-mkconfig -o /boot/grub/grub.cfg | + | | + +--------------------------------------------------------------------------+ + | GRUB UEFI installation | + +--------------------------------------------------------------------------+ + | | + | $ cpt b efibootmgr && cpt i efibootmgr | + | $ cpt b grub && cpt i grub | + | | + | $ grub-install --target=x86_64-efi \ | + | --efi-directory=esp \ | + | --bootloader-id=CarbsLinux | + | | + | $ grub-mkconfig -o /boot/grub/grub.cfg | + | | + +--------------------------------------------------------------------------+ + + +[5.2] Installing init scripts +-------------------------------------------------------------------------------- + +Only thing left to do is installing the init-scripts, and now you are ready to +boot your system! + + +--------------------------------------------------------------------------+ + | | + | $ cpt b carbs-init && cpt i carbs-init | + | | + +--------------------------------------------------------------------------+ + + +[6.0] Post-installation +-------------------------------------------------------------------------------- + +The base installation is now complete, you can now fine tune your system +according to your needs. Rest of these instructions are completely optional. + + +[6.1] Acquiring kiss repositories +-------------------------------------------------------------------------------- + +Most kiss repositories can only be obtained through git, but it isn't installed +by default. You'll need to install it: + + +--------------------------------------------------------------------------+ + | | + | $ cpt b git && cpt i git | + | | + +--------------------------------------------------------------------------+ + + +After installing git, you can clone a repository, and add it to your path: + + +--------------------------------------------------------------------------+ + | KISS Community Repository | + +--------------------------------------------------------------------------+ + | | + | $ git clone https://github.com/kisslinux/community | + | $ export CPT_PATH=$CPT_PATH:$PWD/community/community | + | | + | NOTE: There are lots of packages on the KISS community repository that | + | are also on Carbs Linux main repository. I would advise giving | + | lower priority to the KISS community repository as it may affect | + | other packages that you might install. | + | | + +--------------------------------------------------------------------------+ + + +You can also lookup other repositories on GitHub, by searching the 'cpt-repo' +tag, or looking it up on the KISS Wiki page for repositories[6]. + + +Footnotes +-------------------------------------------------------------------------------- +[1]: https://wiki.archlinux.org/index.php/Partitioning +[2]: busybox also provides udhcpc which can be used to configure dynamic IP +[3]: https://github.com/cemkeylan/kiss-repository/tree/master/personal/linux +[4]: https://github.com/E5ten +[5]: https://wiki.gentoo.org/wiki/Kernel/Configuration +[6]: https://k1ss.org/wiki/community/repositories diff --git a/docs/index.html b/docs/index.html index 2639ee6..44a4192 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,29 +1,31 @@ - - -index | Carbs Linux - - - - - -

    Carbs Linux - a simple busybox linux distribution

    -
    + + + index | Carbs Linux + + + + + + +

    Carbs Linux - a simple linux distribution

    +

    Carbs Linux is an in-development Linux® distribution with a suckless mindset. The base system consists of only the necessary programs to create a Linux distribution.

    Package Manager

    -

    Carbs Linux uses its own fork of the kiss package manager which is an -extremely flexible package manager.

    +

    Carbs Linux uses its own package manager Carbs Packaging Tools, a POSIX shell +package manager forked from KISS with the tool-based approach of xbps.

    Small base

    @@ -73,6 +75,13 @@ other system supervision technique along with your own init scripts.

    RSS Feed | See all news

    +

    Jul 27 2020

    + +

    Carbs Linux’s fork of the kiss package manager has been renamed to +Carbs Packaging Tools due to huge amount of changes. Your latest kiss +update will handle the bootstrapping. You will need to rename your KISS-* +variables to CPT-*

    +

    Jun 17 2020

    A new rootfs tarball including the changes to the core is released and can be @@ -93,15 +102,9 @@ been released. It can be found on the patch to your kernel sources.

    - -

    Apr 27 2020

    - -

    A new rootfs tarball has been released! You can -see it on https://dl.carbslinux.org/releases!

    - -

    EDIT: A new bug fix release has been made.

    -View Page Source
    - - - + View Page Source +
    + + + diff --git a/docs/index.txt b/docs/index.txt index 6635bc7..46ae09e 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -5,8 +5,8 @@ distribution. Package Manager -------------------------------------------------------------------------------- -Carbs Linux uses its own fork of the [kiss package manager] which is an -extremely flexible package manager. +Carbs Linux uses its own package manager [Carbs Packaging Tools], a POSIX shell +package manager forked from KISS with the tool-based approach of xbps. Small base @@ -43,7 +43,7 @@ other system supervision technique along with your own init scripts. [carbs-init]: https://github.com/CarbsLinux/repository/tree/master/core/carbs-init -[kiss package manager]: https://github.com/CarbsLinux/kiss +[Carbs Packaging Tools]: https://github.com/CarbsLinux/cpt Links -------------------------------------------------------------------------------- @@ -60,6 +60,14 @@ News [RSS Feed](/news.xml) | [See all news](/news.html) +Jul 27 2020 +-------------------------------------------------------------------------------- + +Carbs Linux's fork of the `kiss` package manager has been renamed to +`Carbs Packaging Tools` due to huge amount of changes. Your latest `kiss` +update will handle the bootstrapping. You will need to rename your `KISS-*` +variables to `CPT-*` + Jun 17 2020 -------------------------------------------------------------------------------- @@ -90,11 +98,3 @@ with GCC 10.1. This issue can be resolved by applying this [patch] to your kernel sources. [patch]: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/patch/?id=f670269a42bfdd2c83a1118cc3d1b475547eac22 - -Apr 27 2020 --------------------------------------------------------------------------------- - -A new rootfs tarball has been released! You can -see it on ! - -**EDIT:** A new bug fix release has been made. diff --git a/docs/mailing-lists.html b/docs/mailing-lists.html index c74f9ae..d1e04f9 100644 --- a/docs/mailing-lists.html +++ b/docs/mailing-lists.html @@ -1,21 +1,23 @@ - - -Mailing Lists | Carbs Linux - - - - - -

    Carbs Linux - a simple busybox linux distribution

    -
    + + + Mailing Lists | Carbs Linux + + + + + + +

    Carbs Linux - a simple linux distribution

    +

    Mailing Lists

    We have mailing lists set up at sourcehut. You can subscribe to the mailing @@ -25,8 +27,9 @@ list by sending an empty mail to

    You can also see the archives.

    -View Page Source
    - - - + View Page Source +
    + + + diff --git a/docs/news.html b/docs/news.html index 9ad57c9..5f182df 100644 --- a/docs/news.html +++ b/docs/news.html @@ -1,21 +1,30 @@ - - -news | Carbs Linux - - - - - -

    Carbs Linux - a simple busybox linux distribution

    -
    + + + Jul 27 2020 | Carbs Linux + + + + + + +

    Carbs Linux - a simple linux distribution

    +
    +

    Jul 27 2020

    + +

    Carbs Linux’s fork of the kiss package manager has been renamed to +Carbs Packaging Tools due to huge amount of changes. Your latest kiss +update will handle the bootstrapping. You will need to rename your KISS-* +variables to CPT-*

    +

    Jun 17 2020

    A new rootfs tarball including the changes to the core is released and can be @@ -218,8 +227,9 @@ This is for adding standalone runit/runit-init to the repositories.

    Dec 10 2019

    First alpha release was made. See the downloads page.

    -View Page Source
    - - - + View Page Source +
    + + + diff --git a/docs/news.txt b/docs/news.txt index 91b1ce8..f297a81 100644 --- a/docs/news.txt +++ b/docs/news.txt @@ -1,3 +1,10 @@ +Jul 27 2020 +-------------------------------------------------------------------------------- + +Carbs Linux's fork of the `kiss` package manager has been renamed to +`Carbs Packaging Tools` due to huge amount of changes. Your latest `kiss` +update will handle the bootstrapping. You will need to rename your `KISS-*` +variables to `CPT-*` Jun 17 2020 -------------------------------------------------------------------------------- diff --git a/docs/news.xml b/docs/news.xml index 4ca82dd..f16599b 100644 --- a/docs/news.xml +++ b/docs/news.xml @@ -4,12 +4,24 @@ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > - -Carbs Linux -a simple busybox linux distribution -https://carbslinux.org - -Jun Sat 2020 20:00 + + Carbs Linux + a simple linux distribution + https://carbslinux.org + + Sun Jul 26 2020 22:00 + +Jul 27 2020 +Mon, 27 Jul 2020 +Cem Keylan +https://carbslinux.org/index.html +<h2>Jul 27 2020</h2> + +<p>Carbs Linux&rsquo;s fork of the <code>kiss</code> package manager has been renamed to +<code>Carbs Packaging Tools</code> due to huge amount of changes. Your latest <code>kiss</code> +update will handle the bootstrapping. You will need to rename your <code>KISS-*</code> +variables to <code>CPT-*</code></p> + Jun 17 2020 Wed, 17 Jun 2020 @@ -322,5 +334,5 @@ This is for adding standalone runit/runit-init to the repositories.</p> - + diff --git a/docs/people.html b/docs/people.html index dac1b57..3195e2b 100644 --- a/docs/people.html +++ b/docs/people.html @@ -1,29 +1,32 @@ - - -People | Carbs Linux - - - - - -

    Carbs Linux - a simple busybox linux distribution

    -
    + + + People | Carbs Linux + + + + + + +

    Carbs Linux - a simple linux distribution

    +

    People

    -View Page Source
    - - - + View Page Source +
    + + + diff --git a/docs/rss.xml b/docs/rss.xml index 5788d02..e10b7b5 100644 --- a/docs/rss.xml +++ b/docs/rss.xml @@ -4,12 +4,12 @@ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > - -Carbs Linux -a simple busybox linux distribution -https://carbslinux.org - -Jun Sat 2020 20:00 + + Carbs Linux + a simple linux distribution + https://carbslinux.org + + Sun Jul 26 2020 22:00 June Newspost Wed, 17 Jun 2020 @@ -388,5 +388,5 @@ and POSIX sh. I am not yet exactly familiar with rc, but I will replace the shell scripts when I feel like I can.</p> - + diff --git a/index/20191210.news b/index/20191210.news index ffd9237..e8041d9 100644 --- a/index/20191210.news +++ b/index/20191210.news @@ -1,2 +1,5 @@ +Dec 10 2019 +-------------------------------------------------------------------------------- + First alpha release was made. See the [downloads page](//dl.carbslinux.org/releases). diff --git a/index/20191212.news b/index/20191212.news index 2cecad7..fedcd24 100644 --- a/index/20191212.news +++ b/index/20191212.news @@ -1,3 +1,6 @@ +Dec 12 2019 +-------------------------------------------------------------------------------- + Busybox and Busybox-init has been seperated into two different packages. This is for adding standalone runit/runit-init to the repositories. diff --git a/index/20191215.news b/index/20191215.news index 774383c..c22fbd1 100644 --- a/index/20191215.news +++ b/index/20191215.news @@ -1,3 +1,6 @@ +Dec 15 2019 +-------------------------------------------------------------------------------- + Carbs Linux Wiki is now available to be edited and updated by the users go to the [wiki](//carbslinux.org/wiki) to obtain more information. diff --git a/index/20191217.news b/index/20191217.news index d81e3ea..1fbb081 100644 --- a/index/20191217.news +++ b/index/20191217.news @@ -1,2 +1,5 @@ +Dec 17 2019 +-------------------------------------------------------------------------------- + Installation instruction are now complete. A review would be greatly appreciated! diff --git a/index/20191218.news b/index/20191218.news index 9216ec0..35f1023 100644 --- a/index/20191218.news +++ b/index/20191218.news @@ -1,2 +1,5 @@ +Dec 18 2019 +-------------------------------------------------------------------------------- + carbs-rootfs-20191218.tar.xz was [released](//dl.carbslinux.org/releases) diff --git a/index/20200109.news b/index/20200109.news index 12873c5..7621360 100644 --- a/index/20200109.news +++ b/index/20200109.news @@ -1,3 +1,6 @@ +Jan 09 2020 +-------------------------------------------------------------------------------- + Happy new year, everyone! I am back after some long silence. I was unable to commit for a while, but I have pulled some new updates from the KISS repository, added some of my own. This week I will be changing/adding some things. diff --git a/index/20200110.news b/index/20200110.news index bdf0afd..8deacbc 100644 --- a/index/20200110.news +++ b/index/20200110.news @@ -1,2 +1,5 @@ +Jan 10 2020 +-------------------------------------------------------------------------------- + carbs-rootfs-20200110.tar.xz was [released](//dl.carbslinux.org/releases) diff --git a/index/20200113.news b/index/20200113.news index b9139a0..f9c467e 100644 --- a/index/20200113.news +++ b/index/20200113.news @@ -1,3 +1,6 @@ +Jan 13 2020 +-------------------------------------------------------------------------------- + **Busybox update reqires manual intervention** The new busybox package conflicts with the pre-update busybox-init. That's why diff --git a/index/20200115.news b/index/20200115.news index a49aade..dd21908 100644 --- a/index/20200115.news +++ b/index/20200115.news @@ -1,2 +1,5 @@ +Jan 15 2020 +-------------------------------------------------------------------------------- + sinit has been taken to `core`, and is now officially supported diff --git a/index/20200122.news b/index/20200122.news index 76af4d2..f1d7fd3 100644 --- a/index/20200122.news +++ b/index/20200122.news @@ -1,3 +1,6 @@ +Jan 22 2020 +-------------------------------------------------------------------------------- + Expect downtime on Jan 24 2020 22:00 UTC as I will be migrating this web server to my Carbs Linux server! diff --git a/index/20200128.news b/index/20200128.news index 6589b86..45b373c 100644 --- a/index/20200128.news +++ b/index/20200128.news @@ -1,3 +1,6 @@ +Jan 28 2020 +-------------------------------------------------------------------------------- + Web Server is now on a Carbs Linux server. It is not complete yet, but I will be adding a little more for the intended functionality. Downtimes can be expected. diff --git a/index/20200213.news b/index/20200213.news index 13144cd..e901f36 100644 --- a/index/20200213.news +++ b/index/20200213.news @@ -1,3 +1,6 @@ +Feb 13 2020 +-------------------------------------------------------------------------------- + Runit is now released on the core repository! You can now replace busybox-init with runit-init. You can also replace the busybox runit utilities with the actual runit. This will reduce the dependency on diff --git a/index/20200214.news b/index/20200214.news index 0926126..9fda471 100644 --- a/index/20200214.news +++ b/index/20200214.news @@ -1,3 +1,6 @@ +Feb 14 2020 +-------------------------------------------------------------------------------- + **IMPORTANT!** Carbs-init update to be released on 17th of February will require manual intervention. I am holding this update back so people can see it before they update their system (even though the diff --git a/index/20200218.news b/index/20200218.news index 31bc8b3..c6c7d83 100644 --- a/index/20200218.news +++ b/index/20200218.news @@ -1,3 +1,6 @@ +Feb 18 2020 +-------------------------------------------------------------------------------- + A new tarball is released. It can be found on . **edit:** I have removed the tarball because of a bootstrapping issue. diff --git a/index/20200405.news b/index/20200405.news index a51cb6c..d7c52f2 100644 --- a/index/20200405.news +++ b/index/20200405.news @@ -1,3 +1,6 @@ +Apr 05 2020 +-------------------------------------------------------------------------------- + Carbs Linux repositories will be hosted only on Github. Commits will be pushed there, and not the repository. You have until May 4, 2020 Monday to switch your remotes to . diff --git a/index/20200406.news b/index/20200406.news index 718c29c..6ce25e8 100644 --- a/index/20200406.news +++ b/index/20200406.news @@ -1,2 +1,5 @@ +Apr 06 2020 +-------------------------------------------------------------------------------- + A new rootfs tarball has been released. See the [downloads](https://dl.carbslinux.org) page diff --git a/index/20200410.news b/index/20200410.news index 3ba8431..9627c7d 100644 --- a/index/20200410.news +++ b/index/20200410.news @@ -1 +1,4 @@ +Apr 10 2020 +-------------------------------------------------------------------------------- + IRC channel can now be accessed from `#carbslinux` at freenode! diff --git a/index/20200427.news b/index/20200427.news index b397afc..a0960ac 100644 --- a/index/20200427.news +++ b/index/20200427.news @@ -1,3 +1,6 @@ +Apr 27 2020 +-------------------------------------------------------------------------------- + A new rootfs tarball has been released! You can see it on ! diff --git a/index/20200510.news b/index/20200510.news index 8c47fa2..efee43f 100644 --- a/index/20200510.news +++ b/index/20200510.news @@ -1,3 +1,6 @@ +May 10 2020 +-------------------------------------------------------------------------------- + A GCC 10.1.0 change causes a kernel panic for kernels built with GCC 10.1. This issue can be resolved by applying this [patch] to your kernel sources. diff --git a/index/20200519.news b/index/20200519.news index d5084ea..878bf97 100644 --- a/index/20200519.news +++ b/index/20200519.news @@ -1,3 +1,6 @@ +May 19 2020 +-------------------------------------------------------------------------------- + A rootfs tarball targeting the i686 architecture has been released. It can be found on the [downloads page] diff --git a/index/20200526.news b/index/20200526.news index 77fba11..a8e97ce 100644 --- a/index/20200526.news +++ b/index/20200526.news @@ -1,3 +1,6 @@ +May 26 2020 +-------------------------------------------------------------------------------- + An initial version for binary package management is released. It can be found on the [GitHub page]. diff --git a/index/20200617.news b/index/20200617.news index 8b855fd..07b290f 100644 --- a/index/20200617.news +++ b/index/20200617.news @@ -1,2 +1,5 @@ +Jun 17 2020 +-------------------------------------------------------------------------------- + A new rootfs tarball including the changes to the core is released and can be found on the downloads page. diff --git a/index/20200727.news b/index/20200727.news new file mode 100644 index 0000000..d75846d --- /dev/null +++ b/index/20200727.news @@ -0,0 +1,7 @@ +Jul 27 2020 +-------------------------------------------------------------------------------- + +Carbs Linux's fork of the `kiss` package manager has been renamed to +`Carbs Packaging Tools` due to huge amount of changes. Your latest `kiss` +update will handle the bootstrapping. You will need to rename your `KISS-*` +variables to `CPT-*` diff --git a/index/index.md b/index/index.md index aeb85fe..5b8310e 100644 --- a/index/index.md +++ b/index/index.md @@ -5,8 +5,8 @@ distribution. Package Manager -------------------------------------------------------------------------------- -Carbs Linux uses its own fork of the [kiss package manager] which is an -extremely flexible package manager. +Carbs Linux uses its own package manager [Carbs Packaging Tools], a POSIX shell +package manager forked from KISS with the tool-based approach of xbps. Small base @@ -43,7 +43,7 @@ other system supervision technique along with your own init scripts. [carbs-init]: https://github.com/CarbsLinux/repository/tree/master/core/carbs-init -[kiss package manager]: https://github.com/CarbsLinux/kiss +[Carbs Packaging Tools]: https://github.com/CarbsLinux/cpt Links -------------------------------------------------------------------------------- diff --git a/pull-wiki b/pull-wiki deleted file mode 100755 index cb27840..0000000 --- a/pull-wiki +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh - -TEMP="/tmp/carbswiki" - -rm -rf "$TEMP" ; git clone --depth 1 https://github.com/CarbsLinux/wiki.wiki "$TEMP" -rsync -av --delete -C "$TEMP/" src/wiki/ -./build -rm -rf "$TEMP" diff --git a/src/docs b/src/docs new file mode 160000 index 0000000..8b98d17 --- /dev/null +++ b/src/docs @@ -0,0 +1 @@ +Subproject commit 8b98d178edefd2981e06e72ead837a3c290b4b17 diff --git a/src/index.md b/src/index.md index 6635bc7..46ae09e 100644 --- a/src/index.md +++ b/src/index.md @@ -5,8 +5,8 @@ distribution. Package Manager -------------------------------------------------------------------------------- -Carbs Linux uses its own fork of the [kiss package manager] which is an -extremely flexible package manager. +Carbs Linux uses its own package manager [Carbs Packaging Tools], a POSIX shell +package manager forked from KISS with the tool-based approach of xbps. Small base @@ -43,7 +43,7 @@ other system supervision technique along with your own init scripts. [carbs-init]: https://github.com/CarbsLinux/repository/tree/master/core/carbs-init -[kiss package manager]: https://github.com/CarbsLinux/kiss +[Carbs Packaging Tools]: https://github.com/CarbsLinux/cpt Links -------------------------------------------------------------------------------- @@ -60,6 +60,14 @@ News [RSS Feed](/news.xml) | [See all news](/news.html) +Jul 27 2020 +-------------------------------------------------------------------------------- + +Carbs Linux's fork of the `kiss` package manager has been renamed to +`Carbs Packaging Tools` due to huge amount of changes. Your latest `kiss` +update will handle the bootstrapping. You will need to rename your `KISS-*` +variables to `CPT-*` + Jun 17 2020 -------------------------------------------------------------------------------- @@ -90,11 +98,3 @@ with GCC 10.1. This issue can be resolved by applying this [patch] to your kernel sources. [patch]: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/patch/?id=f670269a42bfdd2c83a1118cc3d1b475547eac22 - -Apr 27 2020 --------------------------------------------------------------------------------- - -A new rootfs tarball has been released! You can -see it on ! - -**EDIT:** A new bug fix release has been made. diff --git a/src/news.md b/src/news.md index 91b1ce8..f297a81 100644 --- a/src/news.md +++ b/src/news.md @@ -1,3 +1,10 @@ +Jul 27 2020 +-------------------------------------------------------------------------------- + +Carbs Linux's fork of the `kiss` package manager has been renamed to +`Carbs Packaging Tools` due to huge amount of changes. Your latest `kiss` +update will handle the bootstrapping. You will need to rename your `KISS-*` +variables to `CPT-*` Jun 17 2020 -------------------------------------------------------------------------------- diff --git a/src/news.xml b/src/news.xml index 4ca82dd..f16599b 100644 --- a/src/news.xml +++ b/src/news.xml @@ -4,12 +4,24 @@ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > - -Carbs Linux -a simple busybox linux distribution -https://carbslinux.org - -Jun Sat 2020 20:00 + + Carbs Linux + a simple linux distribution + https://carbslinux.org + + Sun Jul 26 2020 22:00 + +Jul 27 2020 +Mon, 27 Jul 2020 +Cem Keylan +https://carbslinux.org/index.html +<h2>Jul 27 2020</h2> + +<p>Carbs Linux&rsquo;s fork of the <code>kiss</code> package manager has been renamed to +<code>Carbs Packaging Tools</code> due to huge amount of changes. Your latest <code>kiss</code> +update will handle the bootstrapping. You will need to rename your <code>KISS-*</code> +variables to <code>CPT-*</code></p> + Jun 17 2020 Wed, 17 Jun 2020 @@ -322,5 +334,5 @@ This is for adding standalone runit/runit-init to the repositories.</p> - + diff --git a/src/rss.xml b/src/rss.xml index 5788d02..e10b7b5 100644 --- a/src/rss.xml +++ b/src/rss.xml @@ -4,12 +4,12 @@ xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > - -Carbs Linux -a simple busybox linux distribution -https://carbslinux.org - -Jun Sat 2020 20:00 + + Carbs Linux + a simple linux distribution + https://carbslinux.org + + Sun Jul 26 2020 22:00 June Newspost Wed, 17 Jun 2020 @@ -388,5 +388,5 @@ and POSIX sh. I am not yet exactly familiar with rc, but I will replace the shell scripts when I feel like I can.</p> - + diff --git a/templates/blog-index b/templates/blog-index new file mode 100644 index 0000000..b00877c --- /dev/null +++ b/templates/blog-index @@ -0,0 +1,8 @@ +Blog Index +================================================================================ + +This is the Carbs Linux Blog Index. You can find every post here. [RSS Feed] + +[RSS Feed]: /rss.xml + + diff --git a/templates/rss.xml b/templates/rss.xml new file mode 100644 index 0000000..cb45b89 --- /dev/null +++ b/templates/rss.xml @@ -0,0 +1,15 @@ + + + + Carbs Linux + a simple linux distribution + https://carbslinux.org + + {{ DATE }} + {{ CONTENT }} + + diff --git a/templates/template.html b/templates/template.html new file mode 100644 index 0000000..f6c753c --- /dev/null +++ b/templates/template.html @@ -0,0 +1,27 @@ + + + + {{ TITLE }} + + + + + + +

    Carbs Linux - a simple linux distribution

    +
    + {{ CONTENT }} + View Page Source +
    + + + + -- cgit v1.2.3