Hewlett-Packard has sold some of the rights to its WebOS mobile operating system to LG Electronics for use in Internet-connected "smart" TVs made by the South Korean electronics firm. LG has agreed to acquire the source code, WebOS engineering team, and other assets from HP, in a deal announced today. LG will also license HP patents related to WebOS and cloud technology, the companies said. Financial terms of the deal weren't disclosed, bit both said there would be no material effect on their finances.