From: Michael Prokop Date: Sun, 16 Dec 2007 15:23:33 +0000 (+0100) Subject: Store package list in /usr/share/doc/grml-docs/packages/dpkg_list X-Git-Tag: 0.0.13~16 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=cd492cedd3662bd8d6f04e17fd02bac9d3cfe2e6 Store package list in /usr/share/doc/grml-docs/packages/dpkg_list --- diff --git a/debian/changelog b/debian/changelog index 6deb80c..4b01ce5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,7 @@ grml-live (0.0.13) unstable; urgency=low * New option '-b' for "build-only". * Replace mailx with bsd-mailx in GRML_FULL. http://packages.qa.debian.org/b/bsd-mailx/news/20071209T135336Z.html + * Store package list in /usr/share/doc/grml-docs/packages/dpkg_list * Document grml2ram bootoption in grml-cheatcodes.txt * Use -no-progress for Squashfs build process. * Remove hwtools from GRML_FULL, see #397723 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/95-package-information b/etc/grml/fai/config/scripts/GRMLBASE/95-package-information index 9a9fd84..94687c3 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/95-package-information +++ b/etc/grml/fai/config/scripts/GRMLBASE/95-package-information @@ -4,7 +4,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. -# Latest change: Sat Oct 13 17:48:38 CEST 2007 [mika] +# Latest change: Sun Dec 16 16:23:04 CET 2007 [mika] ################################################################################ HOSTNAME='' @@ -22,6 +22,11 @@ if [ -x $target/usr/bin/dpkg-query ] ; then /var/log/fai/$HOSTNAME/last/packages.size fi +# generate the package list and store it on the ISO itself for grml-docs: +[ -d $target/usr/share/doc/grml-docs/packages ] || mkdir $target/usr/share/doc/grml-docs/packages +COLUMNS=200 $ROOTCMD dpkg --list > $target/usr/share/doc/grml-docs/packages/dpkg_list + +# store package list for the build process logs as well: COLUMNS=200 $ROOTCMD dpkg --list > /var/log/fai/$HOSTNAME/last/dpkg.list COLUMNS=200 $ROOTCMD dpkg --get-selections > /var/log/fai/$HOSTNAME/last/dpkg.selections