mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-10-29 11:32:30 +00:00
l4t_deb_pkgfeed.bbclass: Add SKIP_POOL_APPEND option
This adds an L4T_DEB_FEED_SKIP_POOL_APPEND option that can be enabled to skip appending the '/pool/group/pkg/etc' suffix to the deb feed for additional components that are hosted outside of the L4T deb repos. Signed-off-by: Ian Stewart <istewart@nvidia.com>
This commit is contained in:
committed by
Matt Madison
parent
c266b3854a
commit
cfaca74dd0
@@ -28,7 +28,10 @@ def l4t_deb_src_uri(d):
|
||||
group = d.getVarFlag('L4T_DEB_GROUP', name)
|
||||
group = group or d.getVar('L4T_DEB_GROUP') or pkgbase
|
||||
subdir = group[0:4] if group.startswith('lib') else group[0]
|
||||
result.append("${L4T_DEB_FEED_BASE}/%s/pool/${L4T_DEB_COMP}/%s/%s/%s" % (debclass, subdir, group, pkg))
|
||||
if d.getVar('L4T_DEB_FEED_SKIP_POOL_APPEND'):
|
||||
result.append("${L4T_DEB_FEED_BASE}/%s" % pkg)
|
||||
else:
|
||||
result.append("${L4T_DEB_FEED_BASE}/%s/pool/${L4T_DEB_COMP}/%s/%s/%s" % (debclass, subdir, group, pkg))
|
||||
return result
|
||||
|
||||
common_debs = (d.getVar('SRC_COMMON_DEBS') or '').split()
|
||||
|
||||
Reference in New Issue
Block a user