Fix debootstrap-ng broken after NFS/FEL changes
This commit is contained in:
parent
38b6a93fdd
commit
7a080c7a84
@ -470,10 +470,10 @@ create_image()
|
||||
display_alert "Copying files to /boot partition" "tmprootfs.raw" "info"
|
||||
if [[ $(findmnt --target $DEST/cache/mount/boot -o FSTYPE -n) == vfat ]]; then
|
||||
# fat32
|
||||
rsync -rLtWh --info=progress2,stats1 $DEST/cache/sdcard/boot $DEST/cache/mount/boot
|
||||
rsync -rLtWh --info=progress2,stats1 $DEST/cache/sdcard/boot $DEST/cache/mount
|
||||
else
|
||||
# ext4
|
||||
rsync -aHWh --info=progress2,stats1 $DEST/cache/sdcard/boot $DEST/cache/mount/boot
|
||||
rsync -aHWh --info=progress2,stats1 $DEST/cache/sdcard/boot $DEST/cache/mount
|
||||
fi
|
||||
|
||||
# DEBUG: print free space
|
||||
|
||||
@ -294,7 +294,7 @@ prepare_host() {
|
||||
PAK="aptly ca-certificates device-tree-compiler pv bc lzop zip binfmt-support build-essential ccache debootstrap ntpdate pigz \
|
||||
gawk gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi qemu-user-static u-boot-tools uuid-dev zlib1g-dev unzip libusb-1.0-0-dev ntpdate \
|
||||
parted pkg-config libncurses5-dev whiptail debian-keyring debian-archive-keyring f2fs-tools libfile-fcntllock-perl rsync libssl-dev \
|
||||
nfs-kernel-server"
|
||||
nfs-kernel-server btrfs-tools"
|
||||
|
||||
# warning: apt-cacher-ng will fail if installed and used both on host and in container/chroot environment with shared network
|
||||
# set NO_APT_CACHER=yes to prevent installation errors in such case
|
||||
|
||||
Loading…
Reference in New Issue
Block a user