Hi, I'm running a bullseye docker container on an arm64 buster host. In the bullseye container, I download the debian-installer source like below.
$ apt source debian-installer With build dependency installed, kernel udebs in localudebs, and udebs repository set up properly, I start the build_netboot as follows. $ cd debian-installer-20200314/build $ make LINUX_KERNEL_ABI=5.9.8-distro-1 build_netboot But it fails like below. cp: will not overwrite just-created './tmp/netboot/udeblibs/ld-linux-aarch64.so.1' with './tmp/netboot/tree/lib/ld-linux-aarch64.so.1' make[2]: *** [Makefile:520: stamps/tree-netboot-stamp] Error 123 make[1]: *** [Makefile:298: _build] Error 2 make: *** [Makefile:292: build_netboot] Error 2 The full build log is attached. Could you please take a look and advise what I'm missing. Thanks! Shawn
root@184fb3e2e709:~/debian-installer/debian-installer-20200314/build# make LINUX_KERNEL_ABI=5.9.8-distro-1 build_netboot * * Warning: Building with localudebs. * This build should not be used for official purposes. * Ign:1 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ InRelease Ign:2 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Release Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Get:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages [9638 B] Get:4 http://ftp.uk.debian.org/debian bullseye InRelease [116 kB] Get:5 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 Packages [50.8 kB] Fetched 177 kB in 0s (430 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree... Done dh_testroot dh_testroot: warning: dh_testroot must be called from the source root get-packages udeb anna archdetect bogl-bterm-udeb busybox-udeb ca-certificates-udeb cdebconf-newt-terminal cdebconf-newt-udeb cdebconf-priority cdebconf-text-udeb cdebconf-udeb choose-mirror choose-mirror-bin console-setup-pc-ekmap console-setup-udeb crc-modules-5.9.8-distro-1-arm64-di crypto-modules-5.9.8-distro-1-arm64-di debian-archive-keyring-udeb di-utils di-utils-reboot di-utils-shell di-utils-terminfo download-installer env-preseed ethdetect fb-modules-5.9.8-distro-1-arm64-di file-preseed gpgv-udeb haveged-udeb hw-detect i2c-modules-5.9.8-distro-1-arm64-di initrd-preseed input-modules-5.9.8-distro-1-arm64-di installation-locale kbd-udeb kernel-image-5.9.8-distro-1-arm64-di libblkid1-udeb libc6-udeb libcrypt1-udeb libcrypto1.1-udeb libdebconfclient0-udeb libdebian-installer4-udeb libfribidi0-udeb libgcrypt20-udeb libgpg-error0-udeb libiw30-udeb libkmod2-udeb libnewt0.52-udeb libnl-3-200-udeb libnl-genl-3-200-udeb libpci3-udeb libpcre2-8-0-udeb libslang2-udeb libssl1.1-udeb libtextwrap1-udeb libtinfo6-udeb libudev1-udeb libuuid1-udeb localechooser lowmemcheck main-menu mtd-core-modules-5.9.8-distro-1-arm64-di nano-udeb ndisc6-udeb net-retriever netcfg network-preseed nic-modules-5.9.8-distro-1-arm64-di nic-shared-modules-5.9.8-distro-1-arm64-di nic-usb-modules-5.9.8-distro-1-arm64-di nic-wireless-modules-5.9.8-distro-1-arm64-di pciutils-udeb preseed-common rdnssd-udeb rescue-check rootskel save-logs screen-udeb udev-udeb udpkg usb-modules-5.9.8-distro-1-arm64-di util-linux-udeb wget-udeb wide-dhcpv6-client-udeb wpasupplicant-udeb zlib1g-udeb * * Warning: Building with localudebs. * This build should not be used for official purposes. * Ign:1 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ InRelease Ign:2 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Release Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Get:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages [9638 B] Hit:4 http://ftp.uk.debian.org/debian bullseye InRelease Fetched 9638 B in 0s (36.3 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree... Done Need to download: anna archdetect bogl-bterm-udeb busybox-udeb ca-certificates-udeb cdebconf-newt-terminal cdebconf-newt-udeb cdebconf-priority cdebconf-text-udeb cdebconf-udeb choose-mirror choose-mirror-bin console-setup-pc-ekmap console-setup-udeb crc-modules-5.9.8-distro-1-arm64-di crypto-modules-5.9.8-distro-1-arm64-di debian-archive-keyring-udeb di-utils di-utils-reboot di-utils-shell di-utils-terminfo download-installer env-preseed ethdetect fb-modules-5.9.8-distro-1-arm64-di file-preseed gpgv-udeb haveged-udeb hw-detect i2c-modules-5.9.8-distro-1-arm64-di initrd-preseed input-modules-5.9.8-distro-1-arm64-di installation-locale kbd-udeb kernel-image-5.9.8-distro-1-arm64-di libblkid1-udeb libc6-udeb libcrypt1-udeb libcrypto1.1-udeb libdebconfclient0-udeb libdebian-installer4-udeb libfribidi0-udeb libgcrypt20-udeb libgpg-error0-udeb libiw30-udeb libkmod2-udeb libnewt0.52-udeb libnl-3-200-udeb libnl-genl-3-200-udeb libpci3-udeb libpcre2-8-0-udeb libslang2-udeb libssl1.1-udeb libtextwrap1-udeb libtinfo6-udeb libudev1-udeb libuuid1-udeb localechooser lowmemcheck main-menu mtd-core-modules-5.9.8-distro-1-arm64-di nano-udeb ndisc6-udeb net-retriever netcfg network-preseed nic-modules-5.9.8-distro-1-arm64-di nic-shared-modules-5.9.8-distro-1-arm64-di nic-usb-modules-5.9.8-distro-1-arm64-di nic-wireless-modules-5.9.8-distro-1-arm64-di pciutils-udeb preseed-common rdnssd-udeb rescue-check rootskel save-logs screen-udeb udev-udeb udpkg usb-modules-5.9.8-distro-1-arm64-di util-linux-udeb wget-udeb wide-dhcpv6-client-udeb wpasupplicant-udeb zlib1g-udeb Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: anna archdetect bogl-bterm-udeb busybox-udeb ca-certificates-udeb cdebconf-newt-terminal cdebconf-newt-udeb cdebconf-priority cdebconf-text-udeb cdebconf-udeb choose-mirror choose-mirror-bin console-setup-pc-ekmap console-setup-udeb crc-modules-5.9.8-distro-1-arm64-di crypto-modules-5.9.8-distro-1-arm64-di debian-archive-keyring-udeb di-utils di-utils-reboot di-utils-shell di-utils-terminfo download-installer env-preseed ethdetect fb-modules-5.9.8-distro-1-arm64-di file-preseed gpgv-udeb haveged-udeb hw-detect i2c-modules-5.9.8-distro-1-arm64-di initrd-preseed input-modules-5.9.8-distro-1-arm64-di installation-locale kbd-udeb kernel-image-5.9.8-distro-1-arm64-di libblkid1-udeb libc6-udeb libcrypt1-udeb libcrypto1.1-udeb libdebconfclient0-udeb libdebian-installer4-udeb libfribidi0-udeb libgcrypt20-udeb libgpg-error0-udeb libiw30-udeb libkmod2-udeb libnewt0.52-udeb libnl-3-200-udeb libnl-genl-3-200-udeb libpci3-udeb libpcre2-8-0-udeb libslang2-udeb libssl1.1-udeb libtextwrap1-udeb libtinfo6-udeb libudev1-udeb libuuid1-udeb localechooser lowmemcheck main-menu mtd-core-modules-5.9.8-distro-1-arm64-di nano-udeb ndisc6-udeb net-retriever netcfg network-preseed nic-modules-5.9.8-distro-1-arm64-di nic-shared-modules-5.9.8-distro-1-arm64-di nic-usb-modules-5.9.8-distro-1-arm64-di nic-wireless-modules-5.9.8-distro-1-arm64-di pciutils-udeb preseed-common rdnssd-udeb rescue-check rootskel save-logs screen-udeb udev-udeb udpkg usb-modules-5.9.8-distro-1-arm64-di util-linux-udeb wget-udeb wide-dhcpv6-client-udeb wpasupplicant-udeb zlib1g-udeb 0 upgraded, 85 newly installed, 0 to remove and 0 not upgraded. Need to get 27.9 MB of archives. After this operation, 101 MB of additional disk space will be used. Get:1 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ kernel-image-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [8967 kB] Get:2 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libcrypt1-udeb arm64 1:4.4.17-1 [70.3 kB] Get:3 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libc6-udeb arm64 2.31-4 [935 kB] Get:4 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ crypto-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [63.8 kB] Get:5 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ nic-shared-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [76.3 kB] Get:6 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ i2c-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [31.9 kB] Get:7 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ crc-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [6400 B] Get:8 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ mtd-core-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [30.2 kB] Get:9 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ nic-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [5269 kB] Get:10 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ usb-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [537 kB] Get:11 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ nic-wireless-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [4311 kB] Get:12 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libkmod2-udeb arm64 27+20200310-2 [27.4 kB] Get:13 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ nic-usb-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [225 kB] Get:14 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libdebian-installer4-udeb arm64 0.120 [17.2 kB] Get:15 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ fb-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [655 kB] Get:16 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libtextwrap1-udeb arm64 0.1-14.2 [3948 B] Get:17 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 cdebconf-udeb arm64 0.255 [71.3 kB] Get:18 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ input-modules-5.9.8-distro-1-arm64-di 5.9.8-00034-gab74575672c6-1 [379 kB] Get:19 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libdebconfclient0-udeb arm64 0.255 [3228 B] Get:20 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 anna arm64 1.78 [48.9 kB] Get:21 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 archdetect arm64 1.142 [2612 B] Get:22 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 cdebconf-priority all 0.255 [2912 B] Get:23 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 di-utils arm64 1.135 [31.5 kB] Get:24 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 di-utils-reboot all 1.135 [9012 B] Get:25 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 di-utils-shell all 1.135 [20.0 kB] Get:26 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 di-utils-terminfo arm64 1.135 [2844 B] Get:27 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libblkid1-udeb arm64 2.36-3+b2 [118 kB] Get:28 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 util-linux-udeb arm64 2.36-3+b2 [330 kB] Get:29 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 udev-udeb arm64 246.6-2 [347 kB] Get:30 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 rootskel arm64 1.132 [10.8 kB] Get:31 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libudev1-udeb arm64 246.6-2 [55.1 kB] Get:32 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 zlib1g-udeb arm64 1:1.2.11.dfsg-2 [47.0 kB] Get:33 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libpci3-udeb arm64 1:3.7.0-4 [20.6 kB] Get:34 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 pciutils-udeb arm64 1:3.7.0-4 [316 kB] Get:35 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 udpkg arm64 1.19 [8176 B] Get:36 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 hw-detect arm64 1.142 [92.6 kB] Get:37 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 installation-locale arm64 1.8 [7040 B] Get:38 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 main-menu arm64 1.60 [23.6 kB] Get:39 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libslang2-udeb arm64 2.3.2-5 [234 kB] Get:40 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 nano-udeb arm64 5.3-1 [55.4 kB] Get:41 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libiw30-udeb arm64 30~pre9-13.1 [12.2 kB] Get:42 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 ethdetect all 1.142 [27.7 kB] Get:43 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libcrypto1.1-udeb arm64 1.1.1h-1 [956 kB] Get:44 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libnl-3-200-udeb arm64 3.4.0-1+b1 [45.5 kB] Get:45 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libnl-genl-3-200-udeb arm64 3.4.0-1+b1 [8632 B] Get:46 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 busybox-udeb arm64 1:1.30.1-6 [157 kB] Get:47 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 wpasupplicant-udeb arm64 2:2.9.0-15 [305 kB] Get:48 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 rdnssd-udeb arm64 1.0.4-1 [8436 B] Get:49 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 ndisc6-udeb arm64 1.0.4-1 [7860 B] Get:50 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 wide-dhcpv6-client-udeb arm64 20080615-23 [59.0 kB] Get:51 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 netcfg arm64 1.168 [293 kB] Get:52 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 preseed-common all 1.107 [24.9 kB] Get:53 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 network-preseed all 1.107 [27.3 kB] Get:54 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 rescue-check all 1.80 [2516 B] Get:55 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 save-logs all 2.76 [50.4 kB] Get:56 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 bogl-bterm-udeb arm64 0.1.18-16 [14.9 kB] Get:57 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 ca-certificates-udeb all 20200601 [117 kB] Get:58 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libnewt0.52-udeb arm64 0.52.21-4+b2 [36.7 kB] Get:59 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 cdebconf-newt-udeb arm64 0.255 [19.0 kB] Get:60 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 cdebconf-newt-terminal arm64 0.39 [4508 B] Get:61 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 cdebconf-text-udeb arm64 0.255 [22.9 kB] Get:62 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 choose-mirror-bin arm64 2.107 [136 kB] Get:63 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 choose-mirror all 2.107 [1088 B] Get:64 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 console-setup-pc-ekmap all 1.198 [42.1 kB] Get:65 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 kbd-udeb arm64 2.3.0-3 [59.2 kB] Get:66 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 console-setup-udeb all 1.198 [159 kB] Get:67 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 debian-archive-keyring-udeb all 2019.1 [47.1 kB] Get:68 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libgpg-error0-udeb arm64 1.38-2 [53.4 kB] Get:69 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libgcrypt20-udeb arm64 1.8.7-2 [319 kB] Get:70 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 gpgv-udeb arm64 2.2.20-1 [175 kB] Get:71 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 net-retriever all 1.54 [16.6 kB] Get:72 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 download-installer all 1.54 [3148 B] Get:73 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 env-preseed all 1.107 [1892 B] Get:74 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 file-preseed all 1.107 [3756 B] Get:75 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 initrd-preseed all 1.107 [948 B] Get:76 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libfribidi0-udeb arm64 1.0.8-2 [16.5 kB] Get:77 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libpcre2-8-0-udeb arm64 10.34-7 [166 kB] Get:78 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libssl1.1-udeb arm64 1.1.1h-1 [174 kB] Get:79 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libtinfo6-udeb arm64 6.2+20200918-1 [51.3 kB] Get:80 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 libuuid1-udeb arm64 2.36-3+b2 [12.6 kB] Get:81 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 localechooser arm64 2.89 [220 kB] Get:82 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 lowmemcheck arm64 1.47 [5284 B] Get:83 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 screen-udeb arm64 4.8.0-2 [358 kB] Get:84 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 wget-udeb arm64 1.20.3-1+b2 [164 kB] Get:85 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 haveged-udeb arm64 1.9.8-4 [26.3 kB] Fetched 27.9 MB in 2s (14.4 MB/s) Download complete and in download only mode dh_testroot dh_testroot: warning: dh_testroot must be called from the source root cd .. && dpkg-checkbuilddeps # This build cannot be restarted, because dpkg gets confused. rm -rf ./tmp/netboot/tree # Set up the basic files [u]dpkg needs. mkdir -p ./tmp/netboot/tree/var/lib/dpkg/info touch ./tmp/netboot/tree/var/lib/dpkg/status # Create a tmp tree mkdir -p ./tmp/netboot/tree/tmp # Only dpkg needs this stuff, so it can be removed later. mkdir -p ./tmp/netboot/tree/var/lib/dpkg/updates/ touch ./tmp/netboot/tree/var/lib/dpkg/available # Unpack the udebs with dpkg. This command must run as root # or fakeroot. echo -n > ./tmp/netboot/diskusage.txt set -e; \ oldsize=0; oldblocks=0; oldcount=0; for udeb in udebs/*.udeb ; do \ if [ -f "$udeb" ]; then \ pkg=`basename $udeb` ; \ dpkg --force-overwrite --path-include='*' --log=/dev/null --root=./tmp/netboot/tree --unpack $udeb ; \ newsize=`du -bs ./tmp/netboot/tree | awk '{print $1}'` ; \ newblocks=`du -s ./tmp/netboot/tree | awk '{print $1}'` ; \ newcount=`find ./tmp/netboot/tree -type f | wc -l | awk '{print $1}'` ; \ usedsize=`echo $newsize - $oldsize | bc`; \ usedblocks=`echo $newblocks - $oldblocks | bc`; \ usedcount=`echo $newcount - $oldcount | bc`; \ version=`dpkg-deb --info $udeb | sed -n 's/^ Version: //p' | sed 's/+b[0-9]*$//g'` ; \ source=`dpkg-deb --info $udeb | sed -n 's/^ Source: //p'` ; \ if [ -z "$source" ]; then \ source=`dpkg-deb --info $udeb | awk '/ Package: / { print $2 }'` ; \ source_version="$source (= $version)" ; \ elif echo "$source" | grep -qs '^linux-signed'; then \ source_version="linux (= $version)" ; \ elif echo "$source" | grep -qs '(.*)'; then \ source_version=`echo $source|sed 's/(/(= /'`; \ else \ source_version="$source (= $version)" ; \ fi ; \ echo " $usedsize B - $usedblocks blocks - $usedcount files from $pkg (version $version)" >>./tmp/netboot/diskusage.txt;\ echo "$source_version" >>./tmp/netboot/built-using.txt;\ oldsize=$newsize ; \ oldblocks=$newblocks ; \ oldcount=$newcount ; \ fi; \ done Selecting previously unselected package anna. (Reading database ... 0 files and directories currently installed.) Preparing to unpack udebs/anna.udeb ... Unpacking anna (1.78) ... Selecting previously unselected package archdetect. (Reading database ... 6 files and directories currently installed.) Preparing to unpack udebs/archdetect.udeb ... Unpacking archdetect (1.142) ... Selecting previously unselected package bogl-bterm-udeb. (Reading database ... 7 files and directories currently installed.) Preparing to unpack udebs/bogl-bterm-udeb.udeb ... Unpacking bogl-bterm-udeb (0.1.18-16) ... Selecting previously unselected package busybox-udeb. (Reading database ... 14 files and directories currently installed.) Preparing to unpack udebs/busybox-udeb.udeb ... Unpacking busybox-udeb (1:1.30.1-6) ... Selecting previously unselected package ca-certificates-udeb. (Reading database ... 133 files and directories currently installed.) Preparing to unpack .../ca-certificates-udeb.udeb ... Unpacking ca-certificates-udeb (20200601) ... Selecting previously unselected package cdebconf-newt-terminal. (Reading database ... 390 files and directories currently installed.) Preparing to unpack .../cdebconf-newt-terminal.udeb ... Unpacking cdebconf-newt-terminal (0.39) ... Selecting previously unselected package cdebconf-newt-udeb. (Reading database ... 394 files and directories currently installed.) Preparing to unpack udebs/cdebconf-newt-udeb.udeb ... Unpacking cdebconf-newt-udeb (0.255) ... Selecting previously unselected package cdebconf-priority. (Reading database ... 395 files and directories currently installed.) Preparing to unpack udebs/cdebconf-priority.udeb ... Unpacking cdebconf-priority (0.255) ... Selecting previously unselected package cdebconf-text-udeb. (Reading database ... 395 files and directories currently installed.) Preparing to unpack udebs/cdebconf-text-udeb.udeb ... Unpacking cdebconf-text-udeb (0.255) ... Selecting previously unselected package cdebconf-udeb. (Reading database ... 396 files and directories currently installed.) Preparing to unpack udebs/cdebconf-udeb.udeb ... Unpacking cdebconf-udeb (0.255) ... Selecting previously unselected package choose-mirror-bin. (Reading database ... 414 files and directories currently installed.) Preparing to unpack udebs/choose-mirror-bin.udeb ... Unpacking choose-mirror-bin (2.107) ... Selecting previously unselected package choose-mirror. (Reading database ... 417 files and directories currently installed.) Preparing to unpack udebs/choose-mirror.udeb ... Unpacking choose-mirror (2.107) ... Selecting previously unselected package console-setup-pc-ekmap. (Reading database ... 417 files and directories currently installed.) Preparing to unpack .../console-setup-pc-ekmap.udeb ... Unpacking console-setup-pc-ekmap (1.198) ... Selecting previously unselected package console-setup-udeb. (Reading database ... 419 files and directories currently installed.) Preparing to unpack udebs/console-setup-udeb.udeb ... Unpacking console-setup-udeb (1.198) ... Selecting previously unselected package crc-modules-5.9.8-distro-1-arm64-di. (Reading database ... 430 files and directories currently installed.) Preparing to unpack .../crc-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking crc-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package crypto-modules-5.9.8-distro-1-arm64-di. (Reading database ... 441 files and directories currently installed.) Preparing to unpack .../crypto-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking crypto-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package debian-archive-keyring-udeb. (Reading database ... 458 files and directories currently installed.) Preparing to unpack .../debian-archive-keyring-udeb.udeb ... Unpacking debian-archive-keyring-udeb (2019.1) ... Selecting previously unselected package di-utils-reboot. (Reading database ... 469 files and directories currently installed.) Preparing to unpack udebs/di-utils-reboot.udeb ... Unpacking di-utils-reboot (1.135) ... Selecting previously unselected package di-utils-shell. (Reading database ... 469 files and directories currently installed.) Preparing to unpack udebs/di-utils-shell.udeb ... Unpacking di-utils-shell (1.135) ... Selecting previously unselected package di-utils-terminfo. (Reading database ... 469 files and directories currently installed.) Preparing to unpack udebs/di-utils-terminfo.udeb ... Unpacking di-utils-terminfo (1.135) ... Selecting previously unselected package di-utils. (Reading database ... 480 files and directories currently installed.) Preparing to unpack udebs/di-utils.udeb ... Unpacking di-utils (1.135) ... Selecting previously unselected package download-installer. (Reading database ... 506 files and directories currently installed.) Preparing to unpack udebs/download-installer.udeb ... Unpacking download-installer (1.54) ... Selecting previously unselected package env-preseed. (Reading database ... 506 files and directories currently installed.) Preparing to unpack udebs/env-preseed.udeb ... Unpacking env-preseed (1.107) ... Selecting previously unselected package ethdetect. (Reading database ... 512 files and directories currently installed.) Preparing to unpack udebs/ethdetect.udeb ... Unpacking ethdetect (1.142) ... Selecting previously unselected package fb-modules-5.9.8-distro-1-arm64-di. (Reading database ... 515 files and directories currently installed.) Preparing to unpack .../fb-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking fb-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package file-preseed. (Reading database ... 562 files and directories currently installed.) Preparing to unpack udebs/file-preseed.udeb ... Unpacking file-preseed (1.107) ... Selecting previously unselected package gpgv-udeb. (Reading database ... 562 files and directories currently installed.) Preparing to unpack udebs/gpgv-udeb.udeb ... Unpacking gpgv-udeb (2.2.20-1) ... Selecting previously unselected package haveged-udeb. (Reading database ... 563 files and directories currently installed.) Preparing to unpack udebs/haveged-udeb.udeb ... Unpacking haveged-udeb (1.9.8-4) ... Selecting previously unselected package hw-detect. (Reading database ... 567 files and directories currently installed.) Preparing to unpack udebs/hw-detect.udeb ... Unpacking hw-detect (1.142) ... Selecting previously unselected package i2c-modules-5.9.8-distro-1-arm64-di. (Reading database ... 587 files and directories currently installed.) Preparing to unpack .../i2c-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking i2c-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package initrd-preseed. (Reading database ... 595 files and directories currently installed.) Preparing to unpack udebs/initrd-preseed.udeb ... Unpacking initrd-preseed (1.107) ... Selecting previously unselected package input-modules-5.9.8-distro-1-arm64-di. (Reading database ... 596 files and directories currently installed.) Preparing to unpack .../input-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking input-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package installation-locale. (Reading database ... 698 files and directories currently installed.) Preparing to unpack udebs/installation-locale.udeb ... Unpacking installation-locale (1.8) ... Selecting previously unselected package kbd-udeb. (Reading database ... 713 files and directories currently installed.) Preparing to unpack udebs/kbd-udeb.udeb ... Unpacking kbd-udeb (2.3.0-3) ... Selecting previously unselected package kernel-image-5.9.8-distro-1-arm64-di. (Reading database ... 716 files and directories currently installed.) Preparing to unpack .../kernel-image-5.9.8-distro-1-arm64-di.udeb ... Unpacking kernel-image-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package libblkid1-udeb. (Reading database ... 825 files and directories currently installed.) Preparing to unpack udebs/libblkid1-udeb.udeb ... Unpacking libblkid1-udeb (2.36-3+b2) ... Selecting previously unselected package libc6-udeb. (Reading database ... 827 files and directories currently installed.) Preparing to unpack udebs/libc6-udeb.udeb ... Unpacking libc6-udeb (2.31-4) ... Selecting previously unselected package libcrypt1-udeb. (Reading database ... 849 files and directories currently installed.) Preparing to unpack udebs/libcrypt1-udeb.udeb ... Unpacking libcrypt1-udeb (1:4.4.17-1) ... Selecting previously unselected package libcrypto1.1-udeb. (Reading database ... 851 files and directories currently installed.) Preparing to unpack udebs/libcrypto1.1-udeb.udeb ... Unpacking libcrypto1.1-udeb (1.1.1h-1) ... Selecting previously unselected package libdebconfclient0-udeb. (Reading database ... 853 files and directories currently installed.) Preparing to unpack .../libdebconfclient0-udeb.udeb ... Unpacking libdebconfclient0-udeb (0.255) ... Selecting previously unselected package libdebian-installer4-udeb. (Reading database ... 855 files and directories currently installed.) Preparing to unpack .../libdebian-installer4-udeb.udeb ... Unpacking libdebian-installer4-udeb (0.120) ... Selecting previously unselected package libfribidi0-udeb. (Reading database ... 856 files and directories currently installed.) Preparing to unpack udebs/libfribidi0-udeb.udeb ... Unpacking libfribidi0-udeb (1.0.8-2) ... Selecting previously unselected package libgcrypt20-udeb. (Reading database ... 858 files and directories currently installed.) Preparing to unpack udebs/libgcrypt20-udeb.udeb ... Unpacking libgcrypt20-udeb (1.8.7-2) ... Selecting previously unselected package libgpg-error0-udeb. (Reading database ... 860 files and directories currently installed.) Preparing to unpack udebs/libgpg-error0-udeb.udeb ... Unpacking libgpg-error0-udeb (1.38-2) ... Selecting previously unselected package libiw30-udeb. (Reading database ... 862 files and directories currently installed.) Preparing to unpack udebs/libiw30-udeb.udeb ... Unpacking libiw30-udeb (30~pre9-13.1) ... Selecting previously unselected package libkmod2-udeb. (Reading database ... 863 files and directories currently installed.) Preparing to unpack udebs/libkmod2-udeb.udeb ... Unpacking libkmod2-udeb (27+20200310-2) ... Selecting previously unselected package libnewt0.52-udeb. (Reading database ... 865 files and directories currently installed.) Preparing to unpack udebs/libnewt0.52-udeb.udeb ... Unpacking libnewt0.52-udeb (0.52.21-4+b2) ... Selecting previously unselected package libnl-3-200-udeb. (Reading database ... 867 files and directories currently installed.) Preparing to unpack udebs/libnl-3-200-udeb.udeb ... Unpacking libnl-3-200-udeb (3.4.0-1+b1) ... Selecting previously unselected package libnl-genl-3-200-udeb. (Reading database ... 869 files and directories currently installed.) Preparing to unpack .../libnl-genl-3-200-udeb.udeb ... Unpacking libnl-genl-3-200-udeb (3.4.0-1+b1) ... Selecting previously unselected package libpci3-udeb. (Reading database ... 871 files and directories currently installed.) Preparing to unpack udebs/libpci3-udeb.udeb ... Unpacking libpci3-udeb (1:3.7.0-4) ... Selecting previously unselected package libpcre2-8-0-udeb. (Reading database ... 873 files and directories currently installed.) Preparing to unpack udebs/libpcre2-8-0-udeb.udeb ... Unpacking libpcre2-8-0-udeb (10.34-7) ... Selecting previously unselected package libslang2-udeb. (Reading database ... 875 files and directories currently installed.) Preparing to unpack udebs/libslang2-udeb.udeb ... Unpacking libslang2-udeb (2.3.2-5) ... Selecting previously unselected package libssl1.1-udeb. (Reading database ... 877 files and directories currently installed.) Preparing to unpack udebs/libssl1.1-udeb.udeb ... Unpacking libssl1.1-udeb (1.1.1h-1) ... Selecting previously unselected package libtextwrap1-udeb. (Reading database ... 878 files and directories currently installed.) Preparing to unpack udebs/libtextwrap1-udeb.udeb ... Unpacking libtextwrap1-udeb (0.1-14.2) ... Selecting previously unselected package libtinfo6-udeb. (Reading database ... 880 files and directories currently installed.) Preparing to unpack udebs/libtinfo6-udeb.udeb ... Unpacking libtinfo6-udeb (6.2+20200918-1) ... Selecting previously unselected package libudev1-udeb. (Reading database ... 882 files and directories currently installed.) Preparing to unpack udebs/libudev1-udeb.udeb ... Unpacking libudev1-udeb (246.6-2) ... Selecting previously unselected package libuuid1-udeb. (Reading database ... 884 files and directories currently installed.) Preparing to unpack udebs/libuuid1-udeb.udeb ... Unpacking libuuid1-udeb (2.36-3+b2) ... Selecting previously unselected package localechooser. (Reading database ... 886 files and directories currently installed.) Preparing to unpack udebs/localechooser.udeb ... Unpacking localechooser (2.89) ... Selecting previously unselected package lowmemcheck. (Reading database ... 897 files and directories currently installed.) Preparing to unpack udebs/lowmemcheck.udeb ... Unpacking lowmemcheck (1.47) ... Selecting previously unselected package main-menu. (Reading database ... 903 files and directories currently installed.) Preparing to unpack udebs/main-menu.udeb ... Unpacking main-menu (1.60) ... Selecting previously unselected package mtd-core-modules-5.9.8-distro-1-arm64-di. (Reading database ... 904 files and directories currently installed.) Preparing to unpack .../mtd-core-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking mtd-core-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package nano-udeb. (Reading database ... 906 files and directories currently installed.) Preparing to unpack udebs/nano-udeb.udeb ... Unpacking nano-udeb (5.3-1) ... Selecting previously unselected package ndisc6-udeb. (Reading database ... 907 files and directories currently installed.) Preparing to unpack udebs/ndisc6-udeb.udeb ... Unpacking ndisc6-udeb (1.0.4-1) ... Selecting previously unselected package net-retriever. (Reading database ... 908 files and directories currently installed.) Preparing to unpack udebs/net-retriever.udeb ... Unpacking net-retriever (1.54) ... Selecting previously unselected package netcfg. (Reading database ... 911 files and directories currently installed.) Preparing to unpack udebs/netcfg.udeb ... Unpacking netcfg (1.168) ... Selecting previously unselected package network-preseed. (Reading database ... 921 files and directories currently installed.) Preparing to unpack udebs/network-preseed.udeb ... Unpacking network-preseed (1.107) ... Selecting previously unselected package nic-modules-5.9.8-distro-1-arm64-di. (Reading database ... 923 files and directories currently installed.) Preparing to unpack .../nic-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking nic-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package nic-shared-modules-5.9.8-distro-1-arm64-di. (Reading database ... 1239 files and directories currently installed.) Preparing to unpack .../nic-shared-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking nic-shared-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package nic-usb-modules-5.9.8-distro-1-arm64-di. (Reading database ... 1248 files and directories currently installed.) Preparing to unpack .../nic-usb-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking nic-usb-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package nic-wireless-modules-5.9.8-distro-1-arm64-di. (Reading database ... 1279 files and directories currently installed.) Preparing to unpack .../nic-wireless-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking nic-wireless-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package pciutils-udeb. (Reading database ... 1480 files and directories currently installed.) Preparing to unpack udebs/pciutils-udeb.udeb ... Unpacking pciutils-udeb (1:3.7.0-4) ... Selecting previously unselected package preseed-common. (Reading database ... 1483 files and directories currently installed.) Preparing to unpack udebs/preseed-common.udeb ... Unpacking preseed-common (1.107) ... Selecting previously unselected package rdnssd-udeb. (Reading database ... 1490 files and directories currently installed.) Preparing to unpack udebs/rdnssd-udeb.udeb ... Unpacking rdnssd-udeb (1.0.4-1) ... Selecting previously unselected package rescue-check. (Reading database ... 1491 files and directories currently installed.) Preparing to unpack udebs/rescue-check.udeb ... Unpacking rescue-check (1.80) ... Selecting previously unselected package rootskel. (Reading database ... 1493 files and directories currently installed.) Preparing to unpack udebs/rootskel.udeb ... Unpacking rootskel (1.132) ... Selecting previously unselected package save-logs. (Reading database ... 1545 files and directories currently installed.) Preparing to unpack udebs/save-logs.udeb ... Unpacking save-logs (2.76) ... Selecting previously unselected package screen-udeb. (Reading database ... 1552 files and directories currently installed.) Preparing to unpack udebs/screen-udeb.udeb ... Unpacking screen-udeb (4.8.0-2) ... Selecting previously unselected package udev-udeb. (Reading database ... 1573 files and directories currently installed.) Preparing to unpack udebs/udev-udeb.udeb ... Unpacking udev-udeb (246.6-2) ... Selecting previously unselected package udpkg. (Reading database ... 1598 files and directories currently installed.) Preparing to unpack udebs/udpkg.udeb ... Unpacking udpkg (1.19) ... Selecting previously unselected package usb-modules-5.9.8-distro-1-arm64-di. (Reading database ... 1601 files and directories currently installed.) Preparing to unpack .../usb-modules-5.9.8-distro-1-arm64-di.udeb ... Unpacking usb-modules-5.9.8-distro-1-arm64-di (5.9.8-00034-gab74575672c6-1) ... Selecting previously unselected package util-linux-udeb. (Reading database ... 1664 files and directories currently installed.) Preparing to unpack udebs/util-linux-udeb.udeb ... Unpacking util-linux-udeb (2.36-3+b2) ... Selecting previously unselected package wget-udeb. (Reading database ... 1666 files and directories currently installed.) Preparing to unpack udebs/wget-udeb.udeb ... Unpacking wget-udeb (1.20.3-1+b2) ... dpkg: warning: overriding problem because --force enabled: dpkg: warning: trying to overwrite '/usr/bin/wget', which is also in package busybox-udeb 1:1.30.1-6 Selecting previously unselected package wide-dhcpv6-client-udeb. (Reading database ... 1666 files and directories currently installed.) Preparing to unpack .../wide-dhcpv6-client-udeb.udeb ... Unpacking wide-dhcpv6-client-udeb (20080615-23) ... Selecting previously unselected package wpasupplicant-udeb. (Reading database ... 1668 files and directories currently installed.) Preparing to unpack udebs/wpasupplicant-udeb.udeb ... Unpacking wpasupplicant-udeb (2:2.9.0-15) ... Selecting previously unselected package zlib1g-udeb. (Reading database ... 1669 files and directories currently installed.) Preparing to unpack udebs/zlib1g-udeb.udeb ... Unpacking zlib1g-udeb (1:1.2.11.dfsg-2) ... sort -u < ./tmp/netboot/built-using.txt > ./tmp/netboot/built-using.txt.new && \ mv ./tmp/netboot/built-using.txt.new ./tmp/netboot/built-using.txt sort -n < ./tmp/netboot/diskusage.txt > ./tmp/netboot/diskusage.txt.new && \ mv ./tmp/netboot/diskusage.txt.new ./tmp/netboot/diskusage.txt grep-dctrl -nsPackage,Version,Architecture '' ./tmp/netboot/tree/var/lib/dpkg/status | \ perl -nle '$p = $_; $v = <>; chomp $v; $a = <>; chomp $a; <>; print "$p $v $a"' | \ sort > ./tmp/netboot/udeb.list # Clean up after dpkg. rm -rf ./tmp/netboot/tree/var/lib/dpkg/updates rm -f ./tmp/netboot/tree/var/lib/dpkg/available ./tmp/netboot/tree/var/lib/dpkg/*-old ./tmp/netboot/tree/var/lib/dpkg/lock # Set up modules.dep, ensure there is at least one standard dir (kernel # in this case), so depmod will use its prune list for archs with no # modules. set -e; \ sysmap_name=; sysmap_opt=; if [ -n "" ]; then [ ! -e ./tmp/netboot/tree/boot/System.map-5.9.8-distro-1-arm64 ] || sysmap_name="./tmp/netboot/tree/boot/System.map-5.9.8-distro-1-arm64"; else [ ! -e ./tmp/netboot/tree/boot/System.map ] || sysmap_name="./tmp/netboot/tree/boot/System.map"; fi; [ -z "$sysmap_name" ] || sysmap_opt="-F $sysmap_name"; if [ -d ./tmp/netboot/tree/lib/modules/5.9.8-distro-1-arm64 ] && [ -z "" ]; then mkdir -p ./tmp/netboot/tree/lib/modules/5.9.8-distro-1-arm64/kernel; depmod $sysmap_opt -q -a -b ./tmp/netboot/tree/ 5.9.8-distro-1-arm64; fi; [ -z "$sysmap_name" ] || mv $sysmap_name ./tmp/netboot; # These files depmod makes are used by udev. find ./tmp/netboot/tree/lib/modules/ -maxdepth 2 -name 'modules*.bin' \ -not -name 'modules.builtin.bin' \ -not -type d | while read f; do rm -f ${f%.bin}; done # These files are used to build special kernel images for some # subarchitectures. Move them out of the way. if [ -d ./tmp/netboot/tree/usr/lib/kernel-image-5.9.8-distro-1-arm64 ]; then mv ./tmp/netboot/tree/usr/lib/kernel-image-5.9.8-distro-1-arm64 ./tmp/netboot/lib; fi; if [ -d ./tmp/netboot/tree/usr/lib/linux-image-5.9.8-distro-1-arm64 ]; then mv ./tmp/netboot/tree/usr/lib/linux-image-5.9.8-distro-1-arm64 ./tmp/netboot/lib; fi; # Move the kernel image out of the way. mv -f ./tmp/netboot/tree/boot/vmlinuz ./tmp/netboot/vmlinuz; test -e ./tmp/netboot/tree/boot/zfs || rmdir ./tmp/netboot/tree/boot/ # Create an lsb release file. if [ ! -e ./tmp/netboot/tree/etc/lsb-release ]; then \ set -e; \ mkdir -p ./tmp/netboot/tree/etc; \ echo 'DISTRIB_ID=Debian' > ./tmp/netboot/tree/etc/lsb-release; \ echo 'DISTRIB_DESCRIPTION="Debian GNU/Linux installer"' >> ./tmp/netboot/tree/etc/lsb-release; \ echo 'DISTRIB_RELEASE="11 (bullseye) - installer build 20201120-02:11:54"' >> ./tmp/netboot/tree/etc/lsb-release; \ echo 'X_INSTALLATION_MEDIUM=netboot' >> ./tmp/netboot/tree/etc/lsb-release; \ fi # Add release info mkdir -p ./tmp/netboot/tree/etc/ echo bullseye >./tmp/netboot/tree/etc/default-release echo unstable >./tmp/netboot/tree/etc/udebs-source # Create a dev tree. mkdir -p ./tmp/netboot/tree/dev # Always needed, in case udev is not mounted on boot. mknod ./tmp/netboot/tree/dev/console c 5 1 mknod ./tmp/netboot/tree/dev/null c 1 3 mkdir -p ./tmp/netboot/tree/extraudebs-tmp mkdir -p ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/info ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/updates touch ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/status ./tmp/netboot/tree/extraudebs-tmp/var/lib/dpkg/available # Get and unpack extra udebs too. get-packages udeb cdebconf-newt-entropy cdebconf-text-entropy * * Warning: Building with localudebs. * This build should not be used for official purposes. * Ign:1 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ InRelease Ign:2 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Release Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Ign:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages Get:3 copy:/root/debian-installer/debian-installer-20200314/build localudebs/ Packages [9638 B] Hit:4 http://ftp.uk.debian.org/debian bullseye InRelease Fetched 9638 B in 1s (12.7 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree... Done Need to download: cdebconf-newt-entropy cdebconf-text-entropy Reading package lists... Done Building dependency tree... Done Installing cdebconf-newt-udeb:arm64 as Depends of cdebconf-newt-entropy:arm64 Installing cdebconf-udeb:arm64 as Depends of cdebconf-newt-udeb:arm64 Installing libc6-udeb:arm64 as Depends of cdebconf-udeb:arm64 Installing libcrypt1-udeb:arm64 as Depends of libc6-udeb:arm64 Installing libdebian-installer4-udeb:arm64 as Depends of cdebconf-udeb:arm64 Installing libtextwrap1-udeb:arm64 as Depends of cdebconf-udeb:arm64 Installing di-utils-terminfo:arm64 as Depends of cdebconf-newt-udeb:arm64 Installing libnewt0.52-udeb:arm64 as Depends of cdebconf-newt-udeb:arm64 Installing libslang2-udeb:arm64 as Depends of libnewt0.52-udeb:arm64 Installing cdebconf-text-udeb:arm64 as Depends of cdebconf-text-entropy:arm64 The following additional packages will be installed: cdebconf-newt-udeb cdebconf-text-udeb cdebconf-udeb di-utils-terminfo libc6-udeb libcrypt1-udeb libdebian-installer4-udeb libnewt0.52-udeb libslang2-udeb libtextwrap1-udeb The following NEW packages will be installed: cdebconf-newt-entropy cdebconf-newt-udeb cdebconf-text-entropy cdebconf-text-udeb cdebconf-udeb di-utils-terminfo libc6-udeb libcrypt1-udeb libdebian-installer4-udeb libnewt0.52-udeb libslang2-udeb libtextwrap1-udeb 0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded. Need to get 33.3 kB/1446 kB of archives. After this operation, 5060 kB of additional disk space will be used. Get:1 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 cdebconf-newt-entropy arm64 0.46 [16.8 kB] Get:2 http://ftp.uk.debian.org/debian bullseye/main/debian-installer arm64 cdebconf-text-entropy arm64 0.46 [16.5 kB] Fetched 33.3 kB in 0s (461 kB/s) Download complete and in download only mode dpkg --force-overwrite --log=/dev/null --root=./tmp/netboot/tree/extraudebs-tmp --unpack \ udebs/cdebconf-newt-entropy.udeb udebs/cdebconf-text-entropy.udeb Selecting previously unselected package cdebconf-newt-entropy. (Reading database ... 0 files and directories currently installed.) Preparing to unpack .../cdebconf-newt-entropy.udeb ... Unpacking cdebconf-newt-entropy (0.46) ... Selecting previously unselected package cdebconf-text-entropy. Preparing to unpack .../cdebconf-text-entropy.udeb ... Unpacking cdebconf-text-entropy (0.46) ... # Library reduction. Existing libs from udebs are put in the udeblibs # directory and mklibs is made to use those in preference to the # system libs. rm -rf ./tmp/netboot/udeblibs mkdir -p ./tmp/netboot/udeblibs find ./tmp/netboot/tree/extraudebs-tmp/lib \( -name '*.so.*' -o -name '*.so' \) -print0 | \ xargs -0r cp -a -t ./tmp/netboot/udeblibs find: './tmp/netboot/tree/extraudebs-tmp/lib': No such file or directory find ./tmp/netboot/tree/lib \( -name '*.so.*' -o -name '*.so' \) -print0 | \ xargs -0r cp -a -t ./tmp/netboot/udeblibs cp: will not overwrite just-created './tmp/netboot/udeblibs/ld-linux-aarch64.so.1' with './tmp/netboot/tree/lib/ld-linux-aarch64.so.1' make[2]: *** [Makefile:520: stamps/tree-netboot-stamp] Error 123 make[1]: *** [Makefile:298: _build] Error 2 make: *** [Makefile:292: build_netboot] Error 2