[Git-commits] [grml/grml-live] 121b34: Switch from aptitude to apt-get as package manager...
Michael Prokop
mika at grml.org
Sat Nov 26 00:12:38 CET 2016
Branch: refs/heads/master
Home: https://github.com/grml/grml-live
Commit: 121b3484e6301de73a1c5f3cc89ba4997de9ba08
https://github.com/grml/grml-live/commit/121b3484e6301de73a1c5f3cc89ba4997de9ba08
Author: Michael Prokop <mika at grml.org>
Date: 2016-11-26 (Sat, 26 Nov 2016)
Changed paths:
M db/db-to-fai
M docs/grml-live.txt
M etc/grml/fai/config/package_config/DEBIAN_SQUEEZE
M etc/grml/fai/config/package_config/DEBIAN_WHEEZY
M etc/grml/fai/config/package_config/GRMLBASE
M etc/grml/fai/config/package_config/GRML_FULL
M etc/grml/fai/config/package_config/GRML_SMALL
M etc/grml/fai/config/package_config/IGNORE
M etc/grml/fai/config/package_config/LATEX
M etc/grml/fai/config/package_config/XORG
Log Message:
-----------
Switch from aptitude to apt-get as package manager in package list
So far we used "PACKAGES aptitude" to use aptitude as package
manager. FAI's install_packages supports different commands
(package managers) though, see `install_packages -H`:
% install_packages -H | grep -e '^\s*aptitude ' -e '^\s*install '
aptitude aptitude -R -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew install
install apt-get -y -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confnew --fix-missing install
FAI versions until 5.3** support ignoring packages via:
| PACKAGES install
|
| packagename-
We can use that feature in the IGNORE class to avoid e.g. the
installation of the partimage package which is currently
unavailable in Debian/testing and therefore would fail the build
(because of aptitude's #835372 behavior change).
** NOTE: FAI v5.3 is broken regarding this behavior, so we've to
use FAI 4.3.1+deb8u1 from jessie to use that feature (at least
until it's restored/fixed again).
More information about the Git-commits
mailing list