From 52ff98b0de4564dfb4154f7ccc970072cb87f837 Mon Sep 17 00:00:00 2001 From: Steve McIntyre <93sam@debian.org> Date: Sun, 23 Aug 2009 11:08:30 +0000 Subject: [PATCH] Create apt/preferences.d in APTTMP, keeps newer apt from printing a warning. --- Makefile | 2 +- debian/changelog | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e8f92a78..5aae2046 100755 --- a/Makefile +++ b/Makefile @@ -190,7 +190,7 @@ status: init $(ADIR)/status $(ADIR)/status: @echo "Generating a fake status file for apt-get and apt-cache..." $(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 \ :> $(ADIR)/$(CODENAME)-$$ARCH/status ; \ else \ diff --git a/debian/changelog b/debian/changelog index 33f05ffb..48c5c39a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -24,6 +24,7 @@ debian-cd (3.1.3) UNRELEASED; urgency=low packages or D-I components relative to a regular image. * Add variant to create i386/amd64 images that support installing Xen guests. * Recognise and ignore Enhances: lines. + * Create apt/preferences.d in APTTMP, keeps newer apt from printing a warning. [ Raphaƫl Hertzog ] * Fallback looking for syslinux/silo/yaboot in $CODENAME when $DI_CODENAME