Package: di-utils
Severity: wishlist
File: /bin/apt-install
Since my request in #730162 was rejected, how about creating a log of
the packages installed by the installer using apt-install? apt-install
appears to be the thing used within the installer to install
hardware-specific things.
I'm currently using this hack to get what I wanted in #730162 and I
would like to replace as much of it as possible with features officially
supported by the Debian installer.
d-i preseed/early_command string \
mkdir -p /var/lib/apt-install ;\
sed -i '/exit 0/i\ echo $packages >> /var/lib/apt-install/log' /bin/apt-install
d-i preseed/late_command string \
+ (echo 'APT { NeverAutoRemove { ' ; sed 's/ /\xA/g' /var/lib/apt-install/log | sort -u | sed '/^[[:space:]]*$/d;s/^\(.*\)$/ "^\1$";/' ; echo '}; };') > /target/etc/apt/apt.conf.d/01autoremove-installer
--
bye,
pabs
http://wiki.debian.org/PaulWise
Attachment:
signature.asc
Description: This is a digitally signed message part