mirror of
https://git.yoctoproject.org/poky
synced 2026-04-13 14:02:21 +02:00
lib/oe/package.py: remove @ from package name
@ isn't allowed in package names. Angular2 packages often have @ in their names. (From OE-Core rev: 3c4291bc58bcc5c66ef539eed29b7c37ac968a06) Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ca83f35f5a
commit
2db1227fa2
@@ -150,6 +150,7 @@ def npm_split_package_dirs(pkgdir):
|
||||
continue
|
||||
pkgitems.append(pathitem)
|
||||
pkgname = '-'.join(pkgitems).replace('_', '-')
|
||||
pkgname = pkgname.replace('@', '')
|
||||
pkgfile = os.path.join(root, dn, 'package.json')
|
||||
data = None
|
||||
if os.path.exists(pkgfile):
|
||||
|
||||
Reference in New Issue
Block a user