Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso2dual
diff options
context:
space:
mode:
Diffstat (limited to 'archiso2dual')
-rw-r--r--archiso2dual/Makefile2
-rw-r--r--archiso2dual/README4
-rwxr-xr-xarchiso2dual/archiso2dual40
-rw-r--r--archiso2dual/syslinux.cfg (renamed from archiso2dual/isolinux.cfg)0
4 files changed, 23 insertions, 23 deletions
diff --git a/archiso2dual/Makefile b/archiso2dual/Makefile
index 6d37c71..c216e11 100644
--- a/archiso2dual/Makefile
+++ b/archiso2dual/Makefile
@@ -4,7 +4,7 @@ install: all
install -D -m 755 archiso2dual $(DESTDIR)/usr/sbin/archiso2dual
install -d -m 755 $(DESTDIR)/usr/share/archiso2dual/
install -D -m 644 isomounts $(DESTDIR)/usr/share/archiso2dual/isomounts
- install -D -m 644 isolinux.cfg $(DESTDIR)/usr/share/archiso2dual/isolinux.cfg
+ install -D -m 644 syslinux.cfg $(DESTDIR)/usr/share/archiso2dual/syslinux.cfg
install -D -m 644 removefiles.lst $(DESTDIR)/usr/share/archiso2dual/removefiles.lst
uninstall:
diff --git a/archiso2dual/README b/archiso2dual/README
index 10e6451..5e18aed 100644
--- a/archiso2dual/README
+++ b/archiso2dual/README
@@ -9,10 +9,10 @@ running with profile "split":
| |-- i686
| | |-- archiso.img
| | `-- vmlinuz26
-| |-- isolinux
+| |-- syslinux
| | |-- boot.cat
| | |-- isolinux.bin
-| | |-- isolinux.cfg
+| | |-- syslinux.cfg
| | `-- memdisk
| |-- memtest
| |-- memtest.COPYING
diff --git a/archiso2dual/archiso2dual b/archiso2dual/archiso2dual
index 4726007..5b17b4a 100755
--- a/archiso2dual/archiso2dual
+++ b/archiso2dual/archiso2dual
@@ -17,7 +17,7 @@ quiet="y"
profile_type="basic"
work_dir="/tmp/archiso2dual"
isomounts_file="/usr/share/archiso2dual/isomounts"
-isolinuxcfg_file="/usr/share/archiso2dual/isolinux.cfg"
+syslinuxcfg_file="/usr/share/archiso2dual/syslinux.cfg"
removefiles_file="/usr/share/archiso2dual/removefiles.lst"
appname=${0##*/}
_error="0"
@@ -47,20 +47,20 @@ kernel_copy() {
done
}
-isolinux_copy() {
+syslinux_copy() {
echo "Executing: ${FUNCNAME}"
cp ${_v} $work_dir/i686/mnt/boot/{memtest*,releasenotes.txt,splash.png} $work_dir/iso/boot/
- cp ${_v} $work_dir/i686/mnt/boot/isolinux/*.c32 $work_dir/iso/boot/isolinux/
- cp ${_v} $work_dir/i686/mnt/boot/isolinux/memdisk $work_dir/iso/boot/isolinux/
- cp ${_v} $work_dir/i686/mnt/boot/isolinux/isolinux.bin $work_dir/iso/boot/isolinux/
- cp ${_v} $work_dir/i686/mnt/boot/isolinux/pxelinux.0 $work_dir/iso/boot/isolinux/
- cp ${_v} $work_dir/i686/mnt/boot/isolinux/gpxelinux.0 $work_dir/iso/boot/isolinux/
- cp ${_v} -r $work_dir/i686/mnt/boot/isolinux/hdt $work_dir/iso/boot/isolinux/
+ cp ${_v} $work_dir/i686/mnt/boot/syslinux/*.c32 $work_dir/iso/boot/syslinux/
+ cp ${_v} $work_dir/i686/mnt/boot/syslinux/memdisk $work_dir/iso/boot/syslinux/
+ cp ${_v} $work_dir/i686/mnt/boot/syslinux/isolinux.bin $work_dir/iso/boot/syslinux/
+ cp ${_v} $work_dir/i686/mnt/boot/syslinux/pxelinux.0 $work_dir/iso/boot/syslinux/
+ cp ${_v} $work_dir/i686/mnt/boot/syslinux/gpxelinux.0 $work_dir/iso/boot/syslinux/
+ cp ${_v} -r $work_dir/i686/mnt/boot/syslinux/hdt $work_dir/iso/boot/syslinux/
}
-isolinuxcfg_copy() {
+syslinuxcfg_copy() {
echo "Executing: ${FUNCNAME}"
- sed "s|XXX|${label}|g" ${isolinuxcfg_file} > $work_dir/iso/boot/isolinux/isolinux.cfg
+ sed "s|XXX|${label}|g" ${syslinuxcfg_file} > $work_dir/iso/boot/syslinux/syslinux.cfg
}
isomounts_copy() {
@@ -83,7 +83,7 @@ make_iso() {
_qflag=""
fi
mkisofs ${_v} ${_qflag} -r -l \
- -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
+ -b boot/syslinux/isolinux.bin -c boot/syslinux/boot.cat \
-uid 0 -gid 0 \
-udf -allow-limited-size -iso-level 3 \
-input-charset utf-8 -p "prepared by archiso2dual" \
@@ -203,7 +203,7 @@ make_workspace() {
mkdir ${_v} -p ${work_dir}/${_arch}/mnt
mkdir ${_v} -p ${work_dir}/tmp/${_arch}
done
- mkdir ${_v} -p ${work_dir}/iso/boot/isolinux
+ mkdir ${_v} -p ${work_dir}/iso/boot/syslinux
mkdir ${_v} -p ${work_dir}/iso/any
mkdir ${_v} -p ${work_dir}/tmp/any
}
@@ -222,8 +222,8 @@ show_help()
echo " general options:"
echo " -M <isomounts> Path to isomounts file
(default to '${isomounts_file}'"
- echo " -S <isolinux> Path to isolinux.cfg file
- (default to '${isolinuxcfg_file}'"
+ echo " -S <syslinux> Path to syslinux.cfg file
+ (default to '${syslinuxcfg_file}'"
echo " -R <removefiles> Path to removefiles file
(default to '${removefiles_file}'"
echo " -w <workdir> Set work directory
@@ -252,7 +252,7 @@ show_config() {
echo " source iso x86_64 image: ${isofile_x86_64}"
echo " target iso image: ${imgname}"
echo " isomounts file: ${isomounts_file}"
- echo " isolinux.cfg file: ${isolinuxcfg_file}"
+ echo " syslinux.cfg file: ${syslinuxcfg_file}"
echo " removefiles.lst file: ${removefiles_file}"
echo " working directory: ${work_dir}"
echo " profile: ${profile_type}"
@@ -309,8 +309,8 @@ sanity_check() {
_error="1"
fi
- if [ ! -f "${isolinuxcfg_file}" ]; then
- echo "*ERROR*: ${isolinuxcfg_file} does not exist, specify one with -S option"
+ if [ ! -f "${syslinuxcfg_file}" ]; then
+ echo "*ERROR*: ${syslinuxcfg_file} does not exist, specify one with -S option"
_error="1"
fi
@@ -345,7 +345,7 @@ while getopts '3:6:o:T:M:S:R:L:P:A:yvh' arg; do
esac
;;
M) isomounts_file="${OPTARG}" ;;
- S) isolinuxcfg_file="${OPTARG}" ;;
+ S) syslinuxcfg_file="${OPTARG}" ;;
R) removefiles_file="${OPTARG}" ;;
L) label="${OPTARG}" ;;
P) publisher="${OPTARG}" ;;
@@ -370,11 +370,11 @@ fi
make_workspace
iso_mount
kernel_copy
-isolinux_copy
+syslinux_copy
squashfs_copy
check_if_core_medium
iso_umount
-isolinuxcfg_copy
+syslinuxcfg_copy
isomounts_copy
if [ ${profile_type} = "full" ] || [ ${profile_type} = "split" ]; then
root_image_extract
diff --git a/archiso2dual/isolinux.cfg b/archiso2dual/syslinux.cfg
index c32b9fd..c32b9fd 100644
--- a/archiso2dual/isolinux.cfg
+++ b/archiso2dual/syslinux.cfg