From c6ca5a90e06390d354f520e6e6a46c721d4b5a79 2019-10-27 04:53:48 From: Unknown Date: 2019-10-27 04:53:48 Subject: [PATCH] a --- diff --git a/bootstrap.d/11-apt.sh b/bootstrap.d/11-apt.sh index 3699de0..2dba0b8 100644 --- a/bootstrap.d/11-apt.sh +++ b/bootstrap.d/11-apt.sh @@ -20,6 +20,7 @@ sed -i "s/\/ftp.debian.org\//\/${APT_SERVER}\//" "${ETC_DIR}/apt/sources.list" #Fix for changing path for security updates in testing/bullseye if [ "$RELEASE" = "testing" ] ; then sed -i "s,stretch\\/updates,testing-security," "${ETC_DIR}/apt/sources.list" +sed -i "s/ stretch/ ${RELEASE}/" "${ETC_DIR}/apt/sources.list" fi if [ -z "$RELEASE" ] ; then diff --git a/rpi23-gen-image.sh b/rpi23-gen-image.sh index c9215d8..aa90260 100755 --- a/rpi23-gen-image.sh +++ b/rpi23-gen-image.sh @@ -863,7 +863,7 @@ mkdir -p "$BUILDDIR/mount/boot/firmware" mount "$FRMW_LOOP" "$BUILDDIR/mount/boot/firmware" # Copy all files from the chroot to the loop device mount point directory -rsync -a --progress "${R}/" "$BUILDDIR/mount/" +rsync -a "${R}/" "$BUILDDIR/mount/" # Unmount all temporary loop devices and mount points cleanup