I gave up. vyos docker + maclan looks much more managable
- checkout vyos build
- checkout all submodules
- identify easiest way to parse a
deb-control
file akapackage-folder/debian/control
- convert comma delimited to space delimeted
- strip version requirements or figure out how to forward requreiment in file format
- document template for armbian extras-buildpkg
.conf
file format - generate extras-buildpkg
.conf
files for the vyos packages - blacklist bad packages like vyos-kernel
- generate package list all all vyos debs so they can be used later code if needed
- patch armbian fetch_from_repo function to support full size commit hashes
- sane procedure for adding via userpatches
- look for missing vyos shell scripts etc from livebuild repo and install
how i found the fields
lane@armbian-builder:~/GIT/build/packages/extras-buildpkgs$ cat *.conf|awk '{print $2}'|fgrep =|cut -d'=' -f1|sort|uniq
all fields
package_builddeps
package_builddeps_jessie
package_builddeps_stretch
package_builddeps_xenial
package_component
package_install_chroot
package_install_target
package_name
package_ref
package_repo
package_upstream_version
conf file template
package_name="{{ package_name }}"
package_repo="{{ submodule_git_repo }}"
package_ref="{{ rebmodule_ref_hash }}"
package_builddeps_jessie="{{ dependencies_seperated_by_space }}"
package_install_target="{{ package_name}}"
package_component=${release}-utils"
# optionally could be ${release}-vyos
- disable the ref validation in fetch from repo in general.sh
- add
--create
to debchange script to create changelong - make crosscompiler
-j2
tunable