diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-10-15 23:07:05 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-15 23:07:05 -0500 |
| commit | b68707968efe1c091526daf8fd8d29bfb01a04f3 (patch) | |
| tree | 7e359d3f7aff0afe23cfcfb0a5753eb8010c4ac8 | |
| parent | 2a55bf499ec843f8909c431b7dfcc329586b63cf (diff) | |
| download | image-wine-b68707968efe1c091526daf8fd8d29bfb01a04f3.tar.gz image-wine-b68707968efe1c091526daf8fd8d29bfb01a04f3.tar.bz2 image-wine-b68707968efe1c091526daf8fd8d29bfb01a04f3.zip | |
Delete 32-bin wine and only strip exe's.
Also don't try to strip llvm, we don't actually install it.
| -rwxr-xr-x | init | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -5,12 +5,10 @@ rc-service networking start | |||
| 5 | # Install | 5 | # Install |
| 6 | apk add --no-progress wine zip xdotool xwd xvfb xvfb-run imagemagick upx | 6 | apk add --no-progress wine zip xdotool xwd xvfb xvfb-run imagemagick upx |
| 7 | 7 | ||
| 8 | # Delete wine 32 bit | ||
| 8 | # Compress wine and libllvm | 9 | # Compress wine and libllvm |
| 9 | upx -7 -q --no-color --no-progress --strip-relocs=0 --compress-exports=0 --compress-icons=0 /usr/lib/wine/i386-windows/*.exe | 10 | rm -rf /usr/lib/win/i386-windows |
| 10 | upx -7 -q --no-color --no-progress --strip-relocs=0 --compress-exports=0 --compress-icons=0 /usr/lib/wine/i386-windows/*.dll | ||
| 11 | upx -7 -q --no-color --no-progress --strip-relocs=0 --compress-exports=0 --compress-icons=0 /usr/lib/wine/x86_64-windows/*.exe | 11 | upx -7 -q --no-color --no-progress --strip-relocs=0 --compress-exports=0 --compress-icons=0 /usr/lib/wine/x86_64-windows/*.exe |
| 12 | upx -7 -q --no-color --no-progress --strip-relocs=0 --compress-exports=0 --compress-icons=0 /usr/lib/wine/x86_64-windows/*.dll | ||
| 13 | upx -7 -q --no-color --no-progress --strip-relocs=0 --compress-exports=0 --compress-icons=0 /usr/lib/libLLVM.so.* | ||
| 14 | 12 | ||
| 15 | # Delete cache | 13 | # Delete cache |
| 16 | rm -rf /var/cache/apk/* | 14 | rm -rf /var/cache/apk/* |
