Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6782808223 | ||
|
7a8ac9e7e0 | ||
|
b3e4d9af0c | ||
|
ab70588f94 | ||
|
4313629aac | ||
|
0301f08e87 |
@@ -1,5 +1,5 @@
|
||||
Name: mkimage-profiles
|
||||
Version: 0.4.3
|
||||
Version: 0.4.3.2
|
||||
Release: alt1
|
||||
|
||||
Summary: ALT Linux based distribution metaprofile
|
||||
@@ -13,6 +13,7 @@ Packager: Michael Shigorin <mike@altlinux.org>
|
||||
BuildArch: noarch
|
||||
Requires: rsync git-core
|
||||
Requires: time schedutils
|
||||
Requires: mkimage >= 0.2.0
|
||||
|
||||
%define mpdir %_datadir/%name
|
||||
%add_findreq_skiplist %mpdir/*.in/*
|
||||
@@ -53,11 +54,20 @@ mkdir -p %buildroot%mpdir
|
||||
cp -a * %buildroot%mpdir
|
||||
|
||||
%files
|
||||
%mpdir/*
|
||||
%mpdir/
|
||||
%doc doc/
|
||||
%doc README QUICKSTART
|
||||
|
||||
%changelog
|
||||
* Tue Nov 08 2011 Michael Shigorin <mike@altlinux.org> 0.4.3.2-alt1
|
||||
- mkimage version required/checked
|
||||
|
||||
* Mon Nov 07 2011 Michael Shigorin <mike@altlinux.org> 0.4.3.1-alt1
|
||||
- CLEAN by default unless DEBUG
|
||||
|
||||
* Mon Nov 07 2011 Michael Shigorin <mike@altlinux.org> 0.4.3-alt2
|
||||
- include %mpdir/ itself as well
|
||||
|
||||
* Mon Nov 07 2011 Michael Shigorin <mike@altlinux.org> 0.4.3-alt1
|
||||
- enhancements to logging
|
||||
- NICE variable: employ nice(1) and ionice(1) if available
|
||||
|
6
.gear/tags/cfd4133492d16bfd2fc31a83d5df43f78fb15da1
Normal file
6
.gear/tags/cfd4133492d16bfd2fc31a83d5df43f78fb15da1
Normal file
@@ -0,0 +1,6 @@
|
||||
object a91acf3de735965e0b32ab3edfc633c543f7dd3e
|
||||
type commit
|
||||
tag v0.4.3
|
||||
tagger Michael Shigorin <mike@altlinux.org> 1320617277 +0200
|
||||
|
||||
graduate tweaks
|
1
.gear/tags/list
Normal file
1
.gear/tags/list
Normal file
@@ -0,0 +1 @@
|
||||
cfd4133492d16bfd2fc31a83d5df43f78fb15da1 v0.4.3
|
@@ -26,7 +26,7 @@
|
||||
+ экономия RAM+swap при сборке в tmpfs, иначе места на диске
|
||||
+ очистка рабочего каталога после успешной сборки очередной стадии
|
||||
+ может помешать использовать некоторые варианты отладки
|
||||
+ значение: любая строка, по умолчанию пусто
|
||||
+ значение: любая строка; по умолчанию пусто при DEBUG, иначе 1
|
||||
+ см. ../lib/clean.mk
|
||||
|
||||
- DEBUG
|
||||
|
@@ -4,10 +4,23 @@ GLOBAL_BUILDDIR ?= $(shell pwd)
|
||||
CURRENT_LINK := mkimage-profiles
|
||||
OUT_LINK := out
|
||||
|
||||
# there were mkimage fixes induced by mkimage-profile development
|
||||
MKI_VER_MINIMAL = 0.1.7
|
||||
MKI_VER_OPTIMAL = 0.2.0
|
||||
|
||||
include distcfg.mk
|
||||
include functions.mk
|
||||
include $(MKIMAGE_PREFIX)/config.mk
|
||||
|
||||
ifeq (-,$(shell rpmvercmp $(MKI_VERSION) $(MKI_VER_MINIMAL) | tr -d [0-9]))
|
||||
$(info error: mkimage-$(MKI_VERSION) is too old, please upgrade)
|
||||
$(error mkimage is too old, $(MKI_VER_MINIMAL) is minimal supported version)
|
||||
endif
|
||||
ifeq (-,$(shell rpmvercmp $(MKI_VERSION) $(MKI_VER_OPTIMAL) | tr -d [0-9]))
|
||||
$(info warning: mkimage-$(MKI_VERSION) is suboptimal, consider upgrading)
|
||||
$(warning consider upgrading mkimage to $(MKI_VER_OPTIMAL) or better)
|
||||
endif
|
||||
|
||||
# reconstruct instead of passing yet another variable
|
||||
IMAGE_LINK := $(IMAGE_NAME).$(IMAGE_TYPE)
|
||||
IMAGE_OUTFILE := $(IMAGE_NAME)-$(DATE)-$(ARCH).$(IMAGE_TYPE)
|
||||
|
@@ -5,6 +5,10 @@
|
||||
|
||||
# tmpfs-sparing extra rule: cleanup workdir after completing each stage
|
||||
# (as packed results are saved this only lowers RAM pressure)
|
||||
# NB: it's useful enough to be enabled by default in DEBUG abscence
|
||||
ifndef DEBUG
|
||||
CLEAN ?= 1
|
||||
endif
|
||||
ifdef CLEAN
|
||||
export GLOBAL_CLEAN_WORKDIR = clean-current
|
||||
ifdef DEBUG
|
||||
|
Reference in New Issue
Block a user