Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

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

From: Otavio Salvador <otavio(at)ossystems.com.br>
Date: Tue Aug 07 2007 - 20:15:27 EDT


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 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 -- To UNSUBSCRIBE, email to debian-cd-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Tue Aug 7 20:32:52 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