#####################################
PROG="${0}"
-VERSION="1.5.0"
EXTRAVER=""
-VOLNAME="sysrcd-1.5.0"
ISODIR=/worksrc/isofiles
MOUNTDIR=/mnt/cdrom
WORKDIR=/worksrc/catalyst/isotemp
REPOSRC=/worksrc/sysresccd-src
REPOBIN=/worksrc/sysresccd-bin
MYDATE=$(date +%Y%m%d-%Hh%M)
+VERSION=$(cat ${REPOSRC}/overlay-squashfs-${ARCH}/root/version)
+VOLNAME="sysrcd-${VERSION}"
usage()
{
cp ${REPOSRC}/overlay-squashfs-${ARCH}/root/version ${WORKDIR}
# ========= integrate the version number in f1boot.msg =========================
-TXTVERSION=$(cat ${REPOSRC}/overlay-squashfs-${ARCH}/root/version)
-sed -i -e "s/VERSION/${TXTVERSION}${EXTRAVER}/" ${WORKDIR}/isolinux/f1boot.msg
+sed -i -e "s/VERSION/${VERSION}${EXTRAVER}/" ${WORKDIR}/isolinux/f1boot.msg
# ========= merge (rescuecd.igz+rescue64.igz+altker32.igz) --> rescuecd.igz ====
curdir="${WORKDIR}/isolinux"