[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Why does simple-cdd queues twice simple-cdd-profiles-<version>.udeb for installation?

Hi Vagrant and folks:

I'm taking a look how simple-cdd works on it's guts. Now I'm looking how
profiles selection is performed. So 'default.preseed' has:

d-i preseed/early_command string anna-install simple-cdd-profiles

And in 'postinst' of simple-cdd-profiles_0.3.9_all.udeb we've got:

echo "Queuing simple-cdd udebs..."
for p in default $profiles ; do
     if [ -r "$p.udebs" ]; then
        echo "Queuing udebs for profile: $p"
        wanted_packages="$(egrep -v ^# $p.udebs)"
        anna-install $wanted_packages || true
        echo "No udeb list for profile: $p"
echo "Finished queueing simple-cdd udebs"

So 'wanted_packages' variable gets at least 'simple-cdd-profiles', which is
queued again to installation.... why ??

Thanks a lot in advance
Lucas Braislino

Reply to: