Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [PATCH 3/3] Create dpkg status file before calling APT

From: Steve McIntyre <steve(at)einval.com>
Date: Wed Aug 08 2007 - 06:03:19 EDT


On Tue, Aug 07, 2007 at 09:15:27PM -0300, Otavio Salvador wrote:
>From: Otavio Salvador <otavio@ossystems.com.br>
>
>APT uses the dpkg status file and then we should make an empty file if
>it doesn't exists.
>
>Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>---
>
> debian/changelog | 1 +
> tools/apt-selection | 3 +++
> 2 files changed, 4 insertions(+), 0 deletions(-)
>
>diff --git a/debian/changelog b/debian/changelog
>index 68f9411..e7d0769 100644
>--- a/debian/changelog
>+++ b/debian/changelog
>@@ -62,6 +62,7 @@ debian-cd (3.0.3) UNRELEASED; urgency=low
> behaviour (default to false)
> * Use DEBOOTSTRAP_SCRIPT, BASE_INCLUDE and BASE_EXCLUDE variables to
> calculate the base packages set
>+ * Create dpkg status file before calling APT
>
> -- Joey Hess <joeyh@debian.org> Wed, 01 Aug 2007 23:47:14 -0400
>
>diff --git a/tools/apt-selection b/tools/apt-selection
>index 5e04649..b651584 100755
>--- a/tools/apt-selection
>+++ b/tools/apt-selection
>@@ -52,6 +52,9 @@ fi
> if [ ! -d "$APTTMP/$CODENAME-$ARCH/apt" ]; then
> mkdir -p "$APTTMP/$CODENAME-$ARCH/apt"
> fi
>+if [ ! -e "$APTTMP/$CODENAME-$ARCH/status" ]; then
>+ touch "$APTTMP/$CODENAME-$ARCH/status"
>+fi
> if [ ! -e "$APTTMP/$CODENAME-$ARCH/apt/sources.list" ]; then
>
> # Generating a correct sources.list file

And I thought we spoke about this last time - other places in debian-cd should already be making the status file (in several places in the Makefile). Are you calling things significantly differently?

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"This dress doesn't reverse." -- Alden Spiess


-- 
To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Wed Aug 8 06:04:21 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:05:57 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library