stage2, install2: oops, narrow the cleanup back
The former install2-only "bloated binary" purge script happened to hit stage2 (which is a lot more than just install2); a kind of safety net has been stuck into it to guard installable LiveCDs against this particular cleanup but seems it was not enought for ildar@ who reported this problem almost three years after it was introduced. This change re-places the script back into install2 section; the binaries in question amount for ca. 8 Mb (except openssl ildar@ asked about); if these are deemed unneccessary within any other stage2-based subprofiles, please step up with details.
This commit is contained in:
parent
0a7c57a5b1
commit
7cb477c38a
8
features.in/install2/install2/image-scripts.d/90-install2-cleanup-bin
Executable file
8
features.in/install2/install2/image-scripts.d/90-install2-cleanup-bin
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# purge outstanding binaries (up to 1.5M each)
|
||||
rm -f /sbin/{sash,sln,tc}
|
||||
rm -f /usr/bin/{openssl,ipv6log*}
|
||||
rm -f /bin/ipv6calc
|
||||
|
||||
:
|
@ -1,11 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# don't cripple the image to be copied over
|
||||
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install ] && exit 0
|
||||
|
||||
# purge outstanding binaries
|
||||
rm -f /sbin/{sash,sln,tc}
|
||||
rm -f /usr/bin/{openssl,ipv6log*}
|
||||
rm -f /bin/ipv6calc
|
||||
|
||||
:
|
Loading…
Reference in New Issue
Block a user