apt also needs /var/lib to exist
This commit is contained in:
parent
6c5210a94f
commit
eb98dfbaee
1 changed files with 1 additions and 1 deletions
|
@ -6852,7 +6852,7 @@ retained.
|
||||||
This section gives an overview of the different steps to create a chroot. At
|
This section gives an overview of the different steps to create a chroot. At
|
||||||
its core, what B<mmdebstrap> does can be put into a 14 line shell script:
|
its core, what B<mmdebstrap> does can be put into a 14 line shell script:
|
||||||
|
|
||||||
mkdir -p "$2/etc/apt" "$2/var/cache"
|
mkdir -p "$2/etc/apt" "$2/var/cache" "$2/var/lib"
|
||||||
cat << END > "$2/apt.conf"
|
cat << END > "$2/apt.conf"
|
||||||
Apt::Architecture "$(dpkg --print-architecture)";
|
Apt::Architecture "$(dpkg --print-architecture)";
|
||||||
Apt::Architectures "$(dpkg --print-architecture)";
|
Apt::Architectures "$(dpkg --print-architecture)";
|
||||||
|
|
Loading…
Reference in a new issue