summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
8075b3f)
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).
# write fai header and package information to stdout:
echo "# package list of build $BUILD_ID from database $DB:"
# write fai header and package information to stdout:
echo "# package list of build $BUILD_ID from database $DB:"
- echo "PACKAGES aptitude"
+ echo "PACKAGES install"
awk -F\| '{print $1"="$2}' "$TMPFILE"
fi
awk -F\| '{print $1"="$2}' "$TMPFILE"
fi
Just create a new class (using the package_config directory):
# cat > /etc/grml/fai/config/package_config/MIKA << EOF
Just create a new class (using the package_config directory):
# cat > /etc/grml/fai/config/package_config/MIKA << EOF
vim
another_name_of_a_debian_package
vim
another_name_of_a_debian_package
# needed for linux-image-amd64-grml
linux-base/squeeze-backports
# needed for linux-image-amd64-grml
linux-base/squeeze-backports
zd1211-firmware
ifenslave-2.6
zd1211-firmware
ifenslave-2.6
apt-transport-https
busybox
apt-transport-https
busybox
xfonts-100dpi
xfonts-75dpi
xfonts-100dpi
xfonts-75dpi