Files
tldr/pages.zh/linux/mmdebstrap.md

17 lines
540 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# mmdebstrap
> 创建一个 Debian chroot。
> `debootstrap` 的替代方案。
> 更多信息:<https://gitlab.mister-muffin.de/josch/mmdebstrap/>.
- 创建一个 Debian Stable 目录 chroot
`sudo mmdebstrap stable {{path/to/debian-root/}}`
- 使用镜像创建一个 Debian Bookworm tarball chroot
`mmdebstrap bookworm {{path/to/debian-bookworm.tar}} {{http://mirror.example.org/debian}}`
- 创建一个带有额外软件包的 Debian Sid tarball chroot
`mmdebstrap sid {{path/to/debian-sid.tar}} --include={{pkg1,pkg2}}`