You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.0 KiB
1.0 KiB
upgrade_debian_iso
Upgrade a provided debian iso with jigdo to last minor release.
Requirements
A (recent) debian host. Install the packages jigdo-file wget and udisks2 on it. Execute the script on a physical console (not ssh) to avoid polkit issues.
Usage
Adapt the config file release-name-architecture.txt to your case.
http_proxy=http://192.168.0.253:3142/
ISOFILE=$HOME/debian-12.12.0-i386-netinst.iso
JIGDO=$HOME/jigdo
DESTINATION=$HOME
MIRROR=http://debian.proxad.net
MIRRORNONUS=http://debian.proxad.net
Set or remove http_proxy if you have one (like apt-cacher-ng).
Set the (old) isofile path of the same release and architecture you have.
Set the paths you want and a specific mirror if you want.
$ bash upgrade.sh --configfile bookworm_i386.txt
...
It will upgrade the packages of the old medium file and generate a isofile in the last revision, the same as provided with a direct download.
You can burn it, copy it or use it the same as a downloaded netinst file.