Fix some typos and README layout.

This commit is contained in:
cyteen 2024-05-03 22:35:47 +01:00
parent 230dcafc12
commit 60ff691c71
2 changed files with 7 additions and 6 deletions

View File

@ -37,7 +37,8 @@ docker build -t sd-images https://github.com/johang/sd-card-images.git
mkdir -p /tmp/sd-images mkdir -p /tmp/sd-images
docker run --rm \ docker run --rm \
-v /tmp/sd-images:/artifacts \ -v /tmp/sd-images:/artifacts \
sd-images build-boot ROCKPro64 rk3399 rockpro64-rk3399_defconfig aarch64-linux-gnu devuan/sd-images \
build-boot ROCKPro64 rk3399 rockpro64-rk3399_defconfig aarch64-linux-gnu
``` ```
The image will end up in /tmp/sd-images on the host. The image will end up in /tmp/sd-images on the host.
@ -50,7 +51,8 @@ mkdir -p /tmp/sd-images
docker run --rm \ docker run --rm \
-v /tmp/sd-images:/artifacts \ -v /tmp/sd-images:/artifacts \
-v /usr/share/debootstrap/scripts:/usr/share/debootstrap/scripts \ -v /usr/share/debootstrap/scripts:/usr/share/debootstrap/scripts \
sd-images build-boot banana_pi_m2_plus allwinner-h5 bananapi_m2_plus_h5_defconfig aarch64-linux-gnu devuan/sd-images \
build-boot banana_pi_m2_plus allwinner-h5 bananapi_m2_plus_h5_defconfig aarch64-linux-gnu
``` ```
The image will end up in /tmp/sd-images on the host. The image will end up in /tmp/sd-images on the host.
@ -76,6 +78,7 @@ docker run --rm \
-v /tmp/sd-images:/artifacts \ -v /tmp/sd-images:/artifacts \
-v /usr/share/debootstrap/scripts:/usr/share/debootstrap/scripts \ -v /usr/share/debootstrap/scripts:/usr/share/debootstrap/scripts \
-v /etc/apt/trusted.gpg.d:/etc/apt/trusted.gpg.d \ -v /etc/apt/trusted.gpg.d:/etc/apt/trusted.gpg.d \
--privileged \
devuan/sd-images \ devuan/sd-images \
build-debian devuan arm64 daedalus build-debian devuan arm64 daedalus
``` ```

View File

@ -7,8 +7,6 @@ DIST="$3" # For example "buster"
set -ex set -ex
echo "scripts/build-debian: \${OS}-\${ARCH}: ${OS}-${ARCH}"
case "${OS}-${ARCH}" in case "${OS}-${ARCH}" in
devuan-armhf) devuan-armhf)
KERNEL=linux-image-armmp KERNEL=linux-image-armmp
@ -205,8 +203,8 @@ devuan)
/usr/bin/apt-get update /usr/bin/apt-get update
/usr/bin/apt-get -y upgrade /usr/bin/apt-get -y upgrade
/usr/bin/apt-get -y --no-install-recommends ${KERNELSUITE} install ${KERNEL} /usr/bin/apt-get -y --no-install-recommends ${KERNELSUITE} install ${KERNEL}
/usr/bin/apt-get -y connman /usr/bin/apt-get -y install connman
/usr.bin.apt-get -y openntpd /usr/bin/apt-get -y install openntpd
/usr/bin/apt-get clean /usr/bin/apt-get clean
/bin/rm -rf /var/lib/apt/lists/* /bin/rm -rf /var/lib/apt/lists/*
/usr/bin/dpkg-query --showformat='kernel,\${Version}\n' --show ${KERNEL} > /tmp/versions.csv /usr/bin/dpkg-query --showformat='kernel,\${Version}\n' --show ${KERNEL} > /tmp/versions.csv