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

Bug#318877: udpkg: Avoid error message on first run



Petter Reinholdtsen wrote:
> Well, then d-i should have one on first time boot, to avoid confusing
> users reading the boot log with this error message.
> 
> Every time d-i boots, it prints out this error message.  It is
> confusing and annoying.

Erm, every d-i image contains a status file by virtue of consisting of
udebs installed by dpkg. 

joey@dragon:~/src/d-i/installer/build>grep status Makefile
        touch $(DPKGDIR)/status
        # Add a dummy entry for the debian installer itself to the status
        echo "Package: debian-installer" >> $(DPKGDIR)/status
        echo "Status: install ok installed" >> $(DPKGDIR)/status
        echo "Version: $(subst _,-,$(targetstring))-$(BUILD_DATE)" >> $(DPKGDIR)/status
        echo "Description: debian installation image" >> $(DPKGDIR)/status
        echo >> $(DPKGDIR)/status
                perl -e 'my $$status=0; my $$drop=shift; while (<>) { if (/^[A-Z]/ || /^$$/) { if (/^(Choices|Description)-($$drop)/) { $$status = 0 } else { $$status = 1 } } print if ($$status); }' ${DROP_LANG} < $$FILE > temp; \

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: