Create apt/preferences.d in APTTMP, keeps newer apt from printing a warning.

This commit is contained in:
Steve McIntyre 2009-08-23 11:08:30 +00:00
parent cb1a22e63d
commit 52ff98b0de
2 changed files with 2 additions and 1 deletions

View File

@ -190,7 +190,7 @@ status: init $(ADIR)/status
$(ADIR)/status: $(ADIR)/status:
@echo "Generating a fake status file for apt-get and apt-cache..." @echo "Generating a fake status file for apt-get and apt-cache..."
$(Q)for ARCH in $(ARCHES); do \ $(Q)for ARCH in $(ARCHES); do \
mkdir -p $(ADIR)/$(CODENAME)-$$ARCH; \ mkdir -p $(ADIR)/$(CODENAME)-$$ARCH/apt/preferences.d; \
if [ $$ARCH = "source" -o "$(INSTALLER_CD)" = "1" -o "$(INSTALLER_CD)" = "2" ];then \ if [ $$ARCH = "source" -o "$(INSTALLER_CD)" = "1" -o "$(INSTALLER_CD)" = "2" ];then \
:> $(ADIR)/$(CODENAME)-$$ARCH/status ; \ :> $(ADIR)/$(CODENAME)-$$ARCH/status ; \
else \ else \

1
debian/changelog vendored
View File

@ -24,6 +24,7 @@ debian-cd (3.1.3) UNRELEASED; urgency=low
packages or D-I components relative to a regular image. packages or D-I components relative to a regular image.
* Add variant to create i386/amd64 images that support installing Xen guests. * Add variant to create i386/amd64 images that support installing Xen guests.
* Recognise and ignore Enhances: lines. * Recognise and ignore Enhances: lines.
* Create apt/preferences.d in APTTMP, keeps newer apt from printing a warning.
[ Raphaël Hertzog ] [ Raphaël Hertzog ]
* Fallback looking for syslinux/silo/yaboot in $CODENAME when $DI_CODENAME * Fallback looking for syslinux/silo/yaboot in $CODENAME when $DI_CODENAME