Skip to content

Find a better way to define build dependencies between packages #22

@pzakha

Description

@pzakha

Right now we have some build dependencies between a few packages: bcc & bpftrace, and java8 and the SSO app (to be coming soon).

The way we currently handle this is by installing the package that we have dependencies on after building it, or triggering a build for that package if we haven't built it yet. The code construct is a bit awkward, for instance for bpftrace we have:

	if ! dpkg-query --show libbcc >/dev/null 2>&1; then
		echo_bold "libbcc not installed. Building package 'bcc' first."
		logmust "$TOP/buildpkg.sh" bcc
	fi

We should be able to codify those dependencies in better ways.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions