Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Install all the required build dependencies of your custom package(s) and build it(them). Instructions on how to do so are out of the scope of this document.

  • You can find the exact file name for the tarball onĀ the repository

wget httphttps://repos.danosproject.org.s3-website-us-west-1.amazonaws.com/repos.danosproject.org/2005/livebuild/danos-19082005-amd64base-vrouterBuild2.4.livebuild.tar

tar xf *livebuild.tar

cd danos-19082005-amd64-vrouterbase

  • Create an archives directory under ./config:

...

cd ./config/archives

echo 'deb http://s3-us-west-1.amazonaws.com/repos.danosproject.org/standardrepo/ 1908 2005 main' > standarddanos.list.chroot

echo 'deb http://s3-us-west-1.amazonaws.com/repos.danosproject.org/bootstrap/ 1908 main' > bootstrap.list-e 'Package: *\nPin: release o=DANOS\nPin-Priority: 1000' > danos.pref.chroot

wget https://s3-us-west-1.amazonaws.com/repos.danosproject.org/Release.key -O standard.key.chrootwget https://s3-us-west-1.amazonaws.com/repos.danosproject.org/Release.key -O bootstrapdanos.key.chroot

cd ../..

  • If any additional packages are required to be added to the DANOS image:

...

  • Make the changes to the configuration to allow building a DANOS image based on Debian9 (Required for building 1908 but not required for later releases)set some apt options

sed -i 's/--.*distribution .*\\/--distribution '"stretch"' \\yes/--yes --force-yes/' auto/config

  • Run the configuration and build script

...

  • Once the build finishes, a live-bootable hybrid EFI/legacy BIOS image and an ONIE image, together with metadata, will be found in the working directory:

ls

auto

binary

build.log

cache

chroot

chroot.files

...

chroot.packages.live

config

danos-19082005-amd64-vrouterbase_20190830T110620200609T1012-amd64.contents

danos-19082005-amd64-vrouterbase_20190830T110620200609T1012-amd64.files

danos-19082005-amd64-vrouterbase_20190830T110620200609T1012-amd64.hybrid.iso

danos-19082005-amd64-vrouterbase_20190830T110620200609T1012-amd64.hybrid.iso-ONIE.bin

danos-19082005-amd64-vrouterbase_20190830T110620200609T1012-amd64.hybrid.iso.zsync

danos-19082005-amd64-vrouterbase_20190830T110620200609T1012-amd64.packages

local

sharch_body.shpackage