Commit Graph

471 Commits (e2ee5b1e842b09906a62a8712ee30b3115dd1e14)
 

Author SHA1 Message Date
Johannes 'josch' Schauer d29bdafb89
add workaround for dpkg bug to docs 4 years ago
Johannes 'josch' Schauer 6b90cf7006
coverage.sh: workaround for squashfs-tools-ng/issues/42 4 years ago
Johannes 'josch' Schauer 323a353548
output tarball if output is named pipe or character special 4 years ago
Johannes 'josch' Schauer 412039bd66
commit de8b6a45 forgot to also run re-install with /proc, /dev and /sys mounted 4 years ago
Johannes 'josch' Schauer 02ed5e33f8
add --extract-hook 4 years ago
Johannes 'josch' Schauer 446d66ea06
coverage.sh: fix typo 4 years ago
Johannes 'josch' Schauer aa3d2875a8
coverage.sh: also compare permissions, ownership, symlink targets and mtimes 4 years ago
Johannes 'josch' Schauer 8cac785f65
README.md: add another advantage over debootstrap 4 years ago
Johannes 'josch' Schauer a91d7440cb
remove libgcc1 for libc6 >= 2.30-2
The buildd variant of debootstrap will install libgcc-s1 *and* libgcc1
even though the former provides the latter. Remove the latter manually.

Since apt does not consider libgcc1 necessary, we have to download it
explicitly for debootstrap.

See Debian bug #953861
4 years ago
Johannes 'josch' Schauer 5fae5e83f9
release 0.6.1 4 years ago
Johannes 'josch' Schauer e1008006fc
add stub for future ext2 image support 4 years ago
Johannes 'josch' Schauer 773249a0ca
document limitation of missing /etc/ld.so.cache when using fakechroot 4 years ago
Johannes 'josch' Schauer 7bad5fb1e6
in unshare mode, the unshared process might not have enough permissions to rmdir root directory -- try again as normal user 4 years ago
Johannes 'josch' Schauer 3922851636
use Dpkg::Vendor::Debian and Dpkg::Vendor::Ubuntu for keyring locations, if they are available 4 years ago
Johannes 'josch' Schauer 89e7dd6756
store temporary files in /tmp inside the rootfs to avoid problems in unshare mode and TMPDIR set 4 years ago
Johannes 'josch' Schauer b9db466a26
add note about usage of /usr/sbin/policy-rc.d 4 years ago
Johannes 'josch' Schauer 7c65f61056
make_mirror.sh: run ldconfig in case mmdebstrap chose fakechroot mode 4 years ago
Johannes 'josch' Schauer d70dad0ac9
make_mirror.sh: export SOURCE_DATE_EPOCH for more reproducible disk images 4 years ago
Johannes 'josch' Schauer 73b46e1812
coverage.sh: add test that makes sure that TMPDIR is used and works in unshare mode 4 years ago
Johannes 'josch' Schauer ff9b6509fb
add more usage examples 4 years ago
Johannes 'josch' Schauer 6c6378a6e0
emit more warnings about setting kernel.unprivileged_userns_clone to 1 4 years ago
Johannes 'josch' Schauer 48914894cb
dump temporary apt.conf with --debug 4 years ago
Johannes 'josch' Schauer 1ff5ba7e9e
set APT::Immediate-Configure to false in dry-run mode 4 years ago
Johannes 'josch' Schauer 3e50d09b43
create temporary apt.conf inside chroot because unshared process might not have permissions to write into TMPDIR 4 years ago
Johannes 'josch' Schauer 9918809a65
add another example about how to use mmdebstrap to make a bootable live system 4 years ago
Johannes 'josch' Schauer bd84829595
unset TMPDIR environment variable for everything running inside the chroot 4 years ago
Johannes 'josch' Schauer 5107116384
coverage.sh: use regex to not rely on exact gcc version 4 years ago
Johannes 'josch' Schauer 5bf8c3fcf9
add sync, umount and shutdown to guestfish calls 4 years ago
Johannes 'josch' Schauer c4a47947ab
mount /sys and /proc as read-only in root mode 4 years ago
Johannes 'josch' Schauer a8fa48fbc7
coverage.sh: host architecture in --logfile output must depend on host 4 years ago
Johannes 'josch' Schauer d503e4fd96
put fh variables into their own scope 4 years ago
Johannes 'josch' Schauer 62159d124a
support deb822-style format apt sources 4 years ago
Johannes 'josch' Schauer 1579d06380
use tempdir(..., TMPDIR => 1) instead of tempdir(..., DIR => File::Spec->tmpdir) 4 years ago
Johannes 'josch' Schauer ae15fe3d9f
convert gpg keyring processing to less nesting and abort earlier if possible 4 years ago
Johannes 'josch' Schauer c26ec4d6fc
instead of hardcoding /etc/apt/trusted.gpg, read it from apt-config shell 4 years ago
Johannes 'josch' Schauer efaea907e9
run apt-cache policy instead of dumping sources.list 4 years ago
Johannes 'josch' Schauer c45e7d9baf
print warning if apt trusted cannot be read 4 years ago
Johannes 'josch' Schauer 75428e37dd
assign the absolute key path and not the relative one 4 years ago
Johannes 'josch' Schauer 3aef4dcc67
coverage.sh: add test comparing variant=debootstrap tarball for mode=root with mode=unshare 4 years ago
Johannes 'josch' Schauer 64fedc530e
Restore deterministic tar with pax and xattr support
- all creating and extraction of tarballs respects extended attributes
 - extended attributes require pax format, so explicitly request the
   format
 - to make pax bit-by-bit reproducible, ctime, atime and PID have to be
   removed from the headers with:
   --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime
 - always pass --numeric-owner to tar
 - always pass --xattrs when creating a tar
 - always pass --xattrs --xattrs-include=* when extracting a tar
4 years ago
Johannes 'josch' Schauer a1df1a9730
fix docs: default variant is 'debootstrap' and not 'required' 4 years ago
Johannes 'josch' Schauer bef4c890d8
if /etc/machine-id exists, replace by an empty file 4 years ago
Johannes 'josch' Schauer 9eaacca795
dump apt config with verbosity level >= 3 4 years ago
Johannes 'josch' Schauer 77c8bb7252
coverage.sh: fix typo in header message 4 years ago
Johannes 'josch' Schauer 1f59856858
make_mirro.sh: install gpg into qemu machine 4 years ago
Johannes 'josch' Schauer 8481068cd2
coverage.sh: write mmdebstrap.tdy into temporary file instead of current directory 4 years ago
Johannes 'josch' Schauer 6455cda34b
release 0.6.0 4 years ago
Johannes 'josch' Schauer c33ded3539
improve differences to debootstrap docs a bit more 4 years ago
Johannes 'josch' Schauer 007d729315
README.md: more details 4 years ago
Johannes 'josch' Schauer 98c8c573de
coverage.sh: test taridshift 4 years ago