mirror of
https://github.com/lingble/meta-tegra.git
synced 2025-11-01 04:47:50 +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,6 +28,9 @@ def l4t_deb_src_uri(d):
|
|||||||
group = d.getVarFlag('L4T_DEB_GROUP', name)
|
group = d.getVarFlag('L4T_DEB_GROUP', name)
|
||||||
group = group or d.getVar('L4T_DEB_GROUP') or pkgbase
|
group = group or d.getVar('L4T_DEB_GROUP') or pkgbase
|
||||||
subdir = group[0:4] if group.startswith('lib') else group[0]
|
subdir = group[0:4] if group.startswith('lib') else group[0]
|
||||||
|
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))
|
result.append("${L4T_DEB_FEED_BASE}/%s/pool/${L4T_DEB_COMP}/%s/%s/%s" % (debclass, subdir, group, pkg))
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user