From: Laurent Mazet Date: Fri, 22 Mar 2024 22:20:58 +0000 (+0100) Subject: update to Debian 12 (2) X-Git-Tag: debian_12.5.0~2 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=1dbbd72a91ee2bc717b449b82a4f36d954715a83;hp=f5f2b8a06300ad05c882d2db9fbcfab2dad7fa06;p=debian6500.git update to Debian 12 (2) --- diff --git a/Makefile b/Makefile index 21ea5a5..c9dbc38 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ TARGET_ISO = debian-trc6500-$(ISOVER).iso TARGET_DEB = $(MASTERFILE)_$(VERSION)_all.deb -all: iso masterfile +all: fix_bookworm iso masterfile iso: $(TARGET_ISO) @@ -28,6 +28,14 @@ $(TARGET_DEB): echo $(ISOVER) > master/etc/trc6500_os_version make -C $(MASTERFILE) +fix_bookworm: simple-cdd/tmp/mirror/dists/bookworm/main/dep11/Components-amd64.yml.gz + for key in A7236886F3CCCAAD148A27F80E98404D386FA1D9 4D64FEC119C2029067D6E791F8D2585B8783D481 4CB50190207B4758A3F73A796ED0E7B82643E131 ED541312A33F1128F10B1C6C54404762BBB6E853 B0CAB9266E8C3929798B3EEEBDE6D2B9216EC7A8; do gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys $$key; done + +simple-cdd/tmp/mirror/dists/bookworm/main/dep11/Components-amd64.yml.gz: + wget ftp://ftp.fr.debian.org/debian/dists/bookworm/main/dep11/`basename $@` + mkdir -p `dirname $@` + mv `basename $@` $@ + clean: rm -f $(TARGET_DEB) $(TARGET_ISO) diff --git a/master/etc/default/webconfig b/master/etc/default/webconfig index 195207f..32669e6 100644 --- a/master/etc/default/webconfig +++ b/master/etc/default/webconfig @@ -1,13 +1,21 @@ # Weconfig configure options -# Should webconfig be enabled? -#ENABLED=1 +# ALIASES: filename containing form declaration +#ALIASES="-a /etc/webconfig/alias.csv" +ALIASES= -# ALIAS: filename containing form declaration -#ALIAS=/etc/webconfig/alias.csv +# ALIASRC: directory containing form declaration +ALIASRC="-r /etc/webconfig/alias.d" + +# CERT: filename containing ssl certificat +# CERT="-c /etc/webconfig/cert.pem" +CERT= + +# CA: filename containing ssl certificat authority +# CA="-k /etc/ssl/certs/ca.pem" +CA= # PORT: server port -PORT=8080 +PORT="-p 8080" -# RESOURCE: directory containing alias files -#RESOURCE=/etc/webconfig/alias.d +ARGS=$ALIASES $ALIASRC $CERT $CA $PORT diff --git a/simple-cdd/local_packages/webconfig_1.17.0-1_all.deb b/simple-cdd/local_packages/webconfig_1.17.0-1_all.deb index 54de3bb..c33ab1f 100644 Binary files a/simple-cdd/local_packages/webconfig_1.17.0-1_all.deb and b/simple-cdd/local_packages/webconfig_1.17.0-1_all.deb differ diff --git a/simple-cdd/profiles/trc6500.packages b/simple-cdd/profiles/trc6500.packages index a5e608c..d697c75 100644 --- a/simple-cdd/profiles/trc6500.packages +++ b/simple-cdd/profiles/trc6500.packages @@ -285,3 +285,4 @@ xz-utils yasm zip zlib1g +zstd diff --git a/simple-cdd/profiles/trc6500.preseed b/simple-cdd/profiles/trc6500.preseed index c64f3a4..b3a5c56 100644 --- a/simple-cdd/profiles/trc6500.preseed +++ b/simple-cdd/profiles/trc6500.preseed @@ -90,14 +90,18 @@ d-i partman/mount_style select traditional # GRUB configuration -grub grub-pc/install_devices multiselect /dev/sda +d-i grub-installer/bootdev string default +d-i grub-installer/only_debian boolean true # unlike what the internet would tell you, sending this command to d-i doesn't work +grub grub-pc/install_devices multiselect /dev/sda # iptables configuration - iptables-persistent iptables-persistent/autosave_v6 boolean false iptables-persistent iptables-persistent/autosave_v4 boolean false +# Scan for additionnal device +d-i apt-setup/cdrom/set-first boolean false + # APT configuration d-i apt-setup/use_mirror boolean false popularity-contest popularity-contest/participate boolean false diff --git a/simple-cdd/simple-cdd.conf b/simple-cdd/simple-cdd.conf index 733613b..18ed8c7 100644 --- a/simple-cdd/simple-cdd.conf +++ b/simple-cdd/simple-cdd.conf @@ -15,6 +15,7 @@ do_mirror="true" debian_mirror="ftp://ftp.fr.debian.org/debian/" profiles_udeb_dist="bookworm" mirror_component="main non-free-firmware" +export NONFREE=1 #mirror_tools="wget" # default for mirror_tools is "wget reprepro". However, if we use reprepro, build-simple-cdd doesn't read the local_packages option, because it assumes reprepro has already built those into the mirror. But we're not building the mirror here, so we never actually get them. If we disable reprepro, it will actually look into local_packages. # Note that all this was because we were using the previously-built mirror in ./tmp instead of being connected to a repository like we'd normally do. If you don't do that just delete those things.