diff options
| author | Johannes Schauer Marin Rodrigues <josch@mister-muffin.de> | 2025-09-17 22:58:17 +0200 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2026-01-05 22:28:03 +0100 |
| commit | 68968d8af49500c949d679de184a2201d9e56cbe (patch) | |
| tree | 47461aa7a0005dad23af26285160bf5ac3a22001 /doc | |
| parent | fdbcc2e297ed6e097b30298996710a4c0ec7fbd6 (diff) | |
apt-private/private-download.cc: support unlimited space tmpfs
Test like this:
sudo mount -t tmpfs -o size=0 tmpfs rootfs
cat << 'END' > run.sh
set -exu
export LD_LIBRARY_PATH=/home/josch/git/apt/build/apt-pkg
mkdir -p "$1/etc/apt" "$1/var/cache" "$1/var/lib/dpkg/"
echo "Dir \"$(cd "$1" && pwd)\";" > "$1/apt.conf"
echo "deb [signed-by=/usr/share/keyrings/debian-archive-keyring.pgp] http://deb.debian.org/debian/ unstable main" > "$1/etc/apt/sources.list"
APT_CONFIG="$1/apt.conf" build/cmdline/apt-get update
APT_CONFIG="$1/apt.conf" build/cmdline/apt-get --yes --download-only install '?essential'
END
./run.sh rootfs
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
