Hi all I just upgraded the pinning hook so that it also works with packages already defined in /etc/apt/preferences (e.g. because you want to take them from backports.debian.org, etc.)
Again a short summary why we need this hook: The users of our Debian Live based distribution have a DVD with the operating system and a USB flash drive with the operating system and a live-rw partition for persistency. Our users constantly switch between Mac and PC. On the PC they boot from the USB flash drive, on the Mac they boot from the DVD (because Macs can't boot from a Debian Live USB flash drive) but live-rw is taken from the USB flash drive. We must *PREVENT*(!) kernel upgrades because otherwise they run into inconsistencies when using the system on a Mac (available kernel modules suddenly don't fit the currently used kernel, etc.). Therefore we pin the kernel related packages at the end of the build process with this hook. Feel free to use it, improve it or just ignore it. Ronny -- Ronny Standtke Fachhochschule Nordwestschweiz Dozent MedienpƤdagogik / ICT PƤdagogische Hochschule Telefon: +41 32 628 67 08 Obere Sternengasse 7 Mobil : +41 79 786 81 82 4502 Solothurn
pin_packages.sh
Description: application/shellscript