mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2026-01-27 10:22:15 +00:00
Use ONL relative paths.
This commit is contained in:
@@ -615,7 +615,7 @@ if __name__ == '__main__':
|
||||
if not ops.no_build_packages:
|
||||
pkgs = x.get_packages()
|
||||
# Invoke onlpm to build all required (local) packages.
|
||||
onlu.execute("onlpm --try-arches %s all --skip-missing --require %s" % (ops.arch, " ".join(pkgs)),
|
||||
onlu.execute("%s/tools/onlpm.py --try-arches %s all --skip-missing --require %s" % (os.getenv('ONL'), ops.arch, " ".join(pkgs)),
|
||||
ex=OnlRfsError("Failed to build all required packages."))
|
||||
if ops.only_build_packages:
|
||||
sys.exit(0)
|
||||
@@ -630,7 +630,7 @@ if __name__ == '__main__':
|
||||
x.configure(ops.dir)
|
||||
|
||||
if ops.cpio:
|
||||
if onlu.execute("make-cpio.sh %s %s" % (ops.dir, ops.cpio)) != 0:
|
||||
if onlu.execute("%s/tools/scripts/make-cpio.sh %s %s" % (os.getenv('ONL'), ops.dir, ops.cpio)) != 0:
|
||||
raise OnlRfsError("cpio creation failed.")
|
||||
|
||||
if ops.squash:
|
||||
|
||||
Reference in New Issue
Block a user