From: Michael Tremer Date: Sun, 20 Sep 2009 20:09:57 +0000 (+0200) Subject: pakfire: Fixed naming of packages. Add target info. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7221ebb44e7b133a25a3319905b1f9f91be4b8df;p=ipfire-3.x.git pakfire: Fixed naming of packages. Add target info. --- diff --git a/lfs/Config b/lfs/Config index f2e5f4199..1f4741fe9 100644 --- a/lfs/Config +++ b/lfs/Config @@ -135,7 +135,7 @@ define DO_PACKAGE touch $@_no_rootfile; \ exit 0; \ fi; \ - NAME=$(LFS_FILE) \ + NAME=$(NAME) \ SNAME=$(SNAME) \ VERSION=$(VERSION) \ KVER=$(KVER) \ @@ -151,7 +151,7 @@ define DO_PACKAGE PKG_GROUP="$(GROUP)" \ PKG_LICENSE="$(LICENSE)" \ PKG_MAINTAINER="$(MAINTAINER)" \ - PKG_NAME="$(PKG_NAME)" \ + PKG_NAME="$(LFS_FILE)" \ PKG_VER="$(PKG_VER)" \ PKG_REL="$(PKG_REL)" \ PKG_SHORT="$(value SHORT_DESC)" \ diff --git a/src/pakfire/compressor b/src/pakfire/compressor index 75136306f..a3758ef0a 100755 --- a/src/pakfire/compressor +++ b/src/pakfire/compressor @@ -100,6 +100,7 @@ echo " Writing meta-data..." cat <$INFO ### $NAME package +PACKAGE_TARGET="$TARGET" PACKAGE_VERSION="$PACKAGE_VERSION" BUILD_HOST="$(cat /proc/sys/kernel/hostname)"