From d8283e6726452471f45b17774e0a862d717d6c8f Mon Sep 17 00:00:00 2001 From: david Date: Thu, 16 May 2024 11:10:09 +0100 Subject: [PATCH] Chore: README_devuan.md: Place examples together at the end. --- README_devuan.md | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/README_devuan.md b/README_devuan.md index eae1ed6..8c3a25c 100644 --- a/README_devuan.md +++ b/README_devuan.md @@ -66,6 +66,31 @@ docker run --rm \ The image will end up in /tmp/sd-images on the host as ${BOARD_ID}.bin.gz. +### Build your own Devuan ext4 root filesystem image + +For any valid combination provided by the distribution: + | Variable| Value | + |--------------|----------------------| + | DISTRIBUTION | Devuan Debian Ubuntu | + | ARCH | armhf arm64 i386 amd64 | + | RELEASE | e.g. daedalus excalibur ceres bookworm trixie sid | + +To build: +```bash +docker build -t devuan/sd-images -f Dockerfile.devuan https://github.com/watchful-0wl/sd-card-images.git#add_devuan +mkdir -p /tmp/sd-images +docker run --rm \ + -v /tmp/sd-images:/artifacts \ + devuan/sd-images \ + build-debian ${DISTRIBUTION} ${ARCH} ${RELEASE} +``` + +The image will end up in /tmp/sd-images on the host as DISTRIBUTION-ARCH-RELEASE-PASSWORD.bin + +## Examples ## + +### Example boot image ### + #### To build a boot image for Raspberry Pi 3 B: ```bash @@ -114,26 +139,7 @@ docker run --rm \ The image will end up in /tmp/sd-images on the host. -### Build your own Devuan ext4 root filesystem image - -For any valid combination provided by the distribution: - | Variable| Value | - |--------------|----------------------| - | DISTRIBUTION | Devuan Debian Ubuntu | - | ARCH | armhf arm64 i386 amd64 | - | RELEASE | e.g. daedalus excalibur ceres bookworm trixie sid | - -To build: -```bash -docker build -t devuan/sd-images -f Dockerfile.devuan https://github.com/watchful-0wl/sd-card-images.git#add_devuan -mkdir -p /tmp/sd-images -docker run --rm \ - -v /tmp/sd-images:/artifacts \ - devuan/sd-images \ - build-debian ${DISTRIBUTION} ${ARCH} ${RELEASE} -``` - -The image will end up in /tmp/sd-images on the host as DISTRIBUTION-ARCH-RELEASE-PASSWORD.bin +### Example root filesystem image ### #### To build a Devuan ext4 root filesystem image for arm64: