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
b71f3b67
Commit
b71f3b67
authored
Aug 02, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live, image.in: use function for get lists from groups (for live)
A group may contain more than one list, or the group name may not match the list name.
parent
6d696ca8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
stage2cfg.mk
features.in/live/live/stage2cfg.mk
+2
-2
functions.mk
image.in/functions.mk
+10
-0
No files found.
features.in/live/live/stage2cfg.mk
View file @
b71f3b67
...
...
@@ -6,8 +6,8 @@ IMAGE_PACKAGES_REGEXP = $(LIVE_PACKAGES_REGEXP) $(THE_PACKAGES_REGEXP)
IMAGE_PACKAGES = $(COMMON_PACKAGES) $(LIVE_PACKAGES) $(THE_PACKAGES) \
$(call map,list, \
$(LIVE_LISTS) $(
LIVE_GROUP
S) \
$(
THE_LISTS) $(THE_GROUPS
) \
$(LIVE_LISTS) $(
THE_LIST
S) \
$(
call live_groups2lists
) \
$(COMMON_LISTS)) \
interactivesystem
...
...
image.in/functions.mk
View file @
b71f3b67
...
...
@@ -54,6 +54,16 @@ $(if $(filter groups2lists,$(0)),$(shell \
))
endef
define live_groups2lists
$(if $(filter live_groups2lists,$(0)),$(shell \
if [ -n "$(THE_GROUPS)$(LIVE_GROUPS)" ]; then \
sed -rn 's,^X-Alterator-PackageList=(.*)$$,\1,p' \
$(call map,group,$(THE_GROUPS) $(LIVE_GROUPS)) | \
sed 's/;/\n/g'; \
fi; \
))
endef
# kernel package list generation; see also #24669
NULL :=
SPACE := $(NULL) # the officially documented way of getting a space
...
...
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