Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
4e659c0fef | ||
|
8be243209d |
6 changed files with 13 additions and 9 deletions
|
@ -5,7 +5,7 @@ name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build live-cd Image
|
- name: Build live-cd Image
|
||||||
image: debian:buster
|
image: debian:bullseye
|
||||||
privileged: true
|
privileged: true
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- apt update
|
||||||
|
|
5
auto/build
Executable file
5
auto/build
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
lb build noauto "${@}" 2>&1 | tee build.log
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
lb config noauto \
|
lb config noauto \
|
||||||
--architectures amd64 \
|
--architectures amd64 \
|
||||||
--distribution buster \
|
--distribution bullseye \
|
||||||
--backports true \
|
--bootappend-live "boot=live components initrd=/live/initrd.img keyboard-layouts=de" \
|
||||||
--bootappend-live "boot=live components initrd=/live/initrd.img" \
|
|
||||||
"${@}"
|
"${@}"
|
||||||
|
|
|
@ -4,10 +4,10 @@ NAME=debian-live-cd-$ID
|
||||||
DIR=$BASEDIR/$NAME
|
DIR=$BASEDIR/$NAME
|
||||||
|
|
||||||
echo "Generating container under $DIR"
|
echo "Generating container under $DIR"
|
||||||
zfs snapshot ztstor/ROOT/archie/var/lib/machines/buster-template@${ID}
|
zfs snapshot ztstor/ROOT/archie/var/lib/machines/bullseye-template@${ID}
|
||||||
zfs clone \
|
zfs clone \
|
||||||
-o mountpoint=$DIR \
|
-o mountpoint=$DIR \
|
||||||
ztstor/ROOT/archie/var/lib/machines/buster-template@${ID} \
|
ztstor/ROOT/archie/var/lib/machines/bullseye-template@${ID} \
|
||||||
ztstor/ROOT/archie/var/lib/machines/$NAME
|
ztstor/ROOT/archie/var/lib/machines/$NAME
|
||||||
|
|
||||||
mkdir $DIR/var/live-build/
|
mkdir $DIR/var/live-build/
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[Image]
|
[Image]
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Archive-Areas: main contrib non-free
|
Archive-Areas: main contrib non-free
|
||||||
Distribution: buster
|
Distribution: bullseye
|
||||||
Mirror-Bootstrap: http://deb.debian.org/debian/
|
Mirror-Bootstrap: http://deb.debian.org/debian/
|
||||||
|
|
||||||
[FIXME]
|
[FIXME]
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
linux-headers-amd64
|
linux-headers-amd64
|
||||||
zfs-dkms/buster-backports
|
zfs-dkms
|
||||||
zfsutils-linux/buster-backports
|
zfsutils-linux
|
||||||
|
|
Loading…
Reference in a new issue