Commit 7fe7d9cc authored by Anton Midyukov's avatar Anton Midyukov

reports.mk: allow read access to the report to everyone

Fixes access for others to targets.log
parent b627d755
......@@ -38,6 +38,7 @@ all: reports/targets reports/scripts reports/cleanlog \
@mv $(LOGDIR)/{$(IMAGE_OUTFILE),$(IMAGE_OUTFILE).reports/build}.cfg
@find $(BUILDDIR)/pkg/ -type f | sed 's:$(BUILDDIR)/pkg/::' > \
"$(LOGDIR)/$(IMAGE_OUTFILE).reports/pkg.list"
@chmod +r -R "$(LOGDIR)/$(IMAGE_OUTFILE).reports"
ifeq (2,$(REPORT))
@cd "$(LOGDIR)" && tar -cf "$(IMAGE_OUTFILE).reports.tar" "$(IMAGE_OUTFILE).reports" && \
rm -r "$(IMAGE_OUTFILE).reports"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment