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
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Ximper Linux
mkimage-profiles
Commits
9fba1797
Commit
9fba1797
authored
Jun 01, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile, params.txt: add new parametr NO_SYMLINK
NO_SYMLINK disables the creation of symlinks for the builded image.
parent
8dbd0a0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
params.txt
doc/params.txt
+5
-0
Makefile
image.in/Makefile
+7
-5
No files found.
doc/params.txt
View file @
9fba1797
...
@@ -90,6 +90,11 @@
...
@@ -90,6 +90,11 @@
** значение: пусто (по умолчанию) либо любая строка
** значение: пусто (по умолчанию) либо любая строка
** см. lib/build.mk
** см. lib/build.mk
* NO_SYMLINK
** не создавать символические ссылки на собранный образ
** значение: пусто (по умолчанию) либо любая строка
** см. image.in/Makefile
* QUIET
* QUIET
** отключает поясняющие сообщения при сборке (например, под cron)
** отключает поясняющие сообщения при сборке (например, под cron)
** значение: пусто (по умолчанию) либо любая строка
** значение: пусто (по умолчанию) либо любая строка
...
...
image.in/Makefile
View file @
9fba1797
...
@@ -101,11 +101,13 @@ postprocess: | $(addprefix postprocess-,$(sort $(POSTPROCESS_TARGETS)))
...
@@ -101,11 +101,13 @@ postprocess: | $(addprefix postprocess-,$(sort $(POSTPROCESS_TARGETS)))
echo
"** image:
$(IMAGE_OUTPATH)
[
$$
OUTSIZE]"
>
&2
&&
\
echo
"** image:
$(IMAGE_OUTPATH)
[
$$
OUTSIZE]"
>
&2
&&
\
echo
"IMAGE_OUTPATH =
$(IMAGE_OUTPATH)
"
&&
\
echo
"IMAGE_OUTPATH =
$(IMAGE_OUTPATH)
"
&&
\
echo
"IMAGE_OUTFILE =
$(IMAGE_OUTFILE)
"
&&
\
echo
"IMAGE_OUTFILE =
$(IMAGE_OUTFILE)
"
&&
\
ln
-sf
"
$(IMAGE_RELPATH)
"
"
$(IMAGE_LINKPATH)
"
&&
\
if
[
!
-n
"
$(NO_SYMLINK)
"
]
;
then
\
ln
-sf
"
$(IMAGE_RELDIR)
"
"
$(OUT_LINK)
"
&&
\
ln
-sf
"
$(IMAGE_RELPATH)
"
"
$(IMAGE_LINKPATH)
"
&&
\
ln
-sf
"
$(IMAGE_LINK)
"
"
$(IMAGEDIR)
/
$(CURRENT_LINK)
.
$(IMAGE_TYPE)
"
;
\
ln
-sf
"
$(IMAGE_RELDIR)
"
"
$(OUT_LINK)
"
&&
\
if
[
-n
"
$(IMAGE_VER_LINK)
"
]
;
then
\
ln
-sf
"
$(IMAGE_LINK)
"
"
$(IMAGEDIR)
/
$(CURRENT_LINK)
.
$(IMAGE_TYPE)
"
;
\
ln
-sf
"
$(IMAGE_RELPATH)
"
"
$(IMAGEDIR)
/
$(IMAGE_VER_LINK)
"
;
\
if
[
-n
"
$(IMAGE_VER_LINK)
"
]
;
then
\
ln
-sf
"
$(IMAGE_RELPATH)
"
"
$(IMAGEDIR)
/
$(IMAGE_VER_LINK)
"
;
\
fi
;
\
fi
;
\
fi
;
\
if
[
-n
"
$(GLOBAL_DEBUG)
"
]
;
then
\
if
[
-n
"
$(GLOBAL_DEBUG)
"
]
;
then
\
mkdir
-p
"
$(LOGDIR)
"
;
\
mkdir
-p
"
$(LOGDIR)
"
;
\
...
...
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