diff options
| author | Lyndon Brown <jnqnfe@gmail.com> | 2020-03-15 18:04:55 +0000 | 
|---|---|---|
| committer | Luca Boccassi <bluca@debian.org> | 2020-03-15 21:38:35 +0000 | 
| commit | b25db0a4bfdd5b415672cc14ae06c287e15656b3 (patch) | |
| tree | b3afe1f393669ec26d090e75e002049993450242 /scripts/build/source_debian | |
| parent | c0ff2e6dbd64c620ba02598b6d908020c0ce3617 (diff) | |
| download | vyos-live-build-b25db0a4bfdd5b415672cc14ae06c287e15656b3.tar.gz vyos-live-build-b25db0a4bfdd5b415672cc14ae06c287e15656b3.zip | |
source: properly fix _apt permissions warning
the chown command needed running within the chroot, since apt-get is being
run within the chroot and _apt might have a different UID there than on
the host.
Gbp-Dch: Short
Closes: #953957
Diffstat (limited to 'scripts/build/source_debian')
| -rwxr-xr-x | scripts/build/source_debian | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/scripts/build/source_debian b/scripts/build/source_debian index e96b7a81d..c39ecb240 100755 --- a/scripts/build/source_debian +++ b/scripts/build/source_debian @@ -138,7 +138,7 @@ esac  # We need to set the ownership to user `_apt` to give write access to the apt user,  # otherwise we get a lot of warnings from apt about downloading as root.  mkdir -p chroot/source.pkgs -chown _apt:root chroot/source.pkgs +Chroot chroot "chown _apt:root source.pkgs"  cat > chroot/missing-source.txt << EOF  This file contains the list of binary packages that are installed on the "live" | 
