diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-01 17:29:59 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-03-01 17:34:57 +0100 |
commit | 502452ffab09cb6613c0f573d227419a63631f5b (patch) | |
tree | 25eb32bdf98358c23f6e5df7599303e84472423b /docs/contributing/build-vyos.rst | |
parent | d354e66c2ca0ecbde8f8e9e66561f62db408ab5e (diff) | |
download | vyos-documentation-502452ffab09cb6613c0f573d227419a63631f5b.tar.gz vyos-documentation-502452ffab09cb6613c0f573d227419a63631f5b.zip |
contribution: build: add troubleshooting section for APT
Diffstat (limited to 'docs/contributing/build-vyos.rst')
-rw-r--r-- | docs/contributing/build-vyos.rst | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/contributing/build-vyos.rst b/docs/contributing/build-vyos.rst index f9ebec6f..2349ec2f 100644 --- a/docs/contributing/build-vyos.rst +++ b/docs/contributing/build-vyos.rst @@ -128,6 +128,32 @@ Good luck! or ``rolling`` image. Make sure to choose the matching container for the version of VyOS that is being built. +Troubleshooting +^^^^^^^^^^^^^^^ + +Debian APT is not very verbose when it comes to errors. If your ISO build breaks +for whatever reason and you supect its a problem with APT dependencies or +installation you can add this small patch which increases the APT verbosity +during ISO build. + +.. code-block:: Python + + diff --git i/scripts/live-build-config w/scripts/live-build-config + index 1b3b454..3696e4e 100755 + --- i/scripts/live-build-config + +++ w/scripts/live-build-config + @@ -57,7 +57,8 @@ lb config noauto \ + --firmware-binary false \ + --updates true \ + --security true \ + - --apt-options "--yes -oAcquire::Check-Valid-Until=false" \ + + --apt-options "--yes -oAcquire::Check-Valid-Until=false -oDebug::BuildDeps=true -oDebug::pkgDepCache::AutoInstall=true \ + + -oDebug::pkgDepCache::Marker=true -oDebug::pkgProblemResolver=true -oDebug::Acquire::gpgv=true" \ + --apt-indices false + "${@}" + """ + + .. _build_packages: Build packages |