build-distro: un-hardwire .disk/info

It used to be a hasty static string; something like
"ALT Linux regular-e17/x86_64" seems more relevant.
This commit is contained in:
Michael Shigorin 2013-07-15 21:28:15 +04:00
parent a10125ffb2
commit 72986b5321

View File

@ -24,7 +24,7 @@ prep: $(GLOBAL_DEBUG) dot-disk $(WHATEVER)
# can't use mp-showref which belongs to the metaprofile
dot-disk:
@mkdir -p files/.disk
@echo "ALT Linux based" >files/.disk/info
@echo "$(META_VOL_ID)" >files/.disk/info
@echo "$(ARCH)" >files/.disk/arch
@echo "$(DATE)" >files/.disk/date
@if type -t git >&/dev/null; then \