live-build/scripts/build
Lyndon Brown 744141c60f source: fix apt warnings
the source stage emitted the following output for each packages downloaded.
note the troubling warning at the end.

```
Reading package lists... Done
NOTICE: 'grep' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian/grep.git
Please use:
git clone https://salsa.debian.org/debian/grep.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 1579 kB of source archives.
Get:1 http://deb.debian.org/debian buster/main grep 3.3-1 (dsc) [2038 B]
Get:2 http://deb.debian.org/debian buster/main grep 3.3-1 (tar) [1473 kB]
Get:3 http://deb.debian.org/debian buster/main grep 3.3-1 (diff) [104 kB]
Fetched 1579 kB in 1s (1293 kB/s)
Download complete and in download only mode
W: Download is performed unsandboxed as root as file 'grep_3.3-1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
```

this occurred because the '_apt' user did not have permission to write to
the destination directory and so was falling back to downloading as root
in order to do its work.

prior to 158950b873 all source packages were
downloaded directly to the root of the chroot. that commit changed this to
save them into a new clean directory within it instead. thus to fix the
problem we can simply set the ownership of this new directory to '_apt'.

Gbp-Dch: Short
2020-03-10 18:11:21 +00:00
..
binary help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_checksums help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_chroot help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_disk help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_grub-efi help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_grub-legacy help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_grub-pc help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_hdd help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_hooks help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_includes help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_iso help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_linux-image help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_loadlin help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_loopback_cfg help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_manifest help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_memtest help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_netboot help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_onie help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_package-lists help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_rootfs help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_syslinux help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_tar help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_win32-loader help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
binary_zsync help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
bootstrap help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
bootstrap_archives archives: always include enabled/disabled deb-src apt entries 2020-03-10 12:50:39 +00:00
bootstrap_cache help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
bootstrap_debootstrap debootstrap: remove redundant check 2020-03-10 17:47:41 +00:00
build help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot chroot: clarify stages 2020-03-10 12:51:55 +00:00
chroot_apt help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_archives archives: fix typo 2020-03-10 17:36:10 +00:00
chroot_cache help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_debianchroot help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_devpts help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_dpkg help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_firmware help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_hacks help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_hooks help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_hostname help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_hosts help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_includes help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_install-packages help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_interactive help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_linux-image help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_package-lists help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_preseed help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_proc help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_resolv help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_selinuxfs help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_sysfs help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_sysv-rc help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
chroot_tmpfs help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
clean tidy script init (4/4) - top level cmd "auto redirect" handling 2020-03-10 12:39:37 +00:00
config config: improve documentation 2020-03-10 14:12:45 +00:00
efi-image fix indentation 2020-03-05 11:29:01 +00:00
grub-cpmodules fix indentation 2020-03-05 11:29:01 +00:00
installer help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
installer_debian-installer help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
installer_preseed help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source_checksums help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source_debian source: fix apt warnings 2020-03-10 18:11:21 +00:00
source_disk help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source_hdd help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source_hooks help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source_iso help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source_live help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00
source_tar help/usage: remove pointless vars 2020-03-10 12:45:23 +00:00