backupiso: Update to ISO file naming - bug#12932

Message ID 20220918114517.7508-1-adolf.belka@ipfire.org
State Accepted
Commit c799e441a447863ff94cd27eb418616bc1200855
Headers
Series backupiso: Update to ISO file naming - bug#12932 |

Commit Message

Adolf Belka Sept. 18, 2022, 11:45 a.m. UTC
  - commit https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=fbd0608c2cb5372fff7857065ec7e605b1bf9cf7
   aligned the ISO file name to the image file name. This change also needed to be added
   to backupiso as the filename is used to download the iso from the IPFire server when
   creating an ISO backup.

Fixes: Bug#12932
Suggested-by: Matthias Fischer <matthias.fischer@ipfire.org>
Tested-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 src/scripts/backupiso | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Bernhard Bitsch Sept. 18, 2022, 8:42 p.m. UTC | #1
Reviewed-by: Bernhard Bitsch <bbitsch@ipfire.org>

Am 18.09.2022 um 13:45 schrieb Adolf Belka:
> - commit https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=fbd0608c2cb5372fff7857065ec7e605b1bf9cf7
>     aligned the ISO file name to the image file name. This change also needed to be added
>     to backupiso as the filename is used to download the iso from the IPFire server when
>     creating an ISO backup.
> 
> Fixes: Bug#12932
> Suggested-by: Matthias Fischer <matthias.fischer@ipfire.org>
> Tested-by: Adolf Belka <adolf.belka@ipfire.org>
> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
> ---
>   src/scripts/backupiso | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/scripts/backupiso b/src/scripts/backupiso
> index ef017e3be..2a016e067 100644
> --- a/src/scripts/backupiso
> +++ b/src/scripts/backupiso
> @@ -35,7 +35,7 @@ case "${arch}" in
>   esac
>   
>   URL="https://downloads.ipfire.org/releases/ipfire-2.x/$IPFVER-core$COREVER/"
> -ISO="ipfire-$IPFVER.$arch-full-core$COREVER.iso"
> +ISO="ipfire-$IPFVER-core$COREVER-$arch.iso"
>   
>   makeiso() {
>   	local dir="${1}"
  

Patch

diff --git a/src/scripts/backupiso b/src/scripts/backupiso
index ef017e3be..2a016e067 100644
--- a/src/scripts/backupiso
+++ b/src/scripts/backupiso
@@ -35,7 +35,7 @@  case "${arch}" in
 esac
 
 URL="https://downloads.ipfire.org/releases/ipfire-2.x/$IPFVER-core$COREVER/"
-ISO="ipfire-$IPFVER.$arch-full-core$COREVER.iso"
+ISO="ipfire-$IPFVER-core$COREVER-$arch.iso"
 
 makeiso() {
 	local dir="${1}"