From 42b9edcc43566c144cf94e73e24a2af8c695a874 Mon Sep 17 00:00:00 2001 From: Johan Gunnarsson Date: Fri, 5 Aug 2022 14:59:46 +0200 Subject: [PATCH] README: Simplify build instructions --- README.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 97d7192..ca2535e 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,7 @@ These two images are the concatenated to a single image, which is then written t To build a boot image for Raspberry Pi 3 B: - git clone https://github.com/johang/sd-card-images.git sd-images - cd sd-images - docker build -t sd-images . + docker build -t sd-images https://github.com/johang/sd-card-images.git sd-images mkdir -p /tmp/sd-images docker run --rm -v /tmp/sd-images:/artifacts sd-images build-boot raspberrypi_3b bcm2837 rpi_3_defconfig aarch64-linux-gnu @@ -34,9 +32,7 @@ The image will end up in /tmp/sd-images on the host. To build a Debian ext4 root filesystem image for arm64: - git clone https://github.com/johang/sd-card-images.git sd-images - cd sd-images - docker build -t sd-images . + docker build -t sd-images https://github.com/johang/sd-card-images.git sd-images mkdir -p /tmp/sd-images docker run --rm -v /tmp/sd-images:/artifacts sd-images build-debian debian arm64 buster