]> git.ipfire.org Git - people/ms/nightly-builds.git/commitdiff
Make symlinks to installer ISO image for PXE boot
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Oct 2015 18:55:52 +0000 (20:55 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 3 Oct 2015 18:55:52 +0000 (20:55 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
build.sh

index a215637bc3e2c37e3635b19d78d542c9db45755d..e3649f93babff6892cea68c651365043d389a8ff 100755 (executable)
--- a/build.sh
+++ b/build.sh
@@ -23,6 +23,12 @@ extract_installer_from_iso() {
                                cp -f "${tmpdir}/boot/isolinux/${f}" "${dir}/images"
                        done
                        umount "${tmpdir}"
+
+                       local ext
+                       for ext in "" ".md5"; do
+                               ln -s --relative "${file}${ext}" \
+                                       "${dir}/images/installer.iso${ext}"
+                       done
                        break
                fi
        done 2>/dev/null