From ff9b6509fbb39def3caf8a553e4d5e28029ff3c9 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Sat, 7 Mar 2020 02:25:55 +0100 Subject: [PATCH] add more usage examples --- mmdebstrap | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index bcf6e28..fb9814b 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -4654,6 +4654,10 @@ Example: Exclude paths to reduce chroot size --dpkgopt='path-include=/usr/share/doc/*/copyright' --dpkgopt='path-include=/usr/share/doc/*/changelog.Debian.*' +Example: Do not perform safe I/O operations when unpacking for more speed + + --dpkgopt=force-unsafe-io + =item B<--include>=I[,I,...] Comma or whitespace separated list of packages which will be installed in @@ -5113,6 +5117,15 @@ Create a bootable USB Stick that boots into a full Debian desktop: $ qemu-system-x86_64 -m 1G -enable-kvm debian-unstable.img $ sudo dd if=debian-unstable.img of=/dev/sdXXX status=progress +Build libdvdcss2.deb without installing installing anything or changing apt +sources on the current system: + + $ mmdebstrap --variant=apt --components=main,contrib --include=libdvd-pkg \ + --customize-hook='chroot $1 /usr/lib/libdvd-pkg/b-i_libdvdcss.sh' \ + | tar --extract --verbose --strip-components=4 \ + --wildcards './usr/src/libdvd-pkg/libdvdcss2_*_*.deb' + $ ls libdvdcss2_*_*.deb + Use as replacement for autopkgtest-build-qemu and vmdb2: $ mmdebstrap --variant=important --include=linux-image-amd64 \