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
Ximper Linux
mkimage-profiles
Commits
0808f899
Commit
0808f899
authored
Sep 15, 2025
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
features.in: initial feature blacklist-pkgs
The task is to prevent certain packages from getting into the image. For example, devel packages should not be in the certified image.
parent
7fe38236
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
0 deletions
+20
-0
README
features.in/blacklist-pkgs/README
+8
-0
config.mk
features.in/blacklist-pkgs/config.mk
+3
-0
99-blacklist-pkgs
features.in/blacklist-pkgs/scripts.d/99-blacklist-pkgs
+9
-0
No files found.
features.in/blacklist-pkgs/README
0 → 100644
View file @
0808f899
=== blacklist-pkgs ===
Чёрный список пакетов BLACKLIST_PKGS, которых не должно быть ни в одной
из стадий сборки. Проверка осуществляется в самом конце сборки iso образа,
проверяются списки в .disk/pkglist iso образа.
Переменная BLACKLIST_PKGS содержит имена или части имён пакетов без
поддержки масок.
features.in/blacklist-pkgs/config.mk
0 → 100644
View file @
0808f899
use/blacklist-pkgs:
@$(call add_feature)
@$(call xport,BLACKLIST_PKGS)
features.in/blacklist-pkgs/scripts.d/99-blacklist-pkgs
0 → 100755
View file @
0808f899
#!/bin/sh
cd
"
$WORKDIR
"
/.disk/pkglists
||
exit
1
for
pkg
in
$GLOBAL_BLACKLIST_PKGS
;
do
grep
--
"
$pkg
"
$(
find
.
-name
rpm.txt
)
||
continue
echo
"Error:
$pkg
in blacklist found! See .disk/pklists/*/*/rpm.txt"
>
&2
exit
1
done
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