1 diff -u -r ../debootstrap-1.0.97/scripts/debian-common ./scripts/debian-common
2 --- ../debootstrap-1.0.97/scripts/debian-common 2018-04-17 04:06:32.000000000 +0200
3 +++ ./scripts/debian-common 2018-04-30 03:21:24.616305825 +0200
6 if [ ! -e "$TARGET/etc/fstab" ]; then
7 echo '# UNCONFIGURED FSTAB FOR BASE SYSTEM' > "$TARGET/etc/fstab"
8 - chown 0:0 "$TARGET/etc/fstab"; chmod 644 "$TARGET/etc/fstab"
9 + chmod 644 "$TARGET/etc/fstab"
14 if doing_variant fakechroot; then
18 in_target /sbin/ldconfig
22 echo \"Warning: Fake start-stop-daemon called, doing nothing\"" > "$TARGET/sbin/start-stop-daemon"
23 chmod 755 "$TARGET/sbin/start-stop-daemon"
25 + # Replace problematic binaries with a stub
26 + echo "" > "$TARGET/bin/chown"
27 + echo "" > "$TARGET/usr/sbin/groupadd"
28 + echo "" > "$TARGET/usr/sbin/groupdel"
29 + echo "" > "$TARGET/usr/sbin/groupmod"
30 + echo "" > "$TARGET/usr/sbin/useradd"
31 + echo "" > "$TARGET/usr/sbin/userdel"
32 + echo "" > "$TARGET/usr/sbin/usermod"
33 + echo "" > "$TARGET/usr/bin/chage"
34 + echo "" > "$TARGET/usr/bin/chfn"
35 + echo "" > "$TARGET/usr/bin/dpkg-statoverride"
37 + echo "nameserver 8.8.8.8\nnameserver 8.8.4.4" > "$TARGET/etc/resolv.conf"
39 setup_dselect_method apt