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
f51305ce
Commit
f51305ce
authored
Sep 15, 2020
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install2: Added INSTALL2_CLEANUP_DRI
Cleanup dri is still needed for servers. Reported-by: shaba@ Also-see:
576a58d1
parent
5182e86c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
config.mk
features.in/install2/config.mk
+5
-0
90-install2-cleanup-drivers
...all2/install2/image-scripts.d/90-install2-cleanup-drivers
+5
-0
No files found.
features.in/install2/config.mk
View file @
f51305ce
...
...
@@ -125,6 +125,11 @@ use/install2/tools:
use/install2/cleanup/vnc:
@$(call add,INSTALL2_CLEANUP_PACKAGES,x11vnc xorg-xvfb)
# when VNC installation is less welcome than a few extra megs
use/install2/cleanup/dri:
@$(call set,INSTALL2_CLEANUP_DRI,yes)
@$(call xport,INSTALL2_CLEANUP_DRI)
# conflicts with luks feature
use/install2/cleanup/crypto:
@$(call add,INSTALL2_CLEANUP_PACKAGES,gnupg)
...
...
features.in/install2/install2/image-scripts.d/90-install2-cleanup-drivers
View file @
f51305ce
#!/bin/sh
# drop extra drivers et al, purge kernel image(s)
# xorg-dri-*
if
[
"
$GLOBAL_INSTALL2_CLEANUP_DRI
"
=
'yes'
]
;
then
rm
-r
/usr/lib
*
/X11/modules/dri
fi
# no movies during installation so far
rm
-rf
/usr/lib
*
/vdpau/ /usr/lib
*
/libXv
*
...
...
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