summaryrefslogtreecommitdiff
path: root/configs/profile/build.sh
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2018-07-17 13:42:47 -0400
committerDavid P <megver83@parabola.nu>2018-07-17 13:42:47 -0400
commita242d8f29a1b3a6c24f6e2dffbd9f78571bb1a69 (patch)
tree6915d957f35c0bcbc6fdad97f1e2d404e7325c84 /configs/profile/build.sh
parent02c5e4a30eaf20770a36ee6712a20cf46c37af15 (diff)
Release parabolaiso-v36v36
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'configs/profile/build.sh')
-rwxr-xr-xconfigs/profile/build.sh14
1 files changed, 12 insertions, 2 deletions
diff --git a/configs/profile/build.sh b/configs/profile/build.sh
index 84b0b5c..eb1d134 100755
--- a/configs/profile/build.sh
+++ b/configs/profile/build.sh
@@ -4,6 +4,8 @@ set -e -u
iso_name=parabola
iso_label="PARA_$(date +%Y%m)"
+iso_publisher="Parabola GNU/Linux-libre <http://www.parabola.nu>"
+iso_application="Parabola GNU/Linux-libre Live/Rescue CD"
iso_version=$(date +%Y.%m.%d)
install_dir=parabola
work_dir=work
@@ -35,6 +37,10 @@ _usage ()
echo " Default: ${iso_version}"
echo " -L <iso_label> Set an iso label (disk label)"
echo " Default: ${iso_label}"
+ echo " -P <publisher> Set a publisher for the disk"
+ echo " Default: '${iso_publisher}'"
+ echo " -A <application> Set an application name for the disk"
+ echo " Default: '${iso_application}'"
echo " -D <install_dir> Set an install_dir (directory inside iso)"
echo " Default: ${install_dir}"
echo " -w <work_dir> Set the working directory"
@@ -105,6 +111,8 @@ make_setup_mkinitcpio() {
make_customize_airootfs() {
cp -af ${script_path}/airootfs ${work_dir}/${arch}
+ cp ${script_path}/pacman.conf ${work_dir}/x86_64/airootfs/etc
+
curl -o ${work_dir}/${arch}/airootfs/etc/pacman.d/mirrorlist 'https://www.parabola.nu/mirrorlist/?country=all&protocol=http&use_mirror_status=on'
lynx -dump -nolist 'https://wiki.parabola.nu/index.php/Installation_Guide?action=render' >> ${work_dir}/${arch}/airootfs/root/install.txt
@@ -219,7 +227,7 @@ make_prepare() {
# Build ISO
make_iso() {
- mkparabolaiso ${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}" -L "${iso_label}" -P "${iso_publisher}" -A "${iso_application}" -o "${out_dir}" iso "${iso_name}-${iso_version}-dual.iso"
}
if [[ ${EUID} -ne 0 ]]; then
@@ -232,11 +240,13 @@ if [[ ${arch} != x86_64 ]]; then
_usage 1
fi
-while getopts 'N:V:L:D:w:o:g:vh' arg; do
+while getopts 'N:V:L:P:A:D:w:o:g:vh' arg; do
case "${arg}" in
N) iso_name="${OPTARG}" ;;
V) iso_version="${OPTARG}" ;;
L) iso_label="${OPTARG}" ;;
+ P) iso_publisher="${OPTARG}" ;;
+ A) iso_application="${OPTARG}" ;;
D) install_dir="${OPTARG}" ;;
w) work_dir="${OPTARG}" ;;
o) out_dir="${OPTARG}" ;;