From ea6f59d06f023eb70e0a3eceaa3531126ea6a341 Mon Sep 17 00:00:00 2001 From: jalr Date: Sun, 11 Feb 2018 20:08:49 +0100 Subject: [PATCH] replace lftp with aria2 --- Dockerfile | 2 +- imagesync.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e14b18e..f33792a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apt-get update \ && apt-get -y install \ initramfs-tools \ linux-image-amd64 \ - lftp + aria2 COPY imagesync.sh /etc/initramfs-tools/scripts/local-premount/ diff --git a/imagesync.sh b/imagesync.sh index d779c63..deccc34 100755 --- a/imagesync.sh +++ b/imagesync.sh @@ -5,7 +5,7 @@ prereqs() { echo "$PREREQ" . /usr/share/initramfs-tools/hook-functions - copy_exec /usr/bin/lftp + copy_exec /usr/bin/aria2c copy_exec /sbin/sfdisk copy_exec /sbin/mke2fs }