| Line 173... |
Line 173... |
| 173 |
echo "Generating mirror tree..."
|
173 |
echo "Generating mirror tree..."
|
| 174 |
gendistrib -s ${MAGEIA_NEW_DIR}/${ARCH}
|
174 |
gendistrib -s ${MAGEIA_NEW_DIR}/${ARCH}
|
| 175 |
|
175 |
|
| 176 |
# Creating the new iso file
|
176 |
# Creating the new iso file
|
| 177 |
echo "Creating the isofile..."
|
177 |
echo "Creating the isofile..."
|
| 178 |
newIsoName=Mageia-$MAGEIA_VERSION-${ARCH}-Alcasar-$ALCASAR_VERSION.iso
|
178 |
newName=Mageia-$MAGEIA_VERSION-${ARCH}-Alcasar-$ALCASAR_VERSION
|
| - |
|
179 |
newIsoName=$newName.iso
|
| 179 |
|
180 |
|
| 180 |
# Generating the iso file
|
181 |
# Generating the iso file
|
| 181 |
# Parameters for xorriso found using the following command on the Magiea iso file used in ressource folder
|
182 |
# Parameters for xorriso found using the following command on the Magiea iso file used in ressource folder
|
| 182 |
# ex: xorriso -indev Mageia-7.1-x86_64.iso -report_el_torito as_mkisofs
|
183 |
# ex: xorriso -indev Mageia-7.1-x86_64.iso -report_el_torito as_mkisofs
|
| 183 |
cd ${MAGEIA_NEW_DIR} && xorriso -as mkisofs \
|
184 |
cd ${MAGEIA_NEW_DIR} && xorriso -as mkisofs \
|
| 184 |
-V 'Mageia-7.1-x86_64' \
|
185 |
-V $newName \
|
| 185 |
--grub2-mbr --interval:local_fs:0s-15s:zero_mbrpt:$FULL_PATH_ISO_IN \
|
186 |
--grub2-mbr --interval:local_fs:0s-15s:zero_mbrpt:$FULL_PATH_ISO_IN \
|
| 186 |
-partition_cyl_align off \
|
187 |
-partition_cyl_align off \
|
| 187 |
-partition_offset 0 \
|
188 |
-partition_offset 0 \
|
| 188 |
--mbr-force-bootable \
|
189 |
--mbr-force-bootable \
|
| 189 |
-append_partition 2 0xef --interval:local_fs:8785156d-8793347d::$FULL_PATH_ISO_IN \
|
190 |
-append_partition 2 0xef --interval:local_fs:8785156d-8793347d::$FULL_PATH_ISO_IN \
|