Commit 7cb477c3 authored by Michael Shigorin's avatar Michael Shigorin

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.
parent 0a7c57a5
#!/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
# purge outstanding binaries (up to 1.5M each)
rm -f /sbin/{sash,sln,tc}
rm -f /usr/bin/{openssl,ipv6log*}
rm -f /bin/ipv6calc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment