ISOVER = $(shell echo $(VERSION) | sed 's/-.*$$//')
-ISO = simple-cdd/images/debian-7.8-amd64-CD-1.iso
+ISO = simple-cdd/images/debian-12-amd64-CD-1.iso
TARGET_ISO = debian-trc6500-$(ISOVER).iso
mv $< $@
$(ISO): $(TARGET_DEB)
- cd simple-cdd && build-simple-cdd --dist wheezy --conf ./simple-cdd.conf
+ cd simple-cdd && build-simple-cdd --keyring ~/.gnupg/pubring.gpg --dist bookworm --conf ./simple-cdd.conf
masterfile: $(TARGET_DEB)
-# Debian GNU/Linux 7.5.0
+#deb http://ftp.fr.debian.org/debian/ bookworm main non-free-firmware
+#deb-src http://ftp.fr.debian.org/debian/ bookworm main non-free-firmware
-#deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 DVD Binary-3 20140426-13:37]/ wheezy contrib main
-#deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 DVD Binary-2 20140426-13:37]/ wheezy contrib main
-#deb cdrom:[Debian GNU/Linux 7.5.0 _Wheezy_ - Official amd64 DVD Binary-1 20140426-13:37]/ wheezy contrib main
+#deb http://security.debian.org/debian-security bookworm-security main non-free-firmware
+#deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware
-#deb http://security.debian.org/ wheezy/updates main contrib non-free
-#deb-src http://security.debian.org/ wheezy/updates main contrib non-free
-
-# wheezy-updates, previously known as 'volatile'
-# A network mirror was not selected during install. The following entries
-# are provided as examples, but you should amend them as appropriate
-# for your mirror of choice.
-#
-# deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
-# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
+# bookworm-updates, to get updates before a point release is made;
+# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
+#deb http://ftp.fr.debian.org/debian/ bookworm-updates main non-free-firmware
+#deb-src http://ftp.fr.debian.org/debian/ bookworm-updates main non-free-firmware
-deb [arch=amd64,all] http://192.168.0.53/debian-amd64 wheezy contrib main non-free
+deb [arch=amd64,all] http://192.168.0.53/debian-amd64 bookworm contrib main non-free-firmware
deb [arch=amd64,all] http://192.168.0.53/cots softndesign main debug
bash-completion
bc
bind9-host
+binutils-multiarch
bsd-mailx
bsdmainutils
bsdutils
curl
daemon
dash
-db5.1-util
+db5.3-util
dc
dce
debconf
dnsutils
dosfstools
dpkg
-e2fslibs
+#e2fslibs
e2fsprogs
eject
etherwake
file
findutils
#firmware-bnx2 refuses to be added to local packages, we'll install it in postinst manually
-#firmware-bnx2
+firmware-bnx2
firmware-linux-free
+#firmware-misc-nonfree
fonts-liberation
freeipmi-tools
ftp
gawk
-gcc-4.7-base
+#gcc-4.7-base
gdb
#gdisk
gettext-base
grub-common
grub-pc
gzip
-hddtemp
+#hddtemp
hdparm
-host
hostname
ifupdown
info
installation-report
iperf
ipmitool
-iproute
+iproute2
iptables
iptables-persistent
-iptraf
+iptraf-ng
iputils-ping
isc-dhcp-client
isc-dhcp-common
laptop-detect
less
libacl1
-libapt-inst1.5
-libapt-pkg4.12
+#libapt-inst1.5
+libapt-pkg6.0
libattr1
libavahi-client3
libavahi-common-data
libavahi-common3
libblkid1
-libboost-iostreams1.49.0
+libboost-iostreams1.74.0
libbz2-1.0
libc-bin
libc6
libcalloc1
libcap2-bin
libclass-accessor-perl
-libcomerr2
-libcroco3
+libcom-err2
+#libcroco3
libcups2
-libcwidget3
+libcwidget4
libcycle1
-libdb5.1
+libdb5.3
libdbus-1-3
libdebug1
-libelfg0
-libept1.4.12
+libelf-dev
+libept1.6.0
libfile-copy-recursive-perl
-libgcc1
-libgcrypt11
-libgdbm3
-libgnutls26
+#libgcc1
+libgcrypt20
+libgdbm6
+libgnutls30
libgpg-error0
-libidn11
+libidn12
libjbig0
libkmod2
liblist-moreutils-perl
liblocale-gettext-perl
liblockfile-bin
-liblog4cxx10
+liblog4cxx15
liblzma5
libmcore1
libmount1
-libncurses5
-libncursesw5
+libncurses6
+libncursesw6
libnewt0.52
libnfnetlink0
-libopenthreads14
+libopenthreads21
libp11-kit0
libpam-modules
libpam-modules-bin
libpam0g
libpipeline1
libpopt0
-libprocps0
-libreadline6
-librtmp0
+#libprocps0
+libreadline8
+librtmp1
libselinux1
libsemanage-common
-libsemanage1
-libsepol1
-libsigc++-2.0-0c2a
+libsemanage2
+libsepol2
+libsigc++-2.0-0v5
libslang2
libsqlite3-0
libss2
libssh2-1
-libssl1.0.0
-libstdc++6
+libssl3
+#libstdc++6
libsub-name-perl
-libtasn1-3
+libtasn1-6
libtdb1
libtext-charwidth-perl
libtext-iconv-perl
libusb-0.1-4
libustr-1.0-1
libuuid1
-libxapian22
+libxapian30
libxml-simple-perl
linux-image-amd64
lm-sensors
memstat
mlocate
mount
-multiarch-support
mutt
nano
ncurses-base
procmail
procps
psmisc
-python-apt
-python-reportbug
-python-support
-python-twisted-web
+#python-apt
+#python-reportbug
+#python-support
+#python-twisted-web
+python3
raf
readline-common
reportbug
screen
sed
sensible-utils
-sensord
+#sensord
smbclient
snmp
snmpd
swb
syslinux
sysv-rc
-sysvinit
+sysvinit-core
sysvinit-utils
tar
task-english
-task-file-server
+#task-file-server
task-ssh-server
tasksel
tasksel-data
# first we install the packages we couldn't install automatically
echo 'Installing additional package : firmware-bnx2...'
-dpkg -i /media/cdrom/simple-cdd/firmware-bnx2_0.36+wheezy.1_all.deb
+dpkg -i /media/cdrom/simple-cdd/firmware-bnx2_20230210-5_all.deb
echo 'Additional packages installed'
#debugging
- splash-thales.png is a 640*480 image used for the splashscreen
+** Setup build environment
+
+- some packages need to be installed:
+ apt build-essential debhelper simple-cdd
+- user must have a GPG private key to sign trc6500master package (check name in changelog)
+- unfortunatly some GPG public keys are missing for bookworm distribution (A7236886F3CCCAAD148A27F80E98404D386FA1D9 4D64FEC119C2029067D6E791F8D2585B8783D481 4CB50190207B4758A3F73A796ED0E7B82643E131 ED541312A33F1128F10B1C6C54404762BBB6E853 B0CAB9266E8C3929798B3EEEBDE6D2B9216EC7A8), they can be retrieved and install into user trusted key ring.
+ for key in $list; do gpg --keyserver hkps://keyserver.ubuntu.com --recv-keys $key; done
+- to use the user trusted key ring, add the option --keyring ~/.gnupg/pubring.gpg
+- last thing, there's a bug and dep11 repository is not retrieved:
+ source debian6500/simple-cdd/simple-cdd.conf
+ wget ftp://ftp.fr.debian.org/debian/dists/bookworm/main/dep11/Components-amd64.yml.gz
+ mkdir -p $working_dir/simple-cdd/tmp/mirror/dists/bookworm/main/dep11/
+ mv Components-amd64.yml.gz $working_dir/simple-cdd/tmp/mirror/dists/bookworm/main/dep11/
+
+
** How build-simple-cdd works
The build-simple-cdd program is to be called like this :
-build-simple-cdd --dist wheezy --conf ./simple-cdd.conf
+build-simple-cdd --dist bookworm --conf ./simple-cdd.conf
Most options described in the documentation are included in the simple-cdd.conf file. The program will use those (in addition to the default settings) to build a list of what is to be included on the CD. Primarily, it includes itself, profile(s) scripts, and pulls packages (from the <profile>.packages list) from whatever repositories are in /etc/apt/sources.list, or from the ./tmp folder if the packages have already been fetched.
# normally we should use the built-in simple_cdd_dir but I have doubts.. Let's use this.
# you'll probably want to change that
-working_dir="/home/trc6500/cdd-attempt"
+#working_dir="/home/trc6500/cdd-attempt"
working_dir=$(pwd)
# Profiles to include on the CD
auto_profiles="trc6500"
do_mirror="true"
-debian_mirror="ftp://integration2/debian"
-profiles_udeb_dist="wheezy"
-mirror_component="main"
-mirror_tools="wget"
+#debian_mirror="ftp://integration2/debian"
+debian_mirror="ftp://ftp.fr.debian.org/debian/"
+profiles_udeb_dist="bookworm"
+mirror_component="main non-free-firmware"
+#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.
# we'll unpack that during install
# for now, this includes : myrc.local, TRC6500.pub, local_packages/firmware-bnx2, and the deb package with all the master files
# additionally, the bnx2 firmware is there because it resists being added to local_packages for some odd reason. So we'll install it by hand.
-#all_extras="${working_dir}/master.tar.gz,${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_0.36+wheezy.1_all.deb"
-all_extras="${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_0.36+wheezy.1_all.deb, $(find ${working_dir}/.. -maxdepth 1 -name trc6500-master-file\*.deb|sort|tail -1)"
+#all_extras="${working_dir}/master.tar.gz,${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_20230210-5_all.deb"
+all_extras="${working_dir}/myrc.local,${working_dir}/TRC6500.pub,${working_dir}/local_packages/firmware-bnx2_20230210-5_all.deb, $(find ${working_dir}/.. -maxdepth 1 -name trc6500-master-file\*.deb|sort|tail -1)"
# added value
export SPLASHPNG="${working_dir}/splash-thales.png"
+trc6500-master-file (12.5.0-1) unstable; urgency=low
+
+ * Adapt to Debian 12
+
+ -- Laurent Mazet <mazet@softndesign.org> Thu, 29 Feb 2024 10:33:15 +0200
+
trc6500-master-file (7.8.11-1) unstable; urgency=low
* Correct error in swm configuration (vlan 11)