Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
d8e39efc
Commit
d8e39efc
authored
Aug 21, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/build.mk: do not check package lists when CHECK=0
Aptbox is not initialized, so build time is reduced.
parent
a98b5d76
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
params.txt
doc/params.txt
+4
-1
build.mk
lib/build.mk
+4
-1
No files found.
doc/params.txt
View file @
d8e39efc
...
...
@@ -55,7 +55,10 @@ $HOME/.mkimage/profiles.mk.
* CHECK
** включает режим проверки сборки конфигурации (без сборки образа)
** значение: пусто (по умолчанию) либо любая строка
** значение:
** пусто (по умолчанию) - проверка не осуществляется;
** 0 - прверяется только конфигурация, списки пакетов не проверяются;
** другое значение - полная проверка.
** см. lib/build.mk, lib/clean.mk
* CLEAN
...
...
lib/build.mk
View file @
d8e39efc
...
...
@@ -57,12 +57,15 @@ IMAGEDIR ?= $(shell \
)
LOGDIR ?= $(wildcard $(IMAGEDIR))
make-aptbox:
make-aptbox: ; @:
ifneq (0,$(CHECK))
@mkdir -p $(BUILDDIR)/.work/pkgbox; \
mkdir -p $(BUILDDIR)/.work/.cache; \
mkdir -p $(BUILDDIR)/.work/.out; \
APTCONF=$(wildcard $(APTCONF)); \
mkaptbox --without-stuff --target=$(ARCH) $${APTCONF:+--apt-config=$$APTCONF} -- $(BUILDDIR)/.work/pkgbox
endif
# actual build starter
# NB: our output MUST go into stderr to escape POSTPROC
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment