From 575bcf3c8827cc31ed897e81590ab5c842369b62 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Sun, 12 Feb 2012 18:33:40 +0000 Subject: [PATCH] Modifies package manager scriptlet generation so that it is possible to install several packages instead of only one (needed for pacman) --- LFS/lfs.xsl | 18 +++++++++--------- pkgmngt/packageManager.xml | 4 ++-- pkgmngt/packageManager.xml.template | 6 +++--- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/LFS/lfs.xsl b/LFS/lfs.xsl index 8127e37..950d327 100644 --- a/LFS/lfs.xsl +++ b/LFS/lfs.xsl @@ -84,17 +84,17 @@ - + - + @@ -217,13 +217,13 @@ fi - + - + #!/bin/bash set +h set -e @@ -254,7 +254,7 @@ cd $PKGDIR - + packInstall rm -rf $PKG_DEST diff --git a/pkgmngt/packageManager.xml b/pkgmngt/packageManager.xml index d971107..cc366c8 100644 --- a/pkgmngt/packageManager.xml +++ b/pkgmngt/packageManager.xml @@ -192,7 +192,7 @@ EOF - + Adding Directories for package management @@ -209,7 +209,7 @@ mkdir -pv /var/lib/packages - + Adding administrative files for Dpkg diff --git a/pkgmngt/packageManager.xml.template b/pkgmngt/packageManager.xml.template index c3618aa..04772fb 100644 --- a/pkgmngt/packageManager.xml.template +++ b/pkgmngt/packageManager.xml.template @@ -81,16 +81,16 @@ EOF - + - mkdir -pv /var/{log,lib/dpkg/{info,updates}} mkdir -pv /var/lib/packages - + touch /var/lib/dpkg/{available,status} touch /var/log/dpkg.log