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
2
Issues
2
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
822bcfc9
Project 'ximper/mkimage-profiles' was moved to 'ximperlinux/mkimage-profiles'. Please update any links and bookmarks that may still have the old path.
Commit
822bcfc9
authored
Apr 08, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stage2: do not remove cjk and legacy fonts
This has no effect on the size of the squashfs, but does create unexpected problems.
parent
910545c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
47 deletions
+0
-47
85-cleanup-cjk
sub.in/stage2/image-scripts.d/85-cleanup-cjk
+0
-26
85-cleanup-legacy
sub.in/stage2/image-scripts.d/85-cleanup-legacy
+0
-21
No files found.
sub.in/stage2/image-scripts.d/85-cleanup-cjk
deleted
100755 → 0
View file @
910545c7
#!/bin/sh
# don't cripple the image to be copied over
[
-x
/usr/sbin/live-install
-o
-x
/usr/sbin/livecd-install
-o
-n
"
$GLOBAL_LIVE_INSTALL
"
]
&&
exit
0
# remove unused fonts
cd
/usr/share/fonts/bitmap/misc/
&&
rm
-f
*
ja.
*
*
ko.
*
han
*
gb
*
jis
*
k14
*
rk
*
*
rk.
*
*
kana
*
cl
*
*
JIS
*
# drop unneeded translations
cd
/usr/share/qt?/translations/
&&
rm
-f
*
_zh
*
*
_ja
*
# l10n
cd
/usr/share/X11/locale
&&
rm
-rf
ja
*
ko
*
th
*
vi
*
zh
*
# xkb
cd
/usr/share/X11/xkb/symbols
&&
rm
-rf
jp kr th vn cn
# locales
cd
/usr/lib/locale
&&
rm
-rf
ja_
*
ko_
*
th_
*
zh_
*
# gconv
cd
/usr/lib
*
/gconv
&&
rm
-f
JIS
*
T
*
:
sub.in/stage2/image-scripts.d/85-cleanup-legacy
deleted
100755 → 0
View file @
910545c7
#!/bin/sh
# don't cripple the image to be copied over
[
-x
/usr/sbin/live-install
-o
-x
/usr/sbin/livecd-install
-o
-n
"
$GLOBAL_LIVE_INSTALL
"
]
&&
exit
0
# remove unused legacy/tiny fonts
#cd /usr/share/fonts/bitmap/misc/ && rm -f *ISO* *KOI* [1456]*
cd
/usr/share/fonts/bitmap/misc/
&&
rm
-f
[
1456]
*
# l10n
cd
/usr/share/X11/locale/
&&
rm
-rf
*
[
^C8]/ iso
*
# xkb
cd
/usr/share/X11/xkb/symbols
&&
rm
-rf
*
_vndr
# gconv
#cd /usr/lib*/gconv && rm -f CP* ISO* *JIS* KOI* HP* MAC*
cd
/usr/lib
*
/gconv
&&
rm
-f
CP
*
*
JIS
*
HP
*
MAC
*
:
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