public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 6104f2e816a215540fd3b08fbba2fd90af59a798
@ 2018-11-07 18:20 Arne Fitzenreiter
  0 siblings, 0 replies; only message in thread
From: Arne Fitzenreiter @ 2018-11-07 18:20 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 2711 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  6104f2e816a215540fd3b08fbba2fd90af59a798 (commit)
      from  84902aa499cedf798c274e582d35afdf25575ff1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6104f2e816a215540fd3b08fbba2fd90af59a798
Author: Arne Fitzenreiter <arne_f(a)ipfire.org>
Date:   Wed Nov 7 19:16:57 2018 +0100

    backupiso: fix boot on EFI
    
    the grub on EFI serch the config on volume "IPFire 2.21 arch"
    so the custom "ipfire backup ..." volume name is not working
    anymore.
    This is now fixed and a backup-version.media tag will added.
    
    Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 src/scripts/backupiso | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

Difference in files:
diff --git a/src/scripts/backupiso b/src/scripts/backupiso
index d4df6d2c6..2b91b5f6a 100644
--- a/src/scripts/backupiso
+++ b/src/scripts/backupiso
@@ -1,5 +1,10 @@
 #!/bin/sh
 arch=$(uname -m)
+IPFVER=2.21
+COREVER=$(cat /opt/pakfire/db/core/mine)
+# FIXME: edit this lines before release
+URL="https://downloads.ipfire.org/releases/ipfire-2.x/$IPFVER-core$COREVER/"
+ISO="ipfire-$IPFVER.$arch-full-core$COREVER.iso"
 
 makeiso() {
 	local dir="${1}"
@@ -13,7 +18,7 @@ makeiso() {
 	fi
 
 	# Compose ISO
-	mkisofs -J -r -V "ipfire backup ${TS}" \
+	mkisofs -J -r -V "IPFire ${IPFVER} ${arch}" \
 		-b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table \
 		-c boot/isolinux/boot.catalog \
 		${args} ${dir} > ${output}
@@ -43,11 +48,6 @@ case $arch in
 		;;
 esac
 
-COREVER=$(cat /opt/pakfire/db/core/mine)
-# FIXME: edit this lines before release
-URL="https://downloads.ipfire.org/releases/ipfire-2.x/2.21-core$COREVER/"
-ISO="ipfire-2.21.$arch-full-core$COREVER.iso"
-
 if [ -z $1 ]; then
 	echo usage: $0 backup-file
 	exit
@@ -99,6 +99,9 @@ rm -r backupiso.tmp.${TS}
 # Copy backup file to disk
 cp "/var/ipfire/backup/${TS}.ipf" "backupiso.${TS}/backup.ipf"
 
+# Add a version tag
+touch "backupiso.${TS}/backup-${TS}.media"
+
 echo "Running mkisofs"
 makeiso backupiso.${TS} $(basename ${ISO} .iso)-${TS}.iso
 


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-07 18:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-07 18:20 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 6104f2e816a215540fd3b08fbba2fd90af59a798 Arne Fitzenreiter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox