From: Arne Fitzenreiter <git@ipfire.org>
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. 6104f2e816a215540fd3b08fbba2fd90af59a798
Date: Wed, 07 Nov 2018 18:20:52 +0000 [thread overview]
Message-ID: <20181107182052.D98821081BB0@git01.ipfire.org> (raw)
[-- 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
reply other threads:[~2018-11-07 18:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181107182052.D98821081BB0@git01.ipfire.org \
--to=git@ipfire.org \
--cc=ipfire-scm@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox