summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile18
-rw-r--r--archiso/initcpio/hooks/archiso_loop_mnt32
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_http61
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nfs30
-rwxr-xr-xconfigs/baseline/build.sh30
-rw-r--r--configs/baseline/mkinitcpio.conf2
-rw-r--r--configs/baseline/syslinux/syslinux.cfg10
-rwxr-xr-xconfigs/releng/build.sh68
-rw-r--r--configs/releng/efiboot/loader/entries/archiso-x86_64-cd.conf4
-rw-r--r--configs/releng/efiboot/loader/entries/archiso-x86_64-usb.conf4
-rw-r--r--configs/releng/efiboot/loader/entries/parabolaiso-x86_64-cd.conf4
-rw-r--r--configs/releng/efiboot/loader/entries/parabolaiso-x86_64-usb.conf4
-rw-r--r--configs/releng/efiboot/loader/loader.conf2
-rw-r--r--configs/releng/isolinux/isolinux.cfg2
-rw-r--r--configs/releng/mkinitcpio.conf2
-rw-r--r--configs/releng/pacman.conf2
-rw-r--r--configs/releng/root-image/etc/hostname2
-rwxr-xr-xconfigs/releng/root-image/etc/systemd/scripts/choose-mirror6
-rwxr-xr-xconfigs/releng/root-image/root/customize_root_image.sh2
-rw-r--r--configs/releng/root-image/root/install.txt2
-rw-r--r--configs/releng/syslinux/archiso_pxe32.cfg32
-rw-r--r--configs/releng/syslinux/archiso_pxe64.cfg32
-rw-r--r--configs/releng/syslinux/archiso_pxe_32_inc.cfg3
-rw-r--r--configs/releng/syslinux/archiso_pxe_both_inc.cfg4
-rw-r--r--configs/releng/syslinux/archiso_sys32.cfg9
-rw-r--r--configs/releng/syslinux/archiso_sys64.cfg9
-rw-r--r--configs/releng/syslinux/archiso_sys_32_inc.cfg3
-rw-r--r--configs/releng/syslinux/archiso_sys_both_inc.cfg4
-rw-r--r--configs/releng/syslinux/parabolaiso.cfg (renamed from configs/releng/syslinux/archiso.cfg)4
-rw-r--r--configs/releng/syslinux/parabolaiso_head.cfg (renamed from configs/releng/syslinux/archiso_head.cfg)2
-rw-r--r--configs/releng/syslinux/parabolaiso_pxe32.cfg32
-rw-r--r--configs/releng/syslinux/parabolaiso_pxe64.cfg32
-rw-r--r--configs/releng/syslinux/parabolaiso_pxe_32_inc.cfg3
-rw-r--r--configs/releng/syslinux/parabolaiso_pxe_both_inc.cfg4
-rw-r--r--configs/releng/syslinux/parabolaiso_pxe_choose.cfg (renamed from configs/releng/syslinux/archiso_sys_choose.cfg)4
-rw-r--r--configs/releng/syslinux/parabolaiso_sys32.cfg9
-rw-r--r--configs/releng/syslinux/parabolaiso_sys64.cfg9
-rw-r--r--configs/releng/syslinux/parabolaiso_sys_32_inc.cfg3
-rw-r--r--configs/releng/syslinux/parabolaiso_sys_both_inc.cfg4
-rw-r--r--configs/releng/syslinux/parabolaiso_sys_choose.cfg (renamed from configs/releng/syslinux/archiso_pxe_choose.cfg)4
-rw-r--r--configs/releng/syslinux/parabolaiso_tail.cfg (renamed from configs/releng/syslinux/archiso_tail.cfg)0
-rw-r--r--configs/releng/syslinux/syslinux.cfg2
-rw-r--r--docs/README.altbootmethods56
-rw-r--r--docs/README.bootparams60
-rw-r--r--docs/README.build52
-rw-r--r--docs/README.knownissues6
-rw-r--r--docs/README.transfer18
-rw-r--r--parabolaiso/initcpio/hooks/parabolaiso (renamed from archiso/initcpio/hooks/archiso)90
-rw-r--r--parabolaiso/initcpio/hooks/parabolaiso_loop_mnt32
-rw-r--r--parabolaiso/initcpio/hooks/parabolaiso_pxe_common (renamed from archiso/initcpio/hooks/archiso_pxe_common)0
-rw-r--r--parabolaiso/initcpio/hooks/parabolaiso_pxe_http61
-rw-r--r--parabolaiso/initcpio/hooks/parabolaiso_pxe_nbd (renamed from archiso/initcpio/hooks/archiso_pxe_nbd)20
-rw-r--r--parabolaiso/initcpio/hooks/parabolaiso_pxe_nfs30
-rw-r--r--parabolaiso/initcpio/hooks/parabolaiso_shutdown (renamed from archiso/initcpio/hooks/archiso_shutdown)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso (renamed from archiso/initcpio/install/archiso)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso_kms (renamed from archiso/initcpio/install/archiso_kms)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso_loop_mnt (renamed from archiso/initcpio/install/archiso_loop_mnt)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso_pxe_common (renamed from archiso/initcpio/install/archiso_pxe_common)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso_pxe_http (renamed from archiso/initcpio/install/archiso_pxe_http)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso_pxe_nbd (renamed from archiso/initcpio/install/archiso_pxe_nbd)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso_pxe_nfs (renamed from archiso/initcpio/install/archiso_pxe_nfs)0
-rw-r--r--parabolaiso/initcpio/install/parabolaiso_shutdown (renamed from archiso/initcpio/install/archiso_shutdown)2
-rw-r--r--parabolaiso/initcpio/script/parabolaiso_shutdown (renamed from archiso/initcpio/script/archiso_shutdown)14
-rwxr-xr-xparabolaiso/mkparabolaiso (renamed from archiso/mkarchiso)20
64 files changed, 478 insertions, 478 deletions
diff --git a/Makefile b/Makefile
index 274d8f8..5ed6c7c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
V=11
-INSTALL_FILES=$(wildcard archiso/initcpio/install/*)
-HOOKS_FILES=$(wildcard archiso/initcpio/hooks/*)
-SCRIPT_FILES=$(wildcard archiso/initcpio/script/*)
+INSTALL_FILES=$(wildcard parabolaiso/initcpio/install/*)
+HOOKS_FILES=$(wildcard parabolaiso/initcpio/hooks/*)
+SCRIPT_FILES=$(wildcard parabolaiso/initcpio/script/*)
INSTALL_DIR=$(DESTDIR)/usr/lib/initcpio/install
HOOKS_DIR=$(DESTDIR)/usr/lib/initcpio/hooks
@@ -10,7 +10,7 @@ SCRIPT_DIR=$(DESTDIR)/usr/lib/initcpio
DOC_FILES=$(wildcard docs/*)
-DOC_DIR=$(DESTDIR)/usr/share/doc/archiso
+DOC_DIR=$(DESTDIR)/usr/share/doc/parabolaiso
all:
@@ -18,7 +18,7 @@ all:
install: install-program install-initcpio install-examples install-doc
install-program:
- install -D -m 755 archiso/mkarchiso $(DESTDIR)/usr/bin/mkarchiso
+ install -D -m 755 parabolaiso/mkparabolaiso $(DESTDIR)/usr/bin/mkparabolaiso
install-initcpio:
install -d $(SCRIPT_DIR) $(HOOKS_DIR) $(INSTALL_DIR)
@@ -27,15 +27,15 @@ install-initcpio:
install -m 644 -t $(INSTALL_DIR) $(INSTALL_FILES)
install-examples:
- install -d -m 755 $(DESTDIR)/usr/share/archiso/
- cp -a --no-preserve=ownership configs $(DESTDIR)/usr/share/archiso/
+ install -d -m 755 $(DESTDIR)/usr/share/parabolaiso/
+ cp -a --no-preserve=ownership configs $(DESTDIR)/usr/share/parabolaiso/
install-doc:
install -d $(DOC_DIR)
install -m 644 -t $(DOC_DIR) $(DOC_FILES)
dist:
- git archive --format=tar --prefix=archiso-$(V)/ v$(V) | gzip -9 > archiso-$(V).tar.gz
- gpg --detach-sign --use-agent archiso-$(V).tar.gz
+ git archive --format=tar --prefix=parabolaiso-$(V)/ v$(V) | gzip -9 > parabolaiso-$(V).tar.gz
+ gpg --detach-sign --use-agent parabolaiso-$(V).tar.gz
.PHONY: install install-program install-initcpio install-examples install-doc dist
diff --git a/archiso/initcpio/hooks/archiso_loop_mnt b/archiso/initcpio/hooks/archiso_loop_mnt
deleted file mode 100644
index a02cfac..0000000
--- a/archiso/initcpio/hooks/archiso_loop_mnt
+++ /dev/null
@@ -1,32 +0,0 @@
-# vim: set ft=sh:
-
-run_hook () {
- [[ -n "${img_label}" ]] && img_dev="/dev/disk/by-label/${img_label}"
- if [[ -n "${img_dev}" && -n "${img_loop}" ]]; then
- mount_handler="archiso_loop_mount_handler"
- fi
-}
-
-archiso_loop_mount_handler () {
- newroot="${1}"
-
- local _dev_loop
-
- msg ":: Setup a loop device from ${img_loop} located at device ${img_dev}"
- _mnt_dev "${img_dev}" "/run/archiso/img_dev" "-r"
- if [[ "${copytoram}" != "y" ]]; then
- echo $(readlink -f ${img_dev}) >> /run/archiso/used_block_devices
- fi
-
- if ! _dev_loop=$(losetup --find --show --read-only "/run/archiso/img_dev/${img_loop}"); then
- echo "ERROR: Setting loopback device for file '/run/archiso/img_dev/${img_loop}'"
- launch_interactive_shell
- fi
-
- archiso_mount_handler ${newroot}
-
- if [[ "${copytoram}" == "y" ]]; then
- losetup -d ${_dev_loop}
- umount /run/archiso/img_dev
- fi
-}
diff --git a/archiso/initcpio/hooks/archiso_pxe_http b/archiso/initcpio/hooks/archiso_pxe_http
deleted file mode 100644
index 32e8ab0..0000000
--- a/archiso/initcpio/hooks/archiso_pxe_http
+++ /dev/null
@@ -1,61 +0,0 @@
-# vim: set ft=sh:
-
-run_hook() {
- if [[ -n "${ip}" && -n "${archiso_http_srv}" ]]; then
-
- archiso_http_srv=$(eval echo ${archiso_http_srv})
- [[ -z "${archiso_http_spc}" ]] && archiso_http_spc="75%"
-
- mount_handler="archiso_pxe_http_mount_handler"
- fi
-}
-
-# Fetch a file with CURL
-#
-# $1 URL
-# $2 Destination directory inside httpspace/${archisobasedir}
-_curl_get() {
- local _url="${1}"
- local _dst="${2}"
-
- msg ":: Downloading '${_url}'"
- if ! curl -L -f -o "/run/archiso/httpspace/${archisobasedir}${_dst}/${_url##*/}" --create-dirs "${_url}"; then
- echo "ERROR: Downloading '${_url}'"
- echo " Falling back to interactive prompt"
- echo " You can try to fix the problem manually, log out when you are finished"
- launch_interactive_shell
- fi
-}
-
-archiso_pxe_http_mount_handler () {
- newroot="${1}"
-
- msg ":: Mounting /run/archiso/httpspace (tmpfs) filesystem, size='${archiso_http_spc}'"
- mkdir -p "/run/archiso/httpspace"
- mount -t tmpfs -o size="${archiso_http_spc}",mode=0755 httpspace "/run/archiso/httpspace"
-
- local _aitab_url="${archiso_http_srv}${aitab#/run/archiso/bootmnt/}"
- local _aitab_file="/run/archiso/httpspace/${aitab#/run/archiso/bootmnt/}"
-
- _curl_get "${_aitab_url}" "/"
-
- local aitab_img aitab_mnt aitab_arch aitab_sfs_comp aitab_fs_type aitab_fs_size
- while read aitab_img aitab_mnt aitab_arch aitab_sfs_comp aitab_fs_type aitab_fs_size; do
- [[ "${aitab_img#\#}" != "${aitab_img}" ]] && continue
- [[ "${aitab_arch}" != "any" && "${aitab_arch}" != "${arch}" ]] && continue
- if [[ "${aitab_fs_type}" != "none" ]]; then
- _curl_get "${archiso_http_srv}${archisobasedir}/${aitab_arch}/${aitab_img}.fs.sfs" "/${aitab_arch}"
- else
- _curl_get "${archiso_http_srv}${archisobasedir}/${aitab_arch}/${aitab_img}.sfs" "/${aitab_arch}"
- fi
- done < "${_aitab_file}"
-
- if [[ "${checksum}" == "y" ]]; then
- _curl_get "${archiso_http_srv}${archisobasedir}/checksum.${arch}.md5" "/"
- fi
-
- mkdir -p "/run/archiso/bootmnt"
- mount -o bind /run/archiso/httpspace /run/archiso/bootmnt
-
- archiso_mount_handler ${newroot}
-}
diff --git a/archiso/initcpio/hooks/archiso_pxe_nfs b/archiso/initcpio/hooks/archiso_pxe_nfs
deleted file mode 100644
index 67874ec..0000000
--- a/archiso/initcpio/hooks/archiso_pxe_nfs
+++ /dev/null
@@ -1,30 +0,0 @@
-# vim: set ft=sh:
-
-run_hook() {
- if [[ -n "${ip}" && -n "${archiso_nfs_srv}" ]]; then
-
- archiso_nfs_srv=$(eval echo ${archiso_nfs_srv})
- [[ -n "${archiso_nfs_opt}" ]] && archiso_nfs_opt="-o ${archiso_nfs_opt}"
-
- mount_handler="archiso_nfs_mount_handler"
- fi
-}
-
-archiso_nfs_mount_handler() {
- newroot="${1}"
- mkdir -p "/run/archiso/bootmnt"
- msg ":: Mounting '${archiso_nfs_srv}'"
- # Do not put "${archiso_nfs_opt}" nfsmount fails!
- if ! nfsmount ${archiso_nfs_opt} "${archiso_nfs_srv}" "/run/archiso/bootmnt"; then
- echo "ERROR: Mounting '${archiso_nfs_srv}'"
- echo " Falling back to interactive prompt"
- echo " You can try to fix the problem manually, log out when you are finished"
- launch_interactive_shell
- fi
-
- if [[ "${copytoram}" != "n" ]]; then
- copytoram="y"
- fi
-
- archiso_mount_handler ${newroot}
-}
diff --git a/configs/baseline/build.sh b/configs/baseline/build.sh
index b8ad943..b016b45 100755
--- a/configs/baseline/build.sh
+++ b/configs/baseline/build.sh
@@ -2,10 +2,10 @@
set -e -u
-iso_name=archlinux
-iso_label="ARCH_$(date +%Y%m)"
+iso_name=parabola
+iso_label="PARABOLA_$(date +%Y%m)"
iso_version=$(date +%Y.%m.%d)
-install_dir=arch
+install_dir=parabola
arch=$(uname -m)
work_dir=work
out_dir=out
@@ -22,28 +22,28 @@ run_once() {
# Base installation (root-image)
make_basefs() {
- mkarchiso -v -w "${work_dir}" -D "${install_dir}" init
+ mkparabolaiso -v -w "${work_dir}" -D "${install_dir}" init
}
-# Copy mkinitcpio archiso hooks and build initramfs (root-image)
+# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image)
make_setup_mkinitcpio() {
- cp /usr/lib/initcpio/hooks/archiso ${work_dir}/root-image/usr/lib/initcpio/hooks
- cp /usr/lib/initcpio/install/archiso ${work_dir}/root-image/usr/lib/initcpio/install
- cp ${script_path}/mkinitcpio.conf ${work_dir}/root-image/etc/mkinitcpio-archiso.conf
- mkarchiso -v -w "${work_dir}" -D "${install_dir}" -r 'mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img' run
+ cp /usr/lib/initcpio/hooks/parabolaiso ${work_dir}/root-image/usr/lib/initcpio/hooks
+ cp /usr/lib/initcpio/install/parabolaiso ${work_dir}/root-image/usr/lib/initcpio/install
+ cp ${script_path}/mkinitcpio.conf ${work_dir}/root-image/etc/mkinitcpio-parabolaiso.conf
+ mkparabolaiso -v -w "${work_dir}" -D "${install_dir}" -r 'mkinitcpio -c /etc/mkinitcpio-parabolaiso.conf -k /boot/vmlinuz-linux-libre -g /boot/parabolaiso.img' run
}
# Prepare ${install_dir}/boot/
make_boot() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/${arch}
- cp ${work_dir}/root-image/boot/archiso.img ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img
- cp ${work_dir}/root-image/boot/vmlinuz-linux ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz
+ cp ${work_dir}/root-image/boot/parabolaiso.img ${work_dir}/iso/${install_dir}/boot/${arch}/parabolaiso.img
+ cp ${work_dir}/root-image/boot/vmlinuz-linux-libre ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz
}
# Prepare /${install_dir}/boot/syslinux
make_syslinux() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux
- sed "s|%ARCHISO_LABEL%|${iso_label}|g;
+ sed "s|%PARABOLAISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g;
s|%ARCH%|${arch}|g" ${script_path}/syslinux/syslinux.cfg > ${work_dir}/iso/${install_dir}/boot/syslinux/syslinux.cfg
cp ${work_dir}/root-image/usr/lib/syslinux/menu.c32 ${work_dir}/iso/${install_dir}/boot/syslinux/
@@ -64,13 +64,13 @@ make_aitab() {
# Build all filesystem images specified in aitab (.fs.sfs .sfs)
make_prepare() {
- mkarchiso -v -w "${work_dir}" -D "${install_dir}" prepare
+ mkparabolaiso -v -w "${work_dir}" -D "${install_dir}" prepare
}
# Build ISO
make_iso() {
- mkarchiso -v -w "${work_dir}" -D "${install_dir}" checksum
- mkarchiso -v -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${arch}.iso"
+ mkparabolaiso -v -w "${work_dir}" -D "${install_dir}" checksum
+ mkparabolaiso -v -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-${arch}.iso"
}
run_once make_basefs
diff --git a/configs/baseline/mkinitcpio.conf b/configs/baseline/mkinitcpio.conf
index 1b3d35f..8cf3926 100644
--- a/configs/baseline/mkinitcpio.conf
+++ b/configs/baseline/mkinitcpio.conf
@@ -1 +1 @@
-HOOKS="base udev archiso block filesystems"
+HOOKS="base udev parabolaiso block filesystems"
diff --git a/configs/baseline/syslinux/syslinux.cfg b/configs/baseline/syslinux/syslinux.cfg
index 158a358..4761da9 100644
--- a/configs/baseline/syslinux/syslinux.cfg
+++ b/configs/baseline/syslinux/syslinux.cfg
@@ -1,8 +1,8 @@
UI boot/syslinux/menu.c32
-MENU TITLE Arch Linux
+MENU TITLE Parabola GNU/Linux-libre
-LABEL arch
-MENU LABEL Arch Linux
+LABEL parabola
+MENU LABEL Parabola GNU/Linux-libre
LINUX boot/%ARCH%/vmlinuz
-INITRD boot/%ARCH%/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
+INITRD boot/%ARCH%/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL%
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index bec9a42..e7ce4a4 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -2,10 +2,10 @@
set -e -u
-iso_name=archlinux
-iso_label="ARCH_$(date +%Y%m)"
+iso_name=parabola
+iso_label="PARABOLA_$(date +%Y%m)"
iso_version=$(date +%Y.%m.%d)
-install_dir=arch
+install_dir=parabola
work_dir=work
out_dir=out
@@ -53,45 +53,45 @@ make_pacman_conf() {
# Base installation, plus needed packages (root-image)
make_basefs() {
- setarch ${arch} mkarchiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" init
- setarch ${arch} mkarchiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -p "memtest86+ mkinitcpio-nfs-utils nbd" install
+ setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" init
+ setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -p "memtest86+ mkinitcpio-nfs-utils nbd" install
}
# Additional packages (root-image)
make_packages() {
- setarch ${arch} mkarchiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -p "$(grep -h -v ^# ${script_path}/packages.{both,${arch}})" install
+ setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -p "$(grep -h -v ^# ${script_path}/packages.{both,${arch}})" install
}
-# Copy mkinitcpio archiso hooks and build initramfs (root-image)
+# Copy mkinitcpio parabolaiso hooks and build initramfs (root-image)
make_setup_mkinitcpio() {
local _hook
- for _hook in archiso archiso_shutdown archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_loop_mnt; do
+ for _hook in parabolaiso parabolaiso_shutdown parabolaiso_pxe_common parabolaiso_pxe_nbd parabolaiso_pxe_http parabolaiso_pxe_nfs parabolaiso_loop_mnt; do
cp /usr/lib/initcpio/hooks/${_hook} ${work_dir}/${arch}/root-image/usr/lib/initcpio/hooks
cp /usr/lib/initcpio/install/${_hook} ${work_dir}/${arch}/root-image/usr/lib/initcpio/install
done
- cp /usr/lib/initcpio/install/archiso_kms ${work_dir}/${arch}/root-image/usr/lib/initcpio/install
- cp /usr/lib/initcpio/archiso_shutdown ${work_dir}/${arch}/root-image/usr/lib/initcpio
- cp ${script_path}/mkinitcpio.conf ${work_dir}/${arch}/root-image/etc/mkinitcpio-archiso.conf
- setarch ${arch} mkarchiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -r 'mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img' run
+ cp /usr/lib/initcpio/install/parabolaiso_kms ${work_dir}/${arch}/root-image/usr/lib/initcpio/install
+ cp /usr/lib/initcpio/parabolaiso_shutdown ${work_dir}/${arch}/root-image/usr/lib/initcpio
+ cp ${script_path}/mkinitcpio.conf ${work_dir}/${arch}/root-image/etc/mkinitcpio-parabolaiso.conf
+ setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -r 'mkinitcpio -c /etc/mkinitcpio-parabolaiso.conf -k /boot/vmlinuz-linux-libre -g /boot/parabolaiso.img' run
}
# Customize installation (root-image)
make_customize_root_image() {
cp -af ${script_path}/root-image ${work_dir}/${arch}
- curl -o ${work_dir}/${arch}/root-image/etc/pacman.d/mirrorlist 'https://www.archlinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on'
+ curl -o ${work_dir}/${arch}/root-image/etc/pacman.d/mirrorlist 'https://parabolagnulinux.org/mirrorlist/?country=all&protocol=http&use_mirror_status=on'
- lynx -dump -nolist 'https://wiki.archlinux.org/index.php/Installation_Guide?action=render' >> ${work_dir}/${arch}/root-image/root/install.txt
+ lynx -dump -nolist 'https://wiki.parabolagnulinux.org/index.php/Installation_Guide?action=render' >> ${work_dir}/${arch}/root-image/root/install.txt
- setarch ${arch} mkarchiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -r '/root/customize_root_image.sh' run
+ setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}/${arch}" -C "${pacman_conf}" -D "${install_dir}" -r '/root/customize_root_image.sh' run
rm ${work_dir}/${arch}/root-image/root/customize_root_image.sh
}
# Prepare kernel/initramfs ${install_dir}/boot/
make_boot() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/${arch}
- cp ${work_dir}/${arch}/root-image/boot/archiso.img ${work_dir}/iso/${install_dir}/boot/${arch}/archiso.img
- cp ${work_dir}/${arch}/root-image/boot/vmlinuz-linux ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz
+ cp ${work_dir}/${arch}/root-image/boot/parabolaiso.img ${work_dir}/iso/${install_dir}/boot/${arch}/parabolaiso.img
+ cp ${work_dir}/${arch}/root-image/boot/vmlinuz-linux-libre ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz
}
# Add other aditional/extra files to ${install_dir}/boot/
@@ -104,7 +104,7 @@ make_boot_extra() {
make_syslinux() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux
for _cfg in ${script_path}/syslinux/*.cfg; do
- sed "s|%ARCHISO_LABEL%|${iso_label}|g;
+ sed "s|%PARABOLAISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g" ${_cfg} > ${work_dir}/iso/${install_dir}/boot/syslinux/${_cfg##*/}
done
cp ${script_path}/syslinux/splash.png ${work_dir}/iso/${install_dir}/boot/syslinux
@@ -114,7 +114,7 @@ make_syslinux() {
cp ${work_dir}/${arch}/root-image/usr/lib/syslinux/memdisk ${work_dir}/iso/${install_dir}/boot/syslinux
mkdir -p ${work_dir}/iso/${install_dir}/boot/syslinux/hdt
gzip -c -9 ${work_dir}/${arch}/root-image/usr/share/hwdata/pci.ids > ${work_dir}/iso/${install_dir}/boot/syslinux/hdt/pciids.gz
- gzip -c -9 ${work_dir}/${arch}/root-image/usr/lib/modules/*-ARCH/modules.alias > ${work_dir}/iso/${install_dir}/boot/syslinux/hdt/modalias.gz
+ gzip -c -9 ${work_dir}/${arch}/root-image/usr/lib/modules/*-LIBRE/modules.alias > ${work_dir}/iso/${install_dir}/boot/syslinux/hdt/modalias.gz
}
# Prepare /isolinux
@@ -138,9 +138,9 @@ make_efi() {
cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/iso/loader/entries/
cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/iso/loader/entries/
- sed "s|%ARCHISO_LABEL%|${iso_label}|g;
+ sed "s|%PARABOLAISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g" \
- ${script_path}/efiboot/loader/entries/archiso-x86_64-usb.conf > ${work_dir}/iso/loader/entries/archiso-x86_64.conf
+ ${script_path}/efiboot/loader/entries/parabolaiso-x86_64-usb.conf > ${work_dir}/iso/loader/entries/parabolaiso-x86_64.conf
# EFI Shell 2.0 for UEFI 2.3+ ( http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=UEFI_Shell )
curl -o ${work_dir}/iso/EFI/shellx64_v2.efi https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/ShellBinPkg/UefiShell/X64/Shell.efi
@@ -150,16 +150,16 @@ make_efi() {
# Prepare efiboot.img::/EFI for "El Torito" EFI boot mode
make_efiboot() {
- mkdir -p ${work_dir}/iso/EFI/archiso
- truncate -s 31M ${work_dir}/iso/EFI/archiso/efiboot.img
- mkfs.vfat -n ARCHISO_EFI ${work_dir}/iso/EFI/archiso/efiboot.img
+ mkdir -p ${work_dir}/iso/EFI/parabolaiso
+ truncate -s 31M ${work_dir}/iso/EFI/parabolaiso/efiboot.img
+ mkfs.vfat -n PARABOLAISO_EFI ${work_dir}/iso/EFI/parabolaiso/efiboot.img
mkdir -p ${work_dir}/efiboot
- mount ${work_dir}/iso/EFI/archiso/efiboot.img ${work_dir}/efiboot
+ mount ${work_dir}/iso/EFI/parabolaiso/efiboot.img ${work_dir}/efiboot
- mkdir -p ${work_dir}/efiboot/EFI/archiso
- cp ${work_dir}/iso/${install_dir}/boot/x86_64/vmlinuz ${work_dir}/efiboot/EFI/archiso/vmlinuz.efi
- cp ${work_dir}/iso/${install_dir}/boot/x86_64/archiso.img ${work_dir}/efiboot/EFI/archiso/archiso.img
+ mkdir -p ${work_dir}/efiboot/EFI/parabolaiso
+ cp ${work_dir}/iso/${install_dir}/boot/x86_64/vmlinuz ${work_dir}/efiboot/EFI/parabolaiso/vmlinuz.efi
+ cp ${work_dir}/iso/${install_dir}/boot/x86_64/parabolaiso.img ${work_dir}/efiboot/EFI/parabolaiso/parabolaiso.img
mkdir -p ${work_dir}/efiboot/EFI/boot
cp ${work_dir}/x86_64/root-image/usr/lib/prebootloader/PreLoader.efi ${work_dir}/efiboot/EFI/boot/bootx64.efi
@@ -172,9 +172,9 @@ make_efiboot() {
cp ${script_path}/efiboot/loader/entries/uefi-shell-v2-x86_64.conf ${work_dir}/efiboot/loader/entries/
cp ${script_path}/efiboot/loader/entries/uefi-shell-v1-x86_64.conf ${work_dir}/efiboot/loader/entries/
- sed "s|%ARCHISO_LABEL%|${iso_label}|g;
+ sed "s|%PARABOLAISO_LABEL%|${iso_label}|g;
s|%INSTALL_DIR%|${install_dir}|g" \
- ${script_path}/efiboot/loader/entries/archiso-x86_64-cd.conf > ${work_dir}/efiboot/loader/entries/archiso-x86_64.conf
+ ${script_path}/efiboot/loader/entries/parabolaiso-x86_64-cd.conf > ${work_dir}/efiboot/loader/entries/parabolaiso-x86_64.conf
cp ${work_dir}/iso/EFI/shellx64_v2.efi ${work_dir}/efiboot/EFI/
cp ${work_dir}/iso/EFI/shellx64_v1.efi ${work_dir}/efiboot/EFI/
@@ -191,16 +191,16 @@ make_aitab() {
# Build all filesystem images specified in aitab (.fs.sfs .sfs)
make_prepare() {
cp -a -l -f ${work_dir}/${arch}/root-image ${work_dir}
- setarch ${arch} mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" pkglist
- setarch ${arch} mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
+ setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" pkglist
+ setarch ${arch} mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" prepare
rm -rf ${work_dir}/root-image
# rm -rf ${work_dir}/${arch}/root-image (if low space, this helps)
}
# Build ISO
make_iso() {
- mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum
- mkarchiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-dual.iso"
+ mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" checksum
+ mkparabolaiso ${verbose} -w "${work_dir}" -D "${install_dir}" -L "${iso_label}" -o "${out_dir}" iso "${iso_name}-${iso_version}-dual.iso"
}
if [[ ${EUID} -ne 0 ]]; then
diff --git a/configs/releng/efiboot/loader/entries/archiso-x86_64-cd.conf b/configs/releng/efiboot/loader/entries/archiso-x86_64-cd.conf
deleted file mode 100644
index 9892c59..0000000
--- a/configs/releng/efiboot/loader/entries/archiso-x86_64-cd.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-title Arch Linux archiso x86_64 UEFI CD
-linux /EFI/archiso/vmlinuz.efi
-initrd /EFI/archiso/archiso.img
-options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
diff --git a/configs/releng/efiboot/loader/entries/archiso-x86_64-usb.conf b/configs/releng/efiboot/loader/entries/archiso-x86_64-usb.conf
deleted file mode 100644
index f61c532..0000000
--- a/configs/releng/efiboot/loader/entries/archiso-x86_64-usb.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-title Arch Linux archiso x86_64 UEFI USB
-linux /%INSTALL_DIR%/boot/x86_64/vmlinuz
-initrd /%INSTALL_DIR%/boot/x86_64/archiso.img
-options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
diff --git a/configs/releng/efiboot/loader/entries/parabolaiso-x86_64-cd.conf b/configs/releng/efiboot/loader/entries/parabolaiso-x86_64-cd.conf
new file mode 100644
index 0000000..057e14f
--- /dev/null
+++ b/configs/releng/efiboot/loader/entries/parabolaiso-x86_64-cd.conf
@@ -0,0 +1,4 @@
+title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI CD
+linux /EFI/parabolaiso/vmlinuz.efi
+initrd /EFI/parabolaiso/parabolaiso.img
+options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL%
diff --git a/configs/releng/efiboot/loader/entries/parabolaiso-x86_64-usb.conf b/configs/releng/efiboot/loader/entries/parabolaiso-x86_64-usb.conf
new file mode 100644
index 0000000..3863799
--- /dev/null
+++ b/configs/releng/efiboot/loader/entries/parabolaiso-x86_64-usb.conf
@@ -0,0 +1,4 @@
+title Parabola GNU/Linux-libre parabolaiso x86_64 UEFI USB
+linux /%INSTALL_DIR%/boot/x86_64/vmlinuz
+initrd /%INSTALL_DIR%/boot/x86_64/parabolaiso.img
+options parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL%
diff --git a/configs/releng/efiboot/loader/loader.conf b/configs/releng/efiboot/loader/loader.conf
index 62c4a83..ba02c50 100644
--- a/configs/releng/efiboot/loader/loader.conf
+++ b/configs/releng/efiboot/loader/loader.conf
@@ -1,2 +1,2 @@
timeout 3
-default archiso-x86_64
+default parabolaiso-x86_64
diff --git a/configs/releng/isolinux/isolinux.cfg b/configs/releng/isolinux/isolinux.cfg
index 1040d3f..3ee24e0 100644
--- a/configs/releng/isolinux/isolinux.cfg
+++ b/configs/releng/isolinux/isolinux.cfg
@@ -1,5 +1,5 @@
DEFAULT loadconfig
LABEL loadconfig
- CONFIG /%INSTALL_DIR%/boot/syslinux/archiso.cfg
+ CONFIG /%INSTALL_DIR%/boot/syslinux/parabolaiso.cfg
APPEND /%INSTALL_DIR%/
diff --git a/configs/releng/mkinitcpio.conf b/configs/releng/mkinitcpio.conf
index 2f46da4..1006d1d 100644
--- a/configs/releng/mkinitcpio.conf
+++ b/configs/releng/mkinitcpio.conf
@@ -1,2 +1,2 @@
-HOOKS="base udev memdisk archiso_shutdown archiso archiso_loop_mnt archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_kms block pcmcia filesystems keyboard"
+HOOKS="base udev memdisk parabolaiso_shutdown parabolaiso parabolaiso_loop_mnt parabolaiso_pxe_common parabolaiso_pxe_nbd parabolaiso_pxe_http parabolaiso_pxe_nfs parabolaiso_kms block pcmcia filesystems keyboard"
COMPRESSION="xz"
diff --git a/configs/releng/pacman.conf b/configs/releng/pacman.conf
index 45fe03d..800d572 100644
--- a/configs/releng/pacman.conf
+++ b/configs/releng/pacman.conf
@@ -43,7 +43,7 @@ LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
-# keyring can then be populated with the keys of all official Arch Linux
+# keyring can then be populated with the keys of all official Parabola GNU/Linux-libre
# packagers with `pacman-key --populate archlinux`.
#
diff --git a/configs/releng/root-image/etc/hostname b/configs/releng/root-image/etc/hostname
index 2dbe21e..8aaf41b 100644
--- a/configs/releng/root-image/etc/hostname
+++ b/configs/releng/root-image/etc/hostname
@@ -1 +1 @@
-archiso
+parabolaiso
diff --git a/configs/releng/root-image/etc/systemd/scripts/choose-mirror b/configs/releng/root-image/etc/systemd/scripts/choose-mirror
index 0ae0806..13c9f69 100755
--- a/configs/releng/root-image/etc/systemd/scripts/choose-mirror
+++ b/configs/releng/root-image/etc/systemd/scripts/choose-mirror
@@ -12,14 +12,14 @@ get_cmdline() {
}
mirror=$(get_cmdline mirror)
-[[ $mirror = auto ]] && mirror=$(get_cmdline archiso_http_srv)
+[[ $mirror = auto ]] && mirror=$(get_cmdline parabolaiso_http_srv)
[[ $mirror ]] || exit 0
mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig
cat >/etc/pacman.d/mirrorlist << EOF
#
-# Arch Linux repository mirrorlist
-# Generated by archiso
+# Parabola GNU/Linux-libre repository mirrorlist
+# Generated by parabolaiso
#
Server = ${mirror%%/}/\$repo/os/\$arch
diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh
index a60f308..7c9a003 100755
--- a/configs/releng/root-image/root/customize_root_image.sh
+++ b/configs/releng/root-image/root/customize_root_image.sh
@@ -10,7 +10,7 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
usermod -s /usr/bin/zsh root
cp -aT /etc/skel/ /root/
-useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/zsh arch
+useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /usr/bin/zsh parabola
chmod 750 /etc/sudoers.d
chmod 440 /etc/sudoers.d/g_wheel
diff --git a/configs/releng/root-image/root/install.txt b/configs/releng/root-image/root/install.txt
index 3c8f171..87b85cb 100644
--- a/configs/releng/root-image/root/install.txt
+++ b/configs/releng/root-image/root/install.txt
@@ -1,3 +1,3 @@
View this installation guide online at
-https://wiki.archlinux.org/index.php/Installation_Guide
+https://wiki.parabolagnulinux.org/index.php/Installation_Guide
diff --git a/configs/releng/syslinux/archiso_pxe32.cfg b/configs/releng/syslinux/archiso_pxe32.cfg
deleted file mode 100644
index 383094a..0000000
--- a/configs/releng/syslinux/archiso_pxe32.cfg
+++ /dev/null
@@ -1,32 +0,0 @@
-LABEL arch32_nbd
-TEXT HELP
-Boot the Arch Linux (i686) live medium (Using NBD).
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (i686) (NBD)
-LINUX boot/i686/vmlinuz
-INITRD boot/i686/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver}
-IPAPPEND 3
-
-LABEL arch32_nfs
-TEXT HELP
-Boot the Arch Linux (i686) live medium (Using NFS).
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (i686) (NFS)
-LINUX boot/i686/vmlinuz
-INITRD boot/i686/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt
-IPAPPEND 3
-
-LABEL arch32_http
-TEXT HELP
-Boot the Arch Linux (i686) live medium (Using HTTP).
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (i686) (HTTP)
-LINUX boot/i686/vmlinuz
-INITRD boot/i686/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/
-IPAPPEND 3
diff --git a/configs/releng/syslinux/archiso_pxe64.cfg b/configs/releng/syslinux/archiso_pxe64.cfg
deleted file mode 100644
index 6227393..0000000
--- a/configs/releng/syslinux/archiso_pxe64.cfg
+++ /dev/null
@@ -1,32 +0,0 @@
-LABEL arch64_nbd
-TEXT HELP
-Boot the Arch Linux (x86_64) live medium (Using NBD).
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (x86_64) (NBD)
-LINUX boot/x86_64/vmlinuz
-INITRD boot/x86_64/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% archiso_nbd_srv=${pxeserver}
-IPAPPEND 3
-
-LABEL arch64_nfs
-TEXT HELP
-Boot the Arch Linux (x86_64) live medium (Using NFS).
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (x86_64) (NFS)
-LINUX boot/x86_64/vmlinuz
-INITRD boot/x86_64/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archiso_nfs_srv=${pxeserver}:/run/archiso/bootmnt
-IPAPPEND 3
-
-LABEL arch64_http
-TEXT HELP
-Boot the Arch Linux (x86_64) live medium (Using HTTP).
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (x86_64) (HTTP)
-LINUX boot/x86_64/vmlinuz
-INITRD boot/x86_64/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archiso_http_srv=http://${pxeserver}/
-IPAPPEND 3
diff --git a/configs/releng/syslinux/archiso_pxe_32_inc.cfg b/configs/releng/syslinux/archiso_pxe_32_inc.cfg
deleted file mode 100644
index e4115df..0000000
--- a/configs/releng/syslinux/archiso_pxe_32_inc.cfg
+++ /dev/null
@@ -1,3 +0,0 @@
-INCLUDE boot/syslinux/archiso_head.cfg
-INCLUDE boot/syslinux/archiso_pxe32.cfg
-INCLUDE boot/syslinux/archiso_tail.cfg
diff --git a/configs/releng/syslinux/archiso_pxe_both_inc.cfg b/configs/releng/syslinux/archiso_pxe_both_inc.cfg
deleted file mode 100644
index 1593303..0000000
--- a/configs/releng/syslinux/archiso_pxe_both_inc.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-INCLUDE boot/syslinux/archiso_head.cfg
-INCLUDE boot/syslinux/archiso_pxe64.cfg
-INCLUDE boot/syslinux/archiso_pxe32.cfg
-INCLUDE boot/syslinux/archiso_tail.cfg
diff --git a/configs/releng/syslinux/archiso_sys32.cfg b/configs/releng/syslinux/archiso_sys32.cfg
deleted file mode 100644
index 43f839e..0000000
--- a/configs/releng/syslinux/archiso_sys32.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-LABEL arch32
-TEXT HELP
-Boot the Arch Linux (i686) live medium.
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (i686)
-LINUX boot/i686/vmlinuz
-INITRD boot/i686/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
diff --git a/configs/releng/syslinux/archiso_sys64.cfg b/configs/releng/syslinux/archiso_sys64.cfg
deleted file mode 100644
index 9d6c4de..0000000
--- a/configs/releng/syslinux/archiso_sys64.cfg
+++ /dev/null
@@ -1,9 +0,0 @@
-LABEL arch64
-TEXT HELP
-Boot the Arch Linux (x86_64) live medium.
-It allows you to install Arch Linux or perform system maintenance.
-ENDTEXT
-MENU LABEL Boot Arch Linux (x86_64)
-LINUX boot/x86_64/vmlinuz
-INITRD boot/x86_64/archiso.img
-APPEND archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
diff --git a/configs/releng/syslinux/archiso_sys_32_inc.cfg b/configs/releng/syslinux/archiso_sys_32_inc.cfg
deleted file mode 100644
index 9e37093..0000000
--- a/configs/releng/syslinux/archiso_sys_32_inc.cfg
+++ /dev/null
@@ -1,3 +0,0 @@
-INCLUDE boot/syslinux/archiso_head.cfg
-INCLUDE boot/syslinux/archiso_sys32.cfg
-INCLUDE boot/syslinux/archiso_tail.cfg
diff --git a/configs/releng/syslinux/archiso_sys_both_inc.cfg b/configs/releng/syslinux/archiso_sys_both_inc.cfg
deleted file mode 100644
index e885c40..0000000
--- a/configs/releng/syslinux/archiso_sys_both_inc.cfg
+++ /dev/null
@@ -1,4 +0,0 @@
-INCLUDE boot/syslinux/archiso_head.cfg
-INCLUDE boot/syslinux/archiso_sys64.cfg
-INCLUDE boot/syslinux/archiso_sys32.cfg
-INCLUDE boot/syslinux/archiso_tail.cfg
diff --git a/configs/releng/syslinux/archiso.cfg b/configs/releng/syslinux/parabolaiso.cfg
index d1817af..473e245 100644
--- a/configs/releng/syslinux/archiso.cfg
+++ b/configs/releng/syslinux/parabolaiso.cfg
@@ -5,7 +5,7 @@ COM32 boot/syslinux/whichsys.c32
APPEND -pxe- pxe -sys- sys -iso- sys
LABEL pxe
-CONFIG boot/syslinux/archiso_pxe_choose.cfg
+CONFIG boot/syslinux/parabolaiso_pxe_choose.cfg
LABEL sys
-CONFIG boot/syslinux/archiso_sys_choose.cfg
+CONFIG boot/syslinux/parabolaiso_sys_choose.cfg
diff --git a/configs/releng/syslinux/archiso_head.cfg b/configs/releng/syslinux/parabolaiso_head.cfg
index 81ad26e..278255d 100644
--- a/configs/releng/syslinux/archiso_head.cfg
+++ b/configs/releng/syslinux/parabolaiso_head.cfg
@@ -1,6 +1,6 @@
SERIAL 0 38400
UI boot/syslinux/vesamenu.c32
-MENU TITLE Arch Linux
+MENU TITLE Parabola GNU/Linux-libre
MENU BACKGROUND boot/syslinux/splash.png
MENU WIDTH 78
diff --git a/configs/releng/syslinux/parabolaiso_pxe32.cfg b/configs/releng/syslinux/parabolaiso_pxe32.cfg
new file mode 100644
index 0000000..60bc713
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_pxe32.cfg
@@ -0,0 +1,32 @@
+LABEL parabola32_nbd
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (i686) live medium (Using NBD).
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NBD)
+LINUX boot/i686/vmlinuz
+INITRD boot/i686/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver}
+IPAPPEND 3
+
+LABEL parabola32_nfs
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (i686) live medium (Using NFS).
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (i686) (NFS)
+LINUX boot/i686/vmlinuz
+INITRD boot/i686/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt
+IPAPPEND 3
+
+LABEL parabola32_http
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (i686) live medium (Using HTTP).
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (i686) (HTTP)
+LINUX boot/i686/vmlinuz
+INITRD boot/i686/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/
+IPAPPEND 3
diff --git a/configs/releng/syslinux/parabolaiso_pxe64.cfg b/configs/releng/syslinux/parabolaiso_pxe64.cfg
new file mode 100644
index 0000000..34bf7d7
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_pxe64.cfg
@@ -0,0 +1,32 @@
+LABEL parabola64_nbd
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NBD).
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NBD)
+LINUX boot/x86_64/vmlinuz
+INITRD boot/x86_64/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL% parabolaiso_nbd_srv=${pxeserver}
+IPAPPEND 3
+
+LABEL parabola64_nfs
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using NFS).
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (NFS)
+LINUX boot/x86_64/vmlinuz
+INITRD boot/x86_64/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_nfs_srv=${pxeserver}:/run/parabolaiso/bootmnt
+IPAPPEND 3
+
+LABEL parabola64_http
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (x86_64) live medium (Using HTTP).
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (x86_64) (HTTP)
+LINUX boot/x86_64/vmlinuz
+INITRD boot/x86_64/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaiso_http_srv=http://${pxeserver}/
+IPAPPEND 3
diff --git a/configs/releng/syslinux/parabolaiso_pxe_32_inc.cfg b/configs/releng/syslinux/parabolaiso_pxe_32_inc.cfg
new file mode 100644
index 0000000..ba514cb
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_pxe_32_inc.cfg
@@ -0,0 +1,3 @@
+INCLUDE boot/syslinux/parabolaiso_head.cfg
+INCLUDE boot/syslinux/parabolaiso_pxe32.cfg
+INCLUDE boot/syslinux/parabolaiso_tail.cfg
diff --git a/configs/releng/syslinux/parabolaiso_pxe_both_inc.cfg b/configs/releng/syslinux/parabolaiso_pxe_both_inc.cfg
new file mode 100644
index 0000000..9396d9b
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_pxe_both_inc.cfg
@@ -0,0 +1,4 @@
+INCLUDE boot/syslinux/parabolaiso_head.cfg
+INCLUDE boot/syslinux/parabolaiso_pxe64.cfg
+INCLUDE boot/syslinux/parabolaiso_pxe32.cfg
+INCLUDE boot/syslinux/parabolaiso_tail.cfg
diff --git a/configs/releng/syslinux/archiso_sys_choose.cfg b/configs/releng/syslinux/parabolaiso_pxe_choose.cfg
index 24c597a..a3a768f 100644
--- a/configs/releng/syslinux/archiso_sys_choose.cfg
+++ b/configs/releng/syslinux/parabolaiso_pxe_choose.cfg
@@ -5,7 +5,7 @@ COM32 boot/syslinux/ifcpu64.c32
APPEND have64 -- nohave64
LABEL have64
-CONFIG boot/syslinux/archiso_sys_both_inc.cfg
+CONFIG boot/syslinux/parabolaiso_pxe_both_inc.cfg
LABEL nohave64
-CONFIG boot/syslinux/archiso_sys_32_inc.cfg
+CONFIG boot/syslinux/parabolaiso_pxe_32_inc.cfg
diff --git a/configs/releng/syslinux/parabolaiso_sys32.cfg b/configs/releng/syslinux/parabolaiso_sys32.cfg
new file mode 100644
index 0000000..4abdf7a
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_sys32.cfg
@@ -0,0 +1,9 @@
+LABEL parabola32
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (i686) live medium.
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (i686)
+LINUX boot/i686/vmlinuz
+INITRD boot/i686/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL%
diff --git a/configs/releng/syslinux/parabolaiso_sys64.cfg b/configs/releng/syslinux/parabolaiso_sys64.cfg
new file mode 100644
index 0000000..b154459
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_sys64.cfg
@@ -0,0 +1,9 @@
+LABEL parabola64
+TEXT HELP
+Boot the Parabola GNU/Linux-libre (x86_64) live medium.
+It allows you to install Parabola GNU/Linux-libre or perform system maintenance.
+ENDTEXT
+MENU LABEL Boot Parabola GNU/Linux-libre (x86_64)
+LINUX boot/x86_64/vmlinuz
+INITRD boot/x86_64/parabolaiso.img
+APPEND parabolaisobasedir=%INSTALL_DIR% parabolaisolabel=%PARABOLAISO_LABEL%
diff --git a/configs/releng/syslinux/parabolaiso_sys_32_inc.cfg b/configs/releng/syslinux/parabolaiso_sys_32_inc.cfg
new file mode 100644
index 0000000..c641201
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_sys_32_inc.cfg
@@ -0,0 +1,3 @@
+INCLUDE boot/syslinux/parabolaiso_head.cfg
+INCLUDE boot/syslinux/parabolaiso_sys32.cfg
+INCLUDE boot/syslinux/parabolaiso_tail.cfg
diff --git a/configs/releng/syslinux/parabolaiso_sys_both_inc.cfg b/configs/releng/syslinux/parabolaiso_sys_both_inc.cfg
new file mode 100644
index 0000000..9dfb87f
--- /dev/null
+++ b/configs/releng/syslinux/parabolaiso_sys_both_inc.cfg
@@ -0,0 +1,4 @@
+INCLUDE boot/syslinux/parabolaiso_head.cfg
+INCLUDE boot/syslinux/parabolaiso_sys64.cfg
+INCLUDE boot/syslinux/parabolaiso_sys32.cfg
+INCLUDE boot/syslinux/parabolaiso_tail.cfg
diff --git a/configs/releng/syslinux/archiso_pxe_choose.cfg b/configs/releng/syslinux/parabolaiso_sys_choose.cfg
index 6296065..d436062 100644
--- a/configs/releng/syslinux/archiso_pxe_choose.cfg
+++ b/configs/releng/syslinux/parabolaiso_sys_choose.cfg
@@ -5,7 +5,7 @@ COM32 boot/syslinux/ifcpu64.c32
APPEND have64 -- nohave64
LABEL have64
-CONFIG boot/syslinux/archiso_pxe_both_inc.cfg
+CONFIG boot/syslinux/parabolaiso_sys_both_inc.cfg
LABEL nohave64
-CONFIG boot/syslinux/archiso_pxe_32_inc.cfg
+CONFIG boot/syslinux/parabolaiso_sys_32_inc.cfg
diff --git a/configs/releng/syslinux/archiso_tail.cfg b/configs/releng/syslinux/parabolaiso_tail.cfg
index 5d95b3b..5d95b3b 100644
--- a/configs/releng/syslinux/archiso_tail.cfg
+++ b/configs/releng/syslinux/parabolaiso_tail.cfg
diff --git a/configs/releng/syslinux/syslinux.cfg b/configs/releng/syslinux/syslinux.cfg
index 3ee98de..0869ed2 100644
--- a/configs/releng/syslinux/syslinux.cfg
+++ b/configs/releng/syslinux/syslinux.cfg
@@ -1,5 +1,5 @@
DEFAULT loadconfig
LABEL loadconfig
- CONFIG archiso.cfg
+ CONFIG parabolaiso.cfg
APPEND ../../
diff --git a/docs/README.altbootmethods b/docs/README.altbootmethods
index 3dc8a2c..77ff917 100644
--- a/docs/README.altbootmethods
+++ b/docs/README.altbootmethods
@@ -13,7 +13,7 @@ INDEX
*** Alternative boot methods (configs/releng)
-ISO images names consist of: archlinux-<YYYY>.<MM>.<DD>-dual.iso
+ISO images names consist of: parabola-<YYYY>.<MM>.<DD>-dual.iso
Where:
<YYYY> Year
@@ -24,22 +24,22 @@ Where:
** ISO in loopback mode.
Note: Described method is for using with GRUB2.
- GRUB2 is installed on target media and archlinux-<YYYY>.<MM>.<DD>-dual.iso
+ GRUB2 is installed on target media and parabola-<YYYY>.<MM>.<DD>-dual.iso
is at path <TARGET-PATH> on disk <D> and partition <P>,
where filesystem is labeled as <TARGET-FS-LABEL>.
-menuentry "Arch Linux (x86_64)" {
- set isofile="/<TARGET-PATH>/archlinux-<YYYY>.<MM>.<DD>-dual.iso"
+menuentry "Parabola GNU/Linux-libre (x86_64)" {
+ set isofile="/<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso"
loopback loop (hd<D>,<P>)$isofile
- linux (loop)/arch/boot/x86_64/vmlinuz archisolabel=<FS-LABEL> img_label=<TARGET-FS-LABEL> img_loop=$isofile
- initrd (loop)/arch/boot/x86_64/archiso.img
+ linux (loop)/parabola/boot/x86_64/vmlinuz parabolaisolabel=<FS-LABEL> img_label=<TARGET-FS-LABEL> img_loop=$isofile
+ initrd (loop)/parabola/boot/x86_64/parabolaiso.img
}
-menuentry "Arch Linux (i686)" {
- set isofile="/<TARGET-PATH>/archlinux-<YYYY>.<MM>.<DD>-dual.iso"
+menuentry "Parabola GNU/Linux-libre (i686)" {
+ set isofile="/<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso"
loopback loop (hd<D>,<P>)$isofile
- linux (loop)/arch/boot/i686/vmlinuz archisolabel=<FS-LABEL> img_label=<TARGET-FS-LABEL> img_loop=$isofile
- initrd (loop)/arch/boot/i686/archiso.img
+ linux (loop)/parabola/boot/i686/vmlinuz parabolaisolabel=<FS-LABEL> img_label=<TARGET-FS-LABEL> img_loop=$isofile
+ initrd (loop)/parabola/boot/i686/parabolaiso.img
}
@@ -47,20 +47,20 @@ menuentry "Arch Linux (i686)" {
Note: Described method is for using with SYSLINUX. Anyway MEMDISK from SYSLINUX can work
with other bootloaders.
- SYSLINUX is installed on target media and archlinux-<YYYY>.<MM>.<DD>-dual.iso
+ SYSLINUX is installed on target media and parabola-<YYYY>.<MM>.<DD>-dual.iso
is at path <TARGET-PATH>.
On 32-bit systems, is needed to pass vmalloc=nnM to the kernel, where nn is the size
of the ISO image plus 64 MiB (or 128 MiB).
-LABEL arch_x64
+LABEL parabola_x64
LINUX memdisk
- INITRD /<TARGET-PATH>/archlinux-<YYYY>.<MM>.<DD>-dual.iso
+ INITRD /<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso
APPEND iso
-LABEL arch_x32
+LABEL parabola_x32
LINUX memdisk
- INITRD /<TARGET-PATH>/archlinux-<YYYY>.<MM>.<DD>-dual.iso
+ INITRD /<TARGET-PATH>/parabola-<YYYY>.<MM>.<DD>-dual.iso
APPEND iso
@@ -79,11 +79,11 @@ Note: All NIC firmwares should support this.
# dnsmasq --port=0 \
--enable-tftp \
- --tftp-root=/run/archiso/bootmnt \
+ --tftp-root=/run/parabolaiso/bootmnt \
--dhcp-range=192.168.0.2,192.168.0.254,86400 \
- --dhcp-boot=/arch/boot/syslinux/gpxelinux.0 \
- --dhcp-option-force=209,boot/syslinux/archiso.cfg \
- --dhcp-option-force=210,/arch/
+ --dhcp-boot=/parabola/boot/syslinux/gpxelinux.0 \
+ --dhcp-option-force=209,boot/syslinux/parabolaiso.cfg \
+ --dhcp-option-force=210,/parabola/
* DHCP + HTTP
@@ -92,34 +92,34 @@ Note: Not all NIC firmware supports HTTP and DNS (if domain name is used).
# dnsmasq --port=0 \
--dhcp-range=192.168.0.2,192.168.0.254,86400 \
- --dhcp-boot=http://192.168.0.7/arch/boot/syslinux/gpxelinux.0 \
- --dhcp-option-force=209,boot/syslinux/archiso.cfg \
- --dhcp-option-force=210,http://192.168.0.7/arch/
+ --dhcp-boot=http://192.168.0.7/parabola/boot/syslinux/gpxelinux.0 \
+ --dhcp-option-force=209,boot/syslinux/parabolaiso.cfg \
+ --dhcp-option-force=210,http://192.168.0.7/parabola/
Once the kernel is started from PXE, SquashFS files and other misc files
-inside "arch" directory must be loaded (second stage). One of the following
+inside "parabola" directory must be loaded (second stage). One of the following
methods can be used to serve the rest of live-medium.
* HTTP
-# darkhttpd /run/archiso/bootmnt
+# darkhttpd /run/parabolaiso/bootmnt
* NFS
-# echo "/run/archiso/bootmnt 192.168.0.*(ro,no_subtree_check,no_root_squash)" >> /etc/exports
+# echo "/run/parabolaiso/bootmnt 192.168.0.*(ro,no_subtree_check,no_root_squash)" >> /etc/exports
# systemctl start rpc-mountd.service
* NBD
-Note: Adjust ARCH_201302 as needed.
+Note: Adjust PARABOLA_201302 as needed.
# cat << EOF > /tmp/nbd-server.conf
[generic]
-[archiso]
+[parabolaiso]
readonly = true
- exportname = /dev/disk/by-label/ARCH_201302
+ exportname = /dev/disk/by-label/PARABOLA_201302
EOF
# nbd-server -C /tmp/nbd-server.conf
diff --git a/docs/README.bootparams b/docs/README.bootparams
index 8063bd1..7139976 100644
--- a/docs/README.bootparams
+++ b/docs/README.bootparams
@@ -2,12 +2,12 @@ INDEX
-----
* Boot parameters (initramfs stage)
- * hooks/archiso
- * hooks/archiso_pxe_common
- * hooks/archiso_pxe_nbd
- * hooks/archiso_pxe_http
- * hooks/archiso_pxe_nfs
- * hooks/archiso_loop_mnt
+ * hooks/parabolaiso
+ * hooks/parabolaiso_pxe_common
+ * hooks/parabolaiso_pxe_nbd
+ * hooks/parabolaiso_pxe_http
+ * hooks/parabolaiso_pxe_nfs
+ * hooks/parabolaiso_loop_mnt
* Boot parameters (configs/releng)
* scripts/choose-mirror
@@ -15,16 +15,16 @@ INDEX
*** Boot parameters (initramfs stage)
-** hooks/archiso
+** hooks/parabolaiso
-* archisolabel= Set the filesystem label where archiso files reside.
+* parabolaisolabel= Set the filesystem label where parabolaiso files reside.
Default: (unset)
-* archisodevice= Set the device node where archiso medium is located.
- Default: "/dev/disk/by-label/${archisolabel}"
-* archisobasedir= Set the base directory where all files reside.
- Default: "arch"
+* parabolaisodevice= Set the device node where parabolaiso medium is located.
+ Default: "/dev/disk/by-label/${parabolaisolabel}"
+* parabolaisobasedir= Set the base directory where all files reside.
+ Default: "parabola"
* aitab= Set the path for "aitab" file.
- Default: ${archisobasedir}/aitab
+ Default: ${parabolaisobasedir}/aitab
* copytoram= If set to "y" or just "copytoram" without arguments,
all SquashFS are copied to "RAM".
Default: (unset)
@@ -39,7 +39,7 @@ INDEX
must be stored.
Default: (unset) or "/dev/disk/by-label/${cow_label}"
* cow_directory= Set a directory inside ${cow_device}.
- Default: "/persistent_${archisolabel}/${arch}"
+ Default: "/persistent_${parabolaisolabel}/${arch}"
* cow_persistent= Set if snapshots are persistent "P" or non-persistent "N".
Default: "N" (if no ${cow_device} is used) otherwise "P".
* cowspace_size= Set the size of tmpfs /cowspace. This space is used for
@@ -58,14 +58,14 @@ INDEX
in percentage of available RAM.
Default: "75%"
* dm_snap_prefix= Set a prefix for device-mapper snapshot node names.
- Default: "arch"
+ Default: "parabola"
* arch= Force an architecture type (i686 | x86_64).
Do not set it for normal operations.
Useful for running a 64 bit kernel / 32 bit userspace.
Default: (architecture of running kernel)
-** hooks/archiso_pxe_common
+** hooks/parabolaiso_pxe_common
* ip= This parameter is setup automatically by PXELINUX
when option "IPAPPEND" is set to 1 or 2 in config.
@@ -80,31 +80,31 @@ INDEX
Default: "y"
-** hooks/archiso_pxe_nbd
+** hooks/parabolaiso_pxe_nbd
-* archiso_nbd_name= Set NBD export name used by the server.
- Default: archiso
-* archiso_nbd_srv= Set an IP address where NBD reside.
+* parabolaiso_nbd_name= Set NBD export name used by the server.
+ Default: parabolaiso
+* parabolaiso_nbd_srv= Set an IP address where NBD reside.
If ${pxeserver} is used, PXE IP will be used.
Default: (unset)
-** hooks/archiso_pxe_http
+** hooks/parabolaiso_pxe_http
-* archiso_http_srv= Set an HTTP URL (must end with /) where ${archisobasedir}
+* parabolaiso_http_srv= Set an HTTP URL (must end with /) where ${parabolaisobasedir}
is found with all *.sfs files.
In the IP/domain part if ${pxeserver} is used, use PXE IP.
Default: (unset)
-* archiso_http_spc= Set the size of tmpfs where *.sfs files are downloaded.
+* parabolaiso_http_spc= Set the size of tmpfs where *.sfs files are downloaded.
Default: "75%"
-** hooks/archiso_pxe_nfs
+** hooks/parabolaiso_pxe_nfs
-* archiso_nfs_srv= Set the NFS-IP:/path of the server
+* parabolaiso_nfs_srv= Set the NFS-IP:/path of the server
In the IP part if ${pxeserver} is used, PXE IP will be used.
Default: (unset)
-* archiso_nfs_opt= Set NFS mount options separated by comma.
+* parabolaiso_nfs_opt= Set NFS mount options separated by comma.
Default: (unset, see below)
These are the implicit options:
port = as given by server portmap daemon
@@ -119,13 +119,13 @@ INDEX
flags = hard, nointr, noposix, cto, ac
-** hooks/archiso_loop_mnt
+** hooks/parabolaiso_loop_mnt
-* img_label= Set the filesystem label where archiso-image.iso.
+* img_label= Set the filesystem label where parabolaiso-image.iso.
Default: (unset)
-* img_dev= Device where archiso-image.iso reside.
+* img_dev= Device where parabolaiso-image.iso reside.
Default: (unset) or "/dev/disk/by-label/${img_label}"
-* img_loop= Full path where archiso-image.iso is located on ${img_dev}
+* img_loop= Full path where parabolaiso-image.iso is located on ${img_dev}
Default: (unset)
diff --git a/docs/README.build b/docs/README.build
index 80d4b2c..f2fb594 100644
--- a/docs/README.build
+++ b/docs/README.build
@@ -2,17 +2,17 @@ INDEX
-----
* Build requirements
-* Image types generated by mkarchiso.
+* Image types generated by mkparabolaiso.
* File format for aitab.
-* Why the /isolinux and /arch/boot/syslinux directories?
-* Building the most basic Arch Linux live media. (configs/baseline)
-* Building official Arch Linux live media. (configs/releng)
+* Why the /isolinux and /parabola/boot/syslinux directories?
+* Building the most basic Parabola GNU/Linux-libre live media. (configs/baseline)
+* Building official Parabola GNU/Linux-libre live media. (configs/releng)
*** Build requirements
-** For mkarchiso script needs these packages (build host):
+** For mkparabolaiso script needs these packages (build host):
+ squashfs-tools for mksquashfs
+ libisoburn for xorriso
+ btrfs-progs for mkfs.btrfs (optional)
@@ -22,23 +22,23 @@ INDEX
+ lynx for fetching the latest installation guide
** For these hooks needs these packages (on target root-image)
-* archiso
+* parabolaiso
+ (none)
-* archiso_loop_mnt
+* parabolaiso_loop_mnt
+ (none)
-* archiso_pxe_common
+* parabolaiso_pxe_common
+ mkinitcpio-nfs-utils for ipconfig
-* archiso_pxe_nbd
+* parabolaiso_pxe_nbd
+ nbd for nbd-client
-* archiso_pxe_http
+* parabolaiso_pxe_http
+ curl for curl
-* archiso_pxe_nfs
+* parabolaiso_pxe_nfs
+ mkinitcpio-nfs-utils for nfsmount
-* archiso_shutdown
+* parabolaiso_shutdown
+ (none)
-*** Image types generated by mkarchiso.
+*** Image types generated by mkparabolaiso.
* image-name.sfs SquashFS image with all files directly on it.
[read-only, no dm-snapshot is used]
@@ -51,7 +51,7 @@ INDEX
*** File format for aitab.
The aitab file holds information about the filesystems images that must be
-created by mkarchiso and mounted at initramfs stage from the archiso hook.
+created by mkparabolaiso and mounted at initramfs stage from the parabolaiso hook.
It consists of some fields which define the behaviour of images.
# <img> <mnt> <arch> <sfs_comp> <fs_type> <fs_size>
@@ -72,40 +72,40 @@ It consists of some fields which define the behaviour of images.
Space used + 10% (estimated for metadata overhead) + desired %
-*** Why the /isolinux and /arch/boot/syslinux directories?
+*** Why the /isolinux and /parabola/boot/syslinux directories?
The /isolinux directory holds files needed for the ISOLINUX boot loader
module of SYSLINUX. ISOLINUX can not find config files on
-/arch/boot/syslinux, like other boot loaders modules (SYSLINUX, PXELINUX).
+/parabola/boot/syslinux, like other boot loaders modules (SYSLINUX, PXELINUX).
-*** Building the most basic Arch Linux live media. (configs/baseline)
+*** Building the most basic Parabola GNU/Linux-libre live media. (configs/baseline)
* Install needed packages.
# pacman -S git make squashfs-tools libisoburn rsync --needed
-* Install archiso.
- # git clone git://projects.archlinux.org/archiso.git
- # make -C archiso install
+* Install parabolaiso.
+ # git clone git://projects.parabolagnulinux.org/parabolaiso.git
+ # make -C parabolaiso install
* Build a basic iso.
- # /usr/share/archiso/configs/baseline/build.sh
+ # /usr/share/parabolaiso/configs/baseline/build.sh
Note: If you want to customize, just see the configs/releng directory which is
used to build official images with much more things.
-*** Building official Arch Linux live media. (configs/releng)
+*** Building official Parabola GNU/Linux-libre live media. (configs/releng)
* Install needed packages.
# pacman -S git make squashfs-tools libisoburn dosfstools lynx --needed
-* Install archiso.
- # git clone git://projects.archlinux.org/archiso.git
- # make -C archiso install
+* Install parabolaiso.
+ # git clone git://projects.parabolagnulinux.org/parabolaiso.git
+ # make -C parabolaiso install
* Build them!
- # /usr/share/archiso/configs/releng/build.sh
+ # /usr/share/parabolaiso/configs/releng/build.sh
Note: See build.sh -h for more options. This only runs on x86_64.
diff --git a/docs/README.knownissues b/docs/README.knownissues
index 3a94764..7002c5e 100644
--- a/docs/README.knownissues
+++ b/docs/README.knownissues
@@ -2,11 +2,11 @@
** (1) On shutdown lots of messages from systemd like:
- "Could not unmount /run/archiso/<ABC>: Device or resource busy"
+ "Could not unmount /run/parabolaiso/<ABC>: Device or resource busy"
"Could not delete loopback /dev/loop<N>: Device or resource busy"
This is not a real issue since, all mounted filesystem, loopback devices
- and device mapper devices made by archiso will be "free" on "shutdown tmpfs"
- (A.K.A deinitramfs), build at initramfs by [archiso_shutdown] initcpio hook.
+ and device mapper devices made by parabolaiso will be "free" on "shutdown tmpfs"
+ (A.K.A deinitramfs), build at initramfs by [parabolaiso_shutdown] initcpio hook.
Proper shutdown is mostly important when persistent is used.
diff --git a/docs/README.transfer b/docs/README.transfer
index c2883ad..fd916fc 100644
--- a/docs/README.transfer
+++ b/docs/README.transfer
@@ -13,7 +13,7 @@ INDEX
*** Transfer ISO image to target medium (configs/releng)
-ISO images names consist of: archlinux-<YYYY>.<MM>.<DD>-dual.iso
+ISO images names consist of: parabola-<YYYY>.<MM>.<DD>-dual.iso
Where:
<YYYY> Year
@@ -34,7 +34,7 @@ Nomeclature:
1) Write it directly using your favorite recording program.
-# cdrecord dev=<B>,<T>,<L> -dao archlinux-<YYYY>.<MM>.<DD>-dual.iso
+# cdrecord dev=<B>,<T>,<L> -dao parabola-<YYYY>.<MM>.<DD>-dual.iso
** To -> USB Flash Drive (USB-key) / Memory card (SD) /
@@ -42,9 +42,9 @@ Nomeclature:
Note: These steps are the general workflow, you can skip some of them,
using another filesystem if your bootloader supports it,
- installing to another directory than "arch/" or using more than
+ installing to another directory than "parabola/" or using more than
one partition. Just ensure that main boot params options
- (archisolabel= and archisobasedir=) are set correctly according to your setup.
+ (parabolaisolabel= and parabolaisobasedir=) are set correctly according to your setup.
Nomeclature:
<DEV-TARGET>: Device node of the drive where ISO contents should be copied
@@ -53,10 +53,10 @@ Nomeclature:
(example: /dev/sdx1)
<MNT-TARGET-N>: Mount point path where <DEV-TARGET-N> is mounted
(example: /mnt/sdx/1)
-<ISO-SOURCE>: Path to the ISO file archlinux-<YYYY>.<MM>.<DD>-dual.iso
- (example: ~/archlinux-2012.07.22-dual.iso)
+<ISO-SOURCE>: Path to the ISO file parabola-<YYYY>.<MM>.<DD>-dual.iso
+ (example: ~/parabola-2012.07.22-dual.iso)
<FS-LABEL>: Represents the filesystem label of the <ISO-SOURCE>
- (example: ARCH_201302)
+ (example: PARABOLA_201302)
* PC-BIOS (MBR):
@@ -83,7 +83,7 @@ Note: COW is not supported on NTFS.
# bsdtar -x --exclude=isolinux/ --exclude=EFI/ --exclude=loader/ -f <ISO-SOURCE> -C <MNT-TARGET-N>
5) Install syslinux bootloader on target filesystem.
-# extlinux -i <MNT-TARGET-N>/arch/boot/syslinux
+# extlinux -i <MNT-TARGET-N>/parabola/boot/syslinux
6) Unmount target filesystem.
# umount <MNT-TARGET-N>
@@ -117,7 +117,7 @@ Note: Using here a GPT partition mode as example, but MBR should also works
# mount <DEV-TARGET-N> <MNT-TARGET-N>
4) Extract ISO image on target filesystem.
-# bsdtar -x --exclude=isolinux/ --exclude=EFI/archiso/ --exclude=arch/boot/syslinux/ -f <ISO-SOURCE> -C <MNT-TARGET-N>
+# bsdtar -x --exclude=isolinux/ --exclude=EFI/parabolaiso/ --exclude=parabola/boot/syslinux/ -f <ISO-SOURCE> -C <MNT-TARGET-N>
5) Unmount target filesystem.
# umount <MNT-TARGET-N>
diff --git a/archiso/initcpio/hooks/archiso b/parabolaiso/initcpio/hooks/parabolaiso
index 66a6273..c23fd3d 100644
--- a/archiso/initcpio/hooks/archiso
+++ b/parabolaiso/initcpio/hooks/parabolaiso
@@ -9,7 +9,7 @@ _mnt_fs() {
local ro_dev ro_dev_size rw_dev
ro_dev=$(losetup --find --show --read-only "${img}")
- echo ${ro_dev} >> /run/archiso/used_block_devices
+ echo ${ro_dev} >> /run/parabolaiso/used_block_devices
ro_dev_size=$(blockdev --getsz ${ro_dev})
if [[ "${cowfile_size}" == "100" ]]; then
rw_dev_size=${ro_dev_size}
@@ -19,28 +19,28 @@ _mnt_fs() {
fi
if [[ "${cow_persistent}" == "P" ]]; then
- if [[ -f "/run/archiso/cowspace/${cow_directory}/${img_name}.cow" ]]; then
- msg ":: Found '/run/archiso/cowspace/${cow_directory}/${img_name}.cow', using as persistent."
+ if [[ -f "/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow" ]]; then
+ msg ":: Found '/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow', using as persistent."
else
- msg ":: Creating '/run/archiso/cowspace/${cow_directory}/${img_name}.cow' as persistent."
- dd of="/run/archiso/cowspace/${cow_directory}/${img_name}.cow" count=0 seek=${rw_dev_size} &> /dev/null
+ msg ":: Creating '/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow' as persistent."
+ dd of="/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow" count=0 seek=${rw_dev_size} &> /dev/null
fi
else
- if [[ -f "/run/archiso/cowspace/${cow_directory}/${img_name}.cow" ]]; then
- msg ":: Found '/run/archiso/cowspace/${cow_directory}/${img_name}.cow' but non-persistent requested, removing."
- rm -f "/run/archiso/cowspace/${cow_directory}/${img_name}.cow"
+ if [[ -f "/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow" ]]; then
+ msg ":: Found '/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow' but non-persistent requested, removing."
+ rm -f "/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow"
fi
- msg ":: Creating '/run/archiso/cowspace/${cow_directory}/${img_name}.cow' as non-persistent."
- dd of="/run/archiso/cowspace/${cow_directory}/${img_name}.cow" count=0 seek=${rw_dev_size} &> /dev/null
+ msg ":: Creating '/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow' as non-persistent."
+ dd of="/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow" count=0 seek=${rw_dev_size} &> /dev/null
fi
- rw_dev=$(losetup --find --show "/run/archiso/cowspace/${cow_directory}/${img_name}.cow")
- echo ${rw_dev} >> /run/archiso/used_block_devices
+ rw_dev=$(losetup --find --show "/run/parabolaiso/cowspace/${cow_directory}/${img_name}.cow")
+ echo ${rw_dev} >> /run/parabolaiso/used_block_devices
echo "0 ${ro_dev_size} snapshot ${ro_dev} ${rw_dev} ${cow_persistent} 8" | dmsetup create ${dm_snap_name}
_mnt_dev "/dev/mapper/${dm_snap_name}" "${newroot}${mnt}" "-w"
- echo $(readlink -f /dev/mapper/${dm_snap_name}) >> /run/archiso/used_block_devices
+ echo $(readlink -f /dev/mapper/${dm_snap_name}) >> /run/parabolaiso/used_block_devices
}
# args: /path/to/image_file, mountpoint
@@ -52,15 +52,15 @@ _mnt_sfs() {
if [[ "${copytoram}" == "y" ]]; then
msg -n ":: Copying squashfs image to RAM..."
- if ! cp "${img}" "/run/archiso/copytoram/${img_fullname}" ; then
- echo "ERROR: while copy '${img}' to '/run/archiso/copytoram/${img_fullname}'"
+ if ! cp "${img}" "/run/parabolaiso/copytoram/${img_fullname}" ; then
+ echo "ERROR: while copy '${img}' to '/run/parabolaiso/copytoram/${img_fullname}'"
launch_interactive_shell
fi
- img="/run/archiso/copytoram/${img_fullname}"
+ img="/run/parabolaiso/copytoram/${img_fullname}"
msg "done."
fi
sfs_dev=$(losetup --find --show --read-only "${img}")
- echo ${sfs_dev} >> /run/archiso/used_block_devices
+ echo ${sfs_dev} >> /run/parabolaiso/used_block_devices
_mnt_dev "${sfs_dev}" "${mnt}" "-r"
}
@@ -93,7 +93,7 @@ _mnt_dev() {
_verify_checksum() {
local _status
- cd "/run/archiso/bootmnt/${archisobasedir}"
+ cd "/run/parabolaiso/bootmnt/${parabolaisobasedir}"
md5sum -c checksum.${arch}.md5 > /tmp/checksum.${arch}.log 2>&1
_status=$?
cd "${OLDPWD}"
@@ -104,9 +104,9 @@ run_hook() {
[[ -z "${arch}" ]] && arch="$(uname -m)"
[[ -z "${cowspace_size}" ]] && cowspace_size="75%"
[[ -z "${copytoram_size}" ]] && copytoram_size="75%"
- [[ -z "${archisobasedir}" ]] && archisobasedir="arch"
- [[ -z "${dm_snap_prefix}" ]] && dm_snap_prefix="arch"
- [[ -z "${archisodevice}" ]] && archisodevice="/dev/disk/by-label/${archisolabel}"
+ [[ -z "${parabolaisobasedir}" ]] && parabolaisobasedir="parabola"
+ [[ -z "${dm_snap_prefix}" ]] && dm_snap_prefix="parabola"
+ [[ -z "${parabolaisodevice}" ]] && parabolaisodevice="/dev/disk/by-label/${parabolaisolabel}"
if [[ -z "${cowfile_size}" ]]; then
cowfile_size="100"
else
@@ -114,9 +114,9 @@ run_hook() {
fi
if [[ -z "${aitab}" ]]; then
- aitab="/run/archiso/bootmnt/${archisobasedir}/aitab"
+ aitab="/run/parabolaiso/bootmnt/${parabolaisobasedir}/aitab"
else
- aitab="/run/archiso/bootmnt/${archisobasedir}/${aitab}"
+ aitab="/run/parabolaiso/bootmnt/${parabolaisobasedir}/${aitab}"
fi
if [[ -n "${cow_label}" ]]; then
@@ -128,22 +128,22 @@ run_hook() {
cow_persistent="N"
fi
- [[ -z "${cow_directory}" ]] && cow_directory="persistent_${archisolabel}/${arch}"
+ [[ -z "${cow_directory}" ]] && cow_directory="persistent_${parabolaisolabel}/${arch}"
- # set mount handler for archiso
- mount_handler="archiso_mount_handler"
+ # set mount handler for parabolaiso
+ mount_handler="parabolaiso_mount_handler"
}
# This function is called normally from init script, but it can be called
# as chain from other mount handlers.
# args: /path/to/newroot
-archiso_mount_handler() {
+parabolaiso_mount_handler() {
local newroot="${1}"
- if ! mountpoint -q "/run/archiso/bootmnt"; then
- _mnt_dev "${archisodevice}" "/run/archiso/bootmnt" "-r"
+ if ! mountpoint -q "/run/parabolaiso/bootmnt"; then
+ _mnt_dev "${parabolaisodevice}" "/run/parabolaiso/bootmnt" "-r"
if [[ "${copytoram}" != "y" ]]; then
- echo $(readlink -f ${archisodevice}) >> /run/archiso/used_block_devices
+ echo $(readlink -f ${parabolaisodevice}) >> /run/parabolaiso/used_block_devices
fi
fi
@@ -156,7 +156,7 @@ archiso_mount_handler() {
fi
if [[ "${checksum}" == "y" ]]; then
- if [[ -f "/run/archiso/bootmnt/${archisobasedir}/checksum.${arch}.md5" ]]; then
+ if [[ -f "/run/parabolaiso/bootmnt/${parabolaisobasedir}/checksum.${arch}.md5" ]]; then
msg -n ":: Self-test requested, please wait..."
if _verify_checksum; then
msg "done. Checksum is OK, continue booting."
@@ -172,36 +172,36 @@ archiso_mount_handler() {
fi
if [[ "${copytoram}" == "y" ]]; then
- msg ":: Mounting /run/archiso/copytoram (tmpfs) filesystem, size=${copytoram_size}"
- mkdir -p /run/archiso/copytoram
- mount -t tmpfs -o "size=${copytoram_size}",mode=0755 copytoram /run/archiso/copytoram
+ msg ":: Mounting /run/parabolaiso/copytoram (tmpfs) filesystem, size=${copytoram_size}"
+ mkdir -p /run/parabolaiso/copytoram
+ mount -t tmpfs -o "size=${copytoram_size}",mode=0755 copytoram /run/parabolaiso/copytoram
fi
if [[ -n "${cow_device}" ]]; then
- _mnt_dev "${cow_device}" "/run/archiso/cowspace" "-r"
- echo $(readlink -f ${cow_device}) >> /run/archiso/used_block_devices
- mount -o remount,rw "/run/archiso/cowspace"
+ _mnt_dev "${cow_device}" "/run/parabolaiso/cowspace" "-r"
+ echo $(readlink -f ${cow_device}) >> /run/parabolaiso/used_block_devices
+ mount -o remount,rw "/run/parabolaiso/cowspace"
else
- msg ":: Mounting /run/archiso/cowspace (tmpfs) filesystem, size=${cowspace_size}..."
- mkdir -p /run/archiso/cowspace
- mount -t tmpfs -o "size=${cowspace_size}",mode=0755 cowspace /run/archiso/cowspace
+ msg ":: Mounting /run/parabolaiso/cowspace (tmpfs) filesystem, size=${cowspace_size}..."
+ mkdir -p /run/parabolaiso/cowspace
+ mount -t tmpfs -o "size=${cowspace_size}",mode=0755 cowspace /run/parabolaiso/cowspace
fi
- mkdir -p "/run/archiso/cowspace/${cow_directory}"
+ mkdir -p "/run/parabolaiso/cowspace/${cow_directory}"
local aitab_img aitab_mnt aitab_arch aitab_sfs_comp aitab_fs_type aitab_fs_size
while read aitab_img aitab_mnt aitab_arch aitab_sfs_comp aitab_fs_type aitab_fs_size; do
[[ "${aitab_img#\#}" != "${aitab_img}" ]] && continue
[[ "${aitab_arch}" != "any" && "${aitab_arch}" != "${arch}" ]] && continue
if [[ "${aitab_fs_type}" != "none" ]]; then
- _mnt_sfs "/run/archiso/bootmnt/${archisobasedir}/${aitab_arch}/${aitab_img}.fs.sfs" "/run/archiso/sfs/${aitab_img}"
- _mnt_fs "/run/archiso/sfs/${aitab_img}/${aitab_img}.fs" "${newroot}" "${aitab_mnt}"
+ _mnt_sfs "/run/parabolaiso/bootmnt/${parabolaisobasedir}/${aitab_arch}/${aitab_img}.fs.sfs" "/run/parabolaiso/sfs/${aitab_img}"
+ _mnt_fs "/run/parabolaiso/sfs/${aitab_img}/${aitab_img}.fs" "${newroot}" "${aitab_mnt}"
else
- _mnt_sfs "/run/archiso/bootmnt/${archisobasedir}/${aitab_arch}/${aitab_img}.sfs" "${newroot}${aitab_mnt}"
+ _mnt_sfs "/run/parabolaiso/bootmnt/${parabolaisobasedir}/${aitab_arch}/${aitab_img}.sfs" "${newroot}${aitab_mnt}"
fi
done < "${aitab}"
if [[ "${copytoram}" == "y" ]]; then
- umount /run/archiso/bootmnt
+ umount /run/parabolaiso/bootmnt
fi
}
diff --git a/parabolaiso/initcpio/hooks/parabolaiso_loop_mnt b/parabolaiso/initcpio/hooks/parabolaiso_loop_mnt
new file mode 100644
index 0000000..772c3b6
--- /dev/null
+++ b/parabolaiso/initcpio/hooks/parabolaiso_loop_mnt
@@ -0,0 +1,32 @@
+# vim: set ft=sh:
+
+run_hook () {
+ [[ -n "${img_label}" ]] && img_dev="/dev/disk/by-label/${img_label}"
+ if [[ -n "${img_dev}" && -n "${img_loop}" ]]; then
+ mount_handler="parabolaiso_loop_mount_handler"
+ fi
+}
+
+parabolaiso_loop_mount_handler () {
+ newroot="${1}"
+
+ local _dev_loop
+
+ msg ":: Setup a loop device from ${img_loop} located at device ${img_dev}"
+ _mnt_dev "${img_dev}" "/run/parabolaiso/img_dev" "-r"
+ if [[ "${copytoram}" != "y" ]]; then
+ echo $(readlink -f ${img_dev}) >> /run/parabolaiso/used_block_devices
+ fi
+
+ if ! _dev_loop=$(losetup --find --show --read-only "/run/parabolaiso/img_dev/${img_loop}"); then
+ echo "ERROR: Setting loopback device for file '/run/parabolaiso/img_dev/${img_loop}'"
+ launch_interactive_shell
+ fi
+
+ parabolaiso_mount_handler ${newroot}
+
+ if [[ "${copytoram}" == "y" ]]; then
+ losetup -d ${_dev_loop}
+ umount /run/parabolaiso/img_dev
+ fi
+}
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/parabolaiso/initcpio/hooks/parabolaiso_pxe_common
index d8ac709..d8ac709 100644
--- a/archiso/initcpio/hooks/archiso_pxe_common
+++ b/parabolaiso/initcpio/hooks/parabolaiso_pxe_common
diff --git a/parabolaiso/initcpio/hooks/parabolaiso_pxe_http b/parabolaiso/initcpio/hooks/parabolaiso_pxe_http
new file mode 100644
index 0000000..97de91f
--- /dev/null
+++ b/parabolaiso/initcpio/hooks/parabolaiso_pxe_http
@@ -0,0 +1,61 @@
+# vim: set ft=sh:
+
+run_hook() {
+ if [[ -n "${ip}" && -n "${parabolaiso_http_srv}" ]]; then
+
+ parabolaiso_http_srv=$(eval echo ${parabolaiso_http_srv})
+ [[ -z "${parabolaiso_http_spc}" ]] && parabolaiso_http_spc="75%"
+
+ mount_handler="parabolaiso_pxe_http_mount_handler"
+ fi
+}
+
+# Fetch a file with CURL
+#
+# $1 URL
+# $2 Destination directory inside httpspace/${parabolaisobasedir}
+_curl_get() {
+ local _url="${1}"
+ local _dst="${2}"
+
+ msg ":: Downloading '${_url}'"
+ if ! curl -L -f -o "/run/parabolaiso/httpspace/${parabolaisobasedir}${_dst}/${_url##*/}" --create-dirs "${_url}"; then
+ echo "ERROR: Downloading '${_url}'"
+ echo " Falling back to interactive prompt"
+ echo " You can try to fix the problem manually, log out when you are finished"
+ launch_interactive_shell
+ fi
+}
+
+parabolaiso_pxe_http_mount_handler () {
+ newroot="${1}"
+
+ msg ":: Mounting /run/parabolaiso/httpspace (tmpfs) filesystem, size='${parabolaiso_http_spc}'"
+ mkdir -p "/run/parabolaiso/httpspace"
+ mount -t tmpfs -o size="${parabolaiso_http_spc}",mode=0755 httpspace "/run/parabolaiso/httpspace"
+
+ local _aitab_url="${parabolaiso_http_srv}${aitab#/run/parabolaiso/bootmnt/}"
+ local _aitab_file="/run/parabolaiso/httpspace/${aitab#/run/parabolaiso/bootmnt/}"
+
+ _curl_get "${_aitab_url}" "/"
+
+ local aitab_img aitab_mnt aitab_arch aitab_sfs_comp aitab_fs_type aitab_fs_size
+ while read aitab_img aitab_mnt aitab_arch aitab_sfs_comp aitab_fs_type aitab_fs_size; do
+ [[ "${aitab_img#\#}" != "${aitab_img}" ]] && continue
+ [[ "${aitab_arch}" != "any" && "${aitab_arch}" != "${arch}" ]] && continue
+ if [[ "${aitab_fs_type}" != "none" ]]; then
+ _curl_get "${parabolaiso_http_srv}${parabolaisobasedir}/${aitab_arch}/${aitab_img}.fs.sfs" "/${aitab_arch}"
+ else
+ _curl_get "${parabolaiso_http_srv}${parabolaisobasedir}/${aitab_arch}/${aitab_img}.sfs" "/${aitab_arch}"
+ fi
+ done < "${_aitab_file}"
+
+ if [[ "${checksum}" == "y" ]]; then
+ _curl_get "${parabolaiso_http_srv}${parabolaisobasedir}/checksum.${arch}.md5" "/"
+ fi
+
+ mkdir -p "/run/parabolaiso/bootmnt"
+ mount -o bind /run/parabolaiso/httpspace /run/parabolaiso/bootmnt
+
+ parabolaiso_mount_handler ${newroot}
+}
diff --git a/archiso/initcpio/hooks/archiso_pxe_nbd b/parabolaiso/initcpio/hooks/parabolaiso_pxe_nbd
index d9bc6d8..1bb8cbb 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nbd
+++ b/parabolaiso/initcpio/hooks/parabolaiso_pxe_nbd
@@ -1,16 +1,16 @@
# vim: set ft=sh:
run_hook() {
- if [[ -n "${ip}" && -n "${archiso_nbd_srv}" ]]; then
+ if [[ -n "${ip}" && -n "${parabolaiso_nbd_srv}" ]]; then
- archiso_nbd_srv=$(eval echo ${archiso_nbd_srv})
- [[ -z "${archiso_nbd_name}" ]] && archiso_nbd_name="archiso"
+ parabolaiso_nbd_srv=$(eval echo ${parabolaiso_nbd_srv})
+ [[ -z "${parabolaiso_nbd_name}" ]] && parabolaiso_nbd_name="parabolaiso"
- mount_handler="archiso_pxe_nbd_mount_handler"
+ mount_handler="parabolaiso_pxe_nbd_mount_handler"
fi
}
-archiso_pxe_nbd_mount_handler () {
+parabolaiso_pxe_nbd_mount_handler () {
newroot="${1}"
# Module autoloading like with loop devices does not work, doing manually...
@@ -24,17 +24,17 @@ archiso_pxe_nbd_mount_handler () {
launch_interactive_shell
done
- msg ":: Setup NBD from ${archiso_nbd_srv} at /dev/nbd0"
- nbd-client ${archiso_nbd_srv} -N ${archiso_nbd_name} /dev/nbd0
+ msg ":: Setup NBD from ${parabolaiso_nbd_srv} at /dev/nbd0"
+ nbd-client ${parabolaiso_nbd_srv} -N ${parabolaiso_nbd_name} /dev/nbd0
if [[ "${copytoram}" != "n" ]]; then
copytoram="y"
fi
- archisodevice=/dev/nbd0
+ parabolaisodevice=/dev/nbd0
- archiso_mount_handler ${newroot}
+ parabolaiso_mount_handler ${newroot}
- msg ":: Disconnect NBD from ${archiso_nbd_srv} at /dev/nbd0"
+ msg ":: Disconnect NBD from ${parabolaiso_nbd_srv} at /dev/nbd0"
nbd-client -d /dev/nbd0
}
diff --git a/parabolaiso/initcpio/hooks/parabolaiso_pxe_nfs b/parabolaiso/initcpio/hooks/parabolaiso_pxe_nfs
new file mode 100644
index 0000000..6eba5b7
--- /dev/null
+++ b/parabolaiso/initcpio/hooks/parabolaiso_pxe_nfs
@@ -0,0 +1,30 @@
+# vim: set ft=sh:
+
+run_hook() {
+ if [[ -n "${ip}" && -n "${parabolaiso_nfs_srv}" ]]; then
+
+ parabolaiso_nfs_srv=$(eval echo ${parabolaiso_nfs_srv})
+ [[ -n "${parabolaiso_nfs_opt}" ]] && parabolaiso_nfs_opt="-o ${parabolaiso_nfs_opt}"
+
+ mount_handler="parabolaiso_nfs_mount_handler"
+ fi
+}
+
+parabolaiso_nfs_mount_handler() {
+ newroot="${1}"
+ mkdir -p "/run/parabolaiso/bootmnt"
+ msg ":: Mounting '${parabolaiso_nfs_srv}'"
+ # Do not put "${parabolaiso_nfs_opt}" nfsmount fails!
+ if ! nfsmount ${parabolaiso_nfs_opt} "${parabolaiso_nfs_srv}" "/run/parabolaiso/bootmnt"; then
+ echo "ERROR: Mounting '${parabolaiso_nfs_srv}'"
+ echo " Falling back to interactive prompt"
+ echo " You can try to fix the problem manually, log out when you are finished"
+ launch_interactive_shell
+ fi
+
+ if [[ "${copytoram}" != "n" ]]; then
+ copytoram="y"
+ fi
+
+ parabolaiso_mount_handler ${newroot}
+}
diff --git a/archiso/initcpio/hooks/archiso_shutdown b/parabolaiso/initcpio/hooks/parabolaiso_shutdown
index e50dedb..e50dedb 100644
--- a/archiso/initcpio/hooks/archiso_shutdown
+++ b/parabolaiso/initcpio/hooks/parabolaiso_shutdown
diff --git a/archiso/initcpio/install/archiso b/parabolaiso/initcpio/install/parabolaiso
index 8893667..8893667 100644
--- a/archiso/initcpio/install/archiso
+++ b/parabolaiso/initcpio/install/parabolaiso
diff --git a/archiso/initcpio/install/archiso_kms b/parabolaiso/initcpio/install/parabolaiso_kms
index 3ff31f3..3ff31f3 100644
--- a/archiso/initcpio/install/archiso_kms
+++ b/parabolaiso/initcpio/install/parabolaiso_kms
diff --git a/archiso/initcpio/install/archiso_loop_mnt b/parabolaiso/initcpio/install/parabolaiso_loop_mnt
index 59f1d94..59f1d94 100644
--- a/archiso/initcpio/install/archiso_loop_mnt
+++ b/parabolaiso/initcpio/install/parabolaiso_loop_mnt
diff --git a/archiso/initcpio/install/archiso_pxe_common b/parabolaiso/initcpio/install/parabolaiso_pxe_common
index eec9a7e..eec9a7e 100644
--- a/archiso/initcpio/install/archiso_pxe_common
+++ b/parabolaiso/initcpio/install/parabolaiso_pxe_common
diff --git a/archiso/initcpio/install/archiso_pxe_http b/parabolaiso/initcpio/install/parabolaiso_pxe_http
index 4e02f98..4e02f98 100644
--- a/archiso/initcpio/install/archiso_pxe_http
+++ b/parabolaiso/initcpio/install/parabolaiso_pxe_http
diff --git a/archiso/initcpio/install/archiso_pxe_nbd b/parabolaiso/initcpio/install/parabolaiso_pxe_nbd
index 47d98ce..47d98ce 100644
--- a/archiso/initcpio/install/archiso_pxe_nbd
+++ b/parabolaiso/initcpio/install/parabolaiso_pxe_nbd
diff --git a/archiso/initcpio/install/archiso_pxe_nfs b/parabolaiso/initcpio/install/parabolaiso_pxe_nfs
index f8226e5..f8226e5 100644
--- a/archiso/initcpio/install/archiso_pxe_nfs
+++ b/parabolaiso/initcpio/install/parabolaiso_pxe_nfs
diff --git a/archiso/initcpio/install/archiso_shutdown b/parabolaiso/initcpio/install/parabolaiso_shutdown
index 5ae976a..d7bffa7 100644
--- a/archiso/initcpio/install/archiso_shutdown
+++ b/parabolaiso/initcpio/install/parabolaiso_shutdown
@@ -5,7 +5,7 @@ build() {
add_runscript
- add_file /usr/lib/initcpio/archiso_shutdown /shutdown
+ add_file /usr/lib/initcpio/parabolaiso_shutdown /shutdown
}
help() {
diff --git a/archiso/initcpio/script/archiso_shutdown b/parabolaiso/initcpio/script/parabolaiso_shutdown
index 41b3945..143df04 100644
--- a/archiso/initcpio/script/archiso_shutdown
+++ b/parabolaiso/initcpio/script/parabolaiso_shutdown
@@ -1,6 +1,6 @@
#!/bin/ash
-# /oldroot depends on things inside /oldroot/run/archiso...
+# /oldroot depends on things inside /oldroot/run/parabolaiso...
mkdir /oldrun
mount -n --move /oldroot/run /oldrun
@@ -11,21 +11,21 @@ umount $(mount | awk '$3 ~/^\/oldroot/ {print $3}' | sort -r)
dmsetup remove_all
# Remove all loopback devices.
-for _lup in $(grep ^/dev/loop /oldrun/archiso/used_block_devices | tac); do
+for _lup in $(grep ^/dev/loop /oldrun/parabolaiso/used_block_devices | tac); do
if ! losetup -d ${_lup} 2> /dev/null; then
umount -d ${_lup}
fi
done
# Unmount the space used to store *.cow.
-umount /oldrun/archiso/cowspace
+umount /oldrun/parabolaiso/cowspace
# Unmount boot device if needed (no copytoram=y used)
-if [[ ! -d /oldrun/archiso/copytoram ]]; then
- if [[ -d /oldrun/archiso/img_dev ]]; then
- umount /oldrun/archiso/img_dev
+if [[ ! -d /oldrun/parabolaiso/copytoram ]]; then
+ if [[ -d /oldrun/parabolaiso/img_dev ]]; then
+ umount /oldrun/parabolaiso/img_dev
else
- umount /oldrun/archiso/bootmnt
+ umount /oldrun/parabolaiso/bootmnt
fi
fi
diff --git a/archiso/mkarchiso b/parabolaiso/mkparabolaiso
index 8f9ed42..02e5b95 100755
--- a/archiso/mkarchiso
+++ b/parabolaiso/mkparabolaiso
@@ -10,10 +10,10 @@ pkg_list=""
run_cmd=""
quiet="y"
pacman_conf="/etc/pacman.conf"
-export iso_label="ARCH_$(date +%Y%m)"
-iso_publisher="Arch Linux <http://www.archlinux.org>"
-iso_application="Arch Linux Live/Rescue CD"
-install_dir="arch"
+export iso_label="PARABOLA_$(date +%Y%m)"
+iso_publisher="Parabola GNU/Linux-libre <https://parabolagnulinux.org>"
+iso_application="Parabola GNU/Linux-libre Live/Rescue CD"
+install_dir="parabola"
work_dir="work"
out_dir="out"
@@ -21,7 +21,7 @@ out_dir="out"
# $1: message string
_msg_info() {
local _msg="${1}"
- echo "[mkarchiso] INFO: ${_msg}"
+ echo "[mkparabolaiso] INFO: ${_msg}"
}
# Show an ERROR message then exit with status
@@ -31,7 +31,7 @@ _msg_error() {
local _msg="${1}"
local _error=${2}
echo
- echo "[mkarchiso] ERROR: ${_msg}"
+ echo "[mkparabolaiso] ERROR: ${_msg}"
echo
if [[ ${_error} -gt 0 ]]; then
exit ${_error}
@@ -293,7 +293,7 @@ _mksfs () {
mksquashfs "${work_dir}/${_src}" "${_sfs_img}" -noappend -comp "${_sfs_comp}" -no-progress
fi
_seconds=$((SECONDS - _seconds))
- printf "[mkarchiso] INFO: Image creation done in %02d:%02d minutes\n" $((_seconds / 60)) $((_seconds % 60))
+ printf "[mkparabolaiso] INFO: Image creation done in %02d:%02d minutes\n" $((_seconds / 60)) $((_seconds % 60))
}
# Makes a filesystem from a source directory.
@@ -413,9 +413,9 @@ command_iso () {
fi
# If exists, add an EFI "El Torito" boot image (FAT filesystem) to ISO-9660 image.
- if [[ -f "${work_dir}/iso/EFI/archiso/efiboot.img" ]]; then
+ if [[ -f "${work_dir}/iso/EFI/parabolaiso/efiboot.img" ]]; then
_iso_efi_boot_args="-eltorito-alt-boot
- -e EFI/archiso/efiboot.img
+ -e EFI/parabolaiso/efiboot.img
-no-emul-boot
-isohybrid-gpt-basdat"
fi
@@ -435,7 +435,7 @@ command_iso () {
-volid "${iso_label}" \
-appid "${iso_application}" \
-publisher "${iso_publisher}" \
- -preparer "prepared by mkarchiso" \
+ -preparer "prepared by mkparabolaiso" \
-eltorito-boot isolinux/isolinux.bin \
-eltorito-catalog isolinux/boot.cat \
-no-emul-boot -boot-load-size 4 -boot-info-table \