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