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
1
Issues
1
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
af20f893
Commit
af20f893
authored
Oct 23, 2017
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rescue: make libX11 test a bit more helpful
It should be more clear what gets libX11 test triggered.
parent
3afb96a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
00-test-rescue
features.in/rescue/rescue/image-scripts.d/00-test-rescue
+3
-2
No files found.
features.in/rescue/rescue/image-scripts.d/00-test-rescue
View file @
af20f893
...
@@ -2,9 +2,10 @@
...
@@ -2,9 +2,10 @@
no_x11
()
{
no_x11
()
{
if
rpmquery libX11
>
&/dev/null
;
then
if
rpmquery libX11
>
&/dev/null
;
then
echo
"** rescue image contains libX11 which is prohibited"
>
&2
echo
"** rescue image contains libX11 which is prohibited"
rpm
-e
--test
libX11
exit
1
exit
1
fi
fi
>
&2
}
}
case
"
${
GLOBAL_TEST_RESCUE
:-}
"
in
case
"
${
GLOBAL_TEST_RESCUE
:-}
"
in
...
...
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