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