Make package list a Makefile variable

Add .lst files to .hgignore
This commit is contained in:
Albert Hopkins 2011-06-25 13:44:02 -04:00
parent 5337f24773
commit 1878dd94d9
2 changed files with 3 additions and 1 deletions

View File

@ -6,3 +6,4 @@ loop\/.*
latest-stage3\.txt
portage-latest\.tar\.bz2
stage3-.*-latest\.tar\.bz2
\.lst$

View File

@ -5,6 +5,7 @@ RAW_IMAGE = $(HOSTNAME).img
QCOW_IMAGE = $(HOSTNAME).qcow
VMDK_IMAGE = $(HOSTNAME).vmdk
XVA_IMAGE = $(HOSTNAME).xva
LST_FILE = $(HOSTNAME)-packages.lst
STAGE4_TARBALL = stage4/$(HOSTNAME)-stage4.tar.bz2
KERNEL_CONFIG = kernel.config
VIRTIO = NO
@ -263,7 +264,7 @@ build-software: systools issue etc-update.conf $(CRITICAL) $(WORLD)
software: stage3 $(software_extra)
ifneq ($(PKGLIST),0)
(cd "$(CHROOT)"/var/db/pkg ; /bin/ls -1d */*) > $(APPLIANCE)-packages.lst
(cd "$(CHROOT)"/var/db/pkg ; /bin/ls -1d */*) > $(LST_FILE)
endif
touch software