Make package list a Makefile variable
Add .lst files to .hgignore
This commit is contained in:
parent
5337f24773
commit
1878dd94d9
|
@ -6,3 +6,4 @@ loop\/.*
|
||||||
latest-stage3\.txt
|
latest-stage3\.txt
|
||||||
portage-latest\.tar\.bz2
|
portage-latest\.tar\.bz2
|
||||||
stage3-.*-latest\.tar\.bz2
|
stage3-.*-latest\.tar\.bz2
|
||||||
|
\.lst$
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -5,6 +5,7 @@ RAW_IMAGE = $(HOSTNAME).img
|
||||||
QCOW_IMAGE = $(HOSTNAME).qcow
|
QCOW_IMAGE = $(HOSTNAME).qcow
|
||||||
VMDK_IMAGE = $(HOSTNAME).vmdk
|
VMDK_IMAGE = $(HOSTNAME).vmdk
|
||||||
XVA_IMAGE = $(HOSTNAME).xva
|
XVA_IMAGE = $(HOSTNAME).xva
|
||||||
|
LST_FILE = $(HOSTNAME)-packages.lst
|
||||||
STAGE4_TARBALL = stage4/$(HOSTNAME)-stage4.tar.bz2
|
STAGE4_TARBALL = stage4/$(HOSTNAME)-stage4.tar.bz2
|
||||||
KERNEL_CONFIG = kernel.config
|
KERNEL_CONFIG = kernel.config
|
||||||
VIRTIO = NO
|
VIRTIO = NO
|
||||||
|
@ -263,7 +264,7 @@ build-software: systools issue etc-update.conf $(CRITICAL) $(WORLD)
|
||||||
|
|
||||||
software: stage3 $(software_extra)
|
software: stage3 $(software_extra)
|
||||||
ifneq ($(PKGLIST),0)
|
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
|
endif
|
||||||
touch software
|
touch software
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue