Add support for Devuan images #2

Open
harry wants to merge 7 commits from cherry into master
Collaborator

rebuild-debian-csv now gets codenames from the Debian,
Ubuntu and Devuan repository web pages, because
Devuan does not have an ls-lR.gz file.

Adds Dockerfile.devuan to build from a Devuan image.

README_devuan.md extends README.md.

Fix for when fallocate fails on (git CI) COW filesystems.

rebuild-debian-csv now gets codenames from the Debian, Ubuntu and Devuan repository web pages, because Devuan does not have an ls-lR.gz file. Adds Dockerfile.devuan to build from a Devuan image. README_devuan.md extends README.md. Fix for when fallocate fails on (git CI) COW filesystems.
harry added 7 commits 2024-05-14 01:16:30 +00:00
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Has been cancelled Details
sd-card-images CI / build docker images (push) Has been cancelled Details
82a488eb5e
Fix: 'truncate' work-around for git CI on COW files systems.
fallocate fails on some (git CI) COW filesystems, so have a
coreutils alternative.

build-boot-rpi
build-debian
build-image
qemu.sh
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Has been cancelled Details
sd-card-images CI / build docker images (push) Has been cancelled Details
a77e59ebcc
README_devuan.md: Get Dockerfile.devuan directly from a git branch.
e80334bb1a rebuild-debian-csv: Use dist names not ls-lR.gz.
Get codenames from the package repository's web page, because
Devuan does not have an ls-lR.gz file.

Uses python3-lxml.
d3a0e4fbd6 rebuild-debian-csv: Add Devuan Linux release names.
Needs rebuild-debian-csv: Use dist names not ls-lR.gz.

debians-arm.csv
debians-x86.csv
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Has been cancelled Details
sd-card-images CI / build docker images (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (pull_request) Failing after 9m38s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (pull_request) Failing after 10m27s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (pull_request) Failing after 8m48s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (pull_request) Failing after 8m51s Details
sd-card-images CI / build docker images (pull_request) Has been skipped Details
74da5a3862
Add Dockerfile to build Devuan Linux images.
Dockerfile.devuan is FROM devuan/devuan:daedalus
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Has been cancelled Details
sd-card-images CI / build docker images (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Has been cancelled Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (pull_request) Failing after 5m25s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (pull_request) Failing after 9m12s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (pull_request) Failing after 10m6s Details
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (pull_request) Failing after 8m45s Details
sd-card-images CI / build docker images (pull_request) Has been skipped Details
6aab11bc17
chore: build-debian: revert layout of debootstrap commands
harry changed title from WIP: Add support for Devuan images to Add support for Devuan images 2024-05-14 01:18:47 +00:00
Owner

Suggest:

  • the README_devuan.md should not have -v $PWD for anything other than testing
  • while we are using a different Dockerfile we should use a local -f dot to the build command
  • we should be able to add devuan sources.list to the ubuntu dockerfile to add devuan keys and the devuan debootstrap package, adding the keys directly just made the code messy and the ubuntu debootstrap chroot still didn't find the key.

This is part of the direct approach I tried earlier:
case ${OS} in
devuan)
case ${DIST} in
ceres | beowulf | chimaera | daedalus)
# https://www.devuan.org/os/keyring
# Ceres, Beowulf, Chimaera and Daedalus
RELEASE_KEY="94532124541922FB"
gpg --keyserver keyring.devuan.org --recv-keys "${RELEASE_KEY}"
gpg --fingerprint ${RELEASE_KEY}
gpg --export ${RELEASE_KEY} >/tmp/devuan_key.gpg
mkdir -p ${TARGET}/etc/apt/trusted.gpg.d/
cp /tmp/devuan_key.gpg ${TARGET}/etc/apt/trusted.gpg.d/devuan_key.gpg
;;
excalibur)
# Excalibur
RELEASE_KEY="B3982868D104092C"
gpg --keyserver keyring.devuan.org --recv-keys "${RELEASE_KEY}"
gpg --fingerprint "${RELEASE_KEY}"
gpg --export ${RELEASE_KEY} >/tmp/devuan_key.gpg
mkdir -p ${TARGET}/etc/apt/trusted.gpg.d/
cp /tmp/devuan_key.gpg ${TARGET}/etc/apt/trusted.gpg.d/devuan_key.gpg
;;
freia)
RELEASE_KEY="55C470D57732684B"
gpg --keyserver keyring.devuan.org --recv-keys "${RELEASE_KEY}"
gpg --fingerprint "${RELEASE_KEY}"
gpg --export ${RELEASE_KEY} >/tmp/devuan_key.gpg
mkdir -p ${TARGET}/etc/apt/trusted.gpg.d/
cp /tmp/devuan_key.gpg ${TARGET}/etc/apt/trusted.gpg.d/devuan_key.gpg
;;
esac

Suggest: * the README_devuan.md should not have -v $PWD for anything other than testing * while we are using a different Dockerfile we should use a local -f dot to the build command * we should be able to add devuan sources.list to the ubuntu dockerfile to add devuan keys and the devuan debootstrap package, adding the keys directly just made the code messy and the ubuntu debootstrap chroot still didn't find the key. This is part of the direct approach I tried earlier: case ${OS} in devuan) case ${DIST} in ceres | beowulf | chimaera | daedalus) # https://www.devuan.org/os/keyring # Ceres, Beowulf, Chimaera and Daedalus RELEASE_KEY="94532124541922FB" gpg --keyserver keyring.devuan.org --recv-keys "${RELEASE_KEY}" gpg --fingerprint ${RELEASE_KEY} gpg --export ${RELEASE_KEY} >/tmp/devuan_key.gpg mkdir -p ${TARGET}/etc/apt/trusted.gpg.d/ cp /tmp/devuan_key.gpg ${TARGET}/etc/apt/trusted.gpg.d/devuan_key.gpg ;; excalibur) # Excalibur RELEASE_KEY="B3982868D104092C" gpg --keyserver keyring.devuan.org --recv-keys "${RELEASE_KEY}" gpg --fingerprint "${RELEASE_KEY}" gpg --export ${RELEASE_KEY} >/tmp/devuan_key.gpg mkdir -p ${TARGET}/etc/apt/trusted.gpg.d/ cp /tmp/devuan_key.gpg ${TARGET}/etc/apt/trusted.gpg.d/devuan_key.gpg ;; freia) RELEASE_KEY="55C470D57732684B" gpg --keyserver keyring.devuan.org --recv-keys "${RELEASE_KEY}" gpg --fingerprint "${RELEASE_KEY}" gpg --export ${RELEASE_KEY} >/tmp/devuan_key.gpg mkdir -p ${TARGET}/etc/apt/trusted.gpg.d/ cp /tmp/devuan_key.gpg ${TARGET}/etc/apt/trusted.gpg.d/devuan_key.gpg ;; esac
Author
Collaborator
the README_devuan.md should not have -v $PWD for anything other than testing

Done. Removed -v $PWD from the example instructions.

while we are using a different Dockerfile we should use a local -f dot to the build command

Not done, breaks copy-and-paste.

Release early, release often.

the README_devuan.md should not have -v $PWD for anything other than testing Done. Removed -v $PWD from the example instructions. while we are using a different Dockerfile we should use a local -f dot to the build command Not done, breaks copy-and-paste. Release early, release often.
Some checks failed
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (push) Has been cancelled
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (push) Has been cancelled
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (push) Has been cancelled
sd-card-images CI / build docker images (push) Has been cancelled
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (push) Has been cancelled
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bookworm) (pull_request) Failing after 5m25s
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, bullseye) (pull_request) Failing after 9m12s
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, sid) (pull_request) Failing after 10m6s
sd-card-images CI / test ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.suite }} (i386, debian, trixie) (pull_request) Failing after 8m45s
sd-card-images CI / build docker images (pull_request) Has been skipped
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b cherry master
git pull origin cherry

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff cherry
git push origin master
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cyteen/sd-card-images#2
No description provided.