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
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
be46eb8b
Commit
be46eb8b
authored
Dec 22, 2021
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib/distro.mk: Replace 'set' to 'try'
All variables can be overridden.
parent
36c7fa38
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
distro.mk
lib/distro.mk
+6
-6
No files found.
lib/distro.mk
View file @
be46eb8b
...
...
@@ -10,21 +10,21 @@ ifeq (distro,$(IMAGE_CLASS))
distro/.init: profile/bare
@$(call try,META_PREPARER,mkimage-profiles)
@$(call try,META_APP_ID,$(IMAGE_NAME))
@$(call
set
,META_PUBLISHER,ALT Linux Team)
@$(call
try
,META_PUBLISHER,ALT Linux Team)
distro/.boot: distro/.init boot/iso
ifeq (,$(BRANCH))
@$(call
set
,META_VOL_ID,ALT $(IMAGE_NAME)/$(ARCH))
@$(call
try
,META_VOL_ID,ALT $(IMAGE_NAME)/$(ARCH))
else
@$(call
set
,IMAGE_FLAVOUR,$(subst alt-$(BRANCH)-,,$(IMAGE_NAME)))
@$(call
set
,META_VOL_ID,ALT $(BRANCH) $$(IMAGE_FLAVOUR)/$(ARCH))
@$(call
try
,IMAGE_FLAVOUR,$(subst alt-$(BRANCH)-,,$(IMAGE_NAME)))
@$(call
try
,META_VOL_ID,ALT $(BRANCH) $$(IMAGE_FLAVOUR)/$(ARCH))
endif
@$(call
set,META_VOL_SET
,ALT)
@$(call
try,META_VOL_try
,ALT)
# NB: the last flavour in KFLAVOURS gets to be the default one;
# the kernel packages regexp evaluation has to take place at build stage
distro/.base: distro/.boot use/kernel
@$(call
set
,META_SYSTEM_ID,LINUX)
@$(call
try
,META_SYSTEM_ID,LINUX)
# this one should not be fundamental as it appears (think armh)
distro/.installer: distro/.base use/bootloader/grub +installer; @:
...
...
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