From 8eae258a8c37e0ab51578327eccf2646c21f0986 Mon Sep 17 00:00:00 2001 From: Gleb Fotengauer-Malinovskiy Date: Wed, 18 Sep 2013 17:56:21 +0400 Subject: [PATCH] 90-build-distro.mk: add "date +%F" to .disk/info --- features.in/build-distro/lib/90-build-distro.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features.in/build-distro/lib/90-build-distro.mk b/features.in/build-distro/lib/90-build-distro.mk index d885554f..7f8504a3 100644 --- a/features.in/build-distro/lib/90-build-distro.mk +++ b/features.in/build-distro/lib/90-build-distro.mk @@ -13,6 +13,7 @@ BOOT_VOLI := $(shell echo $(META_VOL_ID) | cut -c1-32) BOOT_VOLS := $(META_VOL_SET) BOOT_BIBL := $(META_BIBLIO) BOOT_ABST := $(META_ABSTRACT) +DATE_F := $(shell date +%F) BOOT_TYPE := isolinux @@ -24,7 +25,7 @@ prep: $(GLOBAL_DEBUG) dot-disk $(WHATEVER) # can't use mp-showref which belongs to the metaprofile dot-disk: @mkdir -p files/.disk - @echo "$(META_VOL_ID)" >files/.disk/info + @echo "$(META_VOL_ID) $(DATE_F)" >files/.disk/info @echo "$(ARCH)" >files/.disk/arch @echo "$(DATE)" >files/.disk/date @if type -t git >&/dev/null; then \