diff --git a/.gitea/workflows/generate-iso.yaml b/.gitea/workflows/generate-iso.yaml index c6df53e..16bbd59 100644 --- a/.gitea/workflows/generate-iso.yaml +++ b/.gitea/workflows/generate-iso.yaml @@ -31,7 +31,6 @@ jobs: ### Run all steps inside Debian Bookworm container: image: debian:trixie - options: --user root steps: - name: Basic Image Setup and enable Bookworm Backports. @@ -40,12 +39,12 @@ jobs: apt-get install -y apt-transport-https apt-utils ca-certificates openssl sudo echo 'deb https://deb.debian.org/debian bookworm-backports main' \ >| /etc/apt/sources.list.d/bookworm-backports.list - sudo apt-get update + apt-get update - name: Installing Build Tools. run: | - sudo apt-get update - sudo apt-get install -y \ + apt-get update + apt-get install -y \ cryptsetup \ curl \ debootstrap \ @@ -132,27 +131,27 @@ jobs: touch opt/config/authorized_keys && chmod 0600 opt/config/authorized_keys echo "${{ secrets.CISS_DLB_ROOT_PWD }}" >| opt/config/password.txt echo "${{ secrets.CISS_DLB_ROOT_SSH_PUBKEY }}" >| opt/config/authorized_keys - mkdir -p opt/livebuild/chroot/dev - mknod opt/livebuild/chroot/dev/null c 1 3 - chmod 666 opt/livebuild/chroot/dev/null + #mkdir -p opt/livebuild/chroot/dev + #mknod opt/livebuild/chroot/dev/null c 1 3 + #chmod 666 opt/livebuild/chroot/dev/null - name: Starting CISS.debian.live.builder. This may take a while ... run: | - sudo chmod 0755 ciss_live_builder.sh + chmod 0755 ciss_live_builder.sh timestamp=$(date -u +"%Y_%m_%d_%H_%M_Z") ### Change "--autobuild=" to the specific kernel version you need: 6.12.22+bpo-amd64. - sudo ./ciss_live_builder.sh \ - --autobuild=6.12.22+bpo-amd64 \ - --architecture amd64 \ - --build-directory opt/livebuild \ - --control "${timestamp}" \ - --debug \ - --dhcp-centurion \ - --jump-host "${{ secrets.CISS_DLB_JUMP_HOSTS }}" \ - --provider-netcup-ipv6 "${{ secrets.CISS_DLB_NETCUP_IPV6 }}" \ - --root-password-file opt/config/password.txt \ - --ssh-port 42842 \ - --ssh-pubkey opt/config + ./ciss_live_builder.sh \ + --autobuild=6.12.22+bpo-amd64 \ + --architecture amd64 \ + --build-directory opt/livebuild \ + --control "${timestamp}" \ + --debug \ + --dhcp-centurion \ + --jump-host "${{ secrets.CISS_DLB_JUMP_HOSTS }}" \ + --provider-netcup-ipv6 "${{ secrets.CISS_DLB_NETCUP_IPV6 }}" \ + --root-password-file opt/config/password.txt \ + --ssh-port 42842 \ + --ssh-pubkey opt/config if [[ $(ls opt/livebuild/*.iso 2>/dev/null | wc -l) -ne 1 ]]; then echo "❌ There must be exactly one .iso file in the directory!" exit 1