1 2 3 4
if [ -e conf/local.conf ]; then sed -i -e 's@\(CORE_IMAGE_EXTRA_INSTALL.*\)oprofile\(.*\)@\1\2@' \ -e 's@\(EXTRA_IMAGE_FEATURES.*\)tools-profile\(.*\)@\1\2@' conf/local.conf fi