Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2949 → Rev 2950

/iso/build-iso.sh
40,6 → 40,7
}
 
ISO_IN=`ls $RESSOURCES | grep '^Mageia.*iso'`
FULL_PATH_ISO_IN=$CURRENT_DIR/ressources/$ISO_IN
MAGEIA_VERSION=`echo $ISO_IN|cut -d"-" -f2`
ARCH=`echo $ISO_IN |cut -d"-" -f3|cut -d"." -f1`
ALCASAR_TARBALL=`ls $RESSOURCES| grep '^alcasar.*gz'`
177,21 → 178,25
newIsoName=Mageia-$MAGEIA_VERSION-${ARCH}-Alcasar-$ALCASAR_VERSION.iso
 
# Generating the iso file
# Parameters for xorriso found using the following command on the original mageia iso
# xorriso -indev Mageia-7-x86_64.iso -report_el_torito as_mkisofs
# Parameters for xorriso found using the following command on the Magiea iso file used in ressource folder
# ex: xorriso -indev Mageia-7.1-x86_64.iso -report_el_torito as_mkisofs
cd ${MAGEIA_NEW_DIR} && xorriso -as mkisofs \
-V 'Mageia-7.1-x86_64' \
--grub2-mbr --interval:local_fs:0s-15s:zero_mbrpt:$FULL_PATH_ISO_IN \
-partition_cyl_align off \
-partition_offset 0 \
--mbr-force-bootable \
-append_partition 2 0xef --interval:local_fs:8785156d-8793347d::$FULL_PATH_ISO_IN \
-iso_mbr_part_type 0x00 \
-c 'boot.catalog' \
-b 'boot/grub2/eltorito.img' \
-c /boot.catalog \
-b /boot/grub2/eltorito.img \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
--grub2-boot-info \
-eltorito-alt-boot \
-e '--interval:appended_partition_2_start_2196289s_size_8192d:all::' \
-no-emul-boot \
-boot-load-size 8192 \
-o ${TMP_DIR}/${newIsoName} .