$(RM) *.o *.so
rm -rf local_dir
+# Debian 12
+bookworm: clean fake-uname.so install
+ packer build -var debian_version=$@ -var grml_debootstrap_version=$(GRML_DEBOOTSTRAP_VERSION) -var grml_debootstrap_local_path=$(GRML_DEBOOTSTRAP_LOCAL_PATH) debian64.json
+
# Debian 11
bullseye: clean fake-uname.so install
packer build -var debian_version=$@ -var grml_debootstrap_version=$(GRML_DEBOOTSTRAP_VERSION) -var grml_debootstrap_local_path=$(GRML_DEBOOTSTRAP_LOCAL_PATH) debian64.json
@test "debian_version exists and is valid version" {
run cat "${mountpath}/etc/debian_version"
[ "$status" -eq 0 ]
- [[ "$output" == [0-9]*.[0-9]* ]] || [[ "$output" == 'bullseye/sid' ]]
+ [[ "$output" == [0-9]*.[0-9]* ]] || [[ "$output" == 'bookworm/sid' ]]
}
@test "kernel exists" {
apply_nic_workaround() {
# release specific stuff
case "$DEBIAN_VERSION" in
- stretch|buster|bullseye|unstable|sid)
+ stretch|buster|bullseye|bookworm|unstable|sid)
;;
*)
echo "* Debian $DEBIAN_VERSION doesn't require NIC workaround"