Localized receptivity of boundary layers