summaryrefslogtreecommitdiff
path: root/parabolaiso/mkparabolaiso
diff options
context:
space:
mode:
Diffstat (limited to 'parabolaiso/mkparabolaiso')
-rwxr-xr-xparabolaiso/mkparabolaiso11
1 files changed, 2 insertions, 9 deletions
diff --git a/parabolaiso/mkparabolaiso b/parabolaiso/mkparabolaiso
index 0947860..f2f5ff4 100755
--- a/parabolaiso/mkparabolaiso
+++ b/parabolaiso/mkparabolaiso
@@ -6,7 +6,6 @@ export LANG=C
app_name=${0##*/}
arch=$(uname -m)
-base_group=""
pkg_list=""
run_cmd=""
quiet="y"
@@ -86,7 +85,7 @@ _chroot_umount () {
_chroot_init() {
if [[ ! -d "${work_dir}/root-image/var/cache/pacman" ]]; then
mkdir -p "${work_dir}"/root-image/{dev,proc,run,sys,tmp,var/lib/pacman}
- _pacman ${base_group}
+ _pacman "base"
_pacman "syslinux"
fi
}
@@ -204,7 +203,6 @@ _show_config () {
case "${_mode}" in
init)
_msg_info " Pacman config file: ${pacman_conf}"
- _msg_info " Base package group: ${base_group}"
;;
install)
_msg_info " Pacman config file: ${pacman_conf}"
@@ -612,9 +610,8 @@ if [[ ${EUID} -ne 0 ]]; then
_msg_error "This script must be run as root." 1
fi
-while getopts 'B:p:r:C:L:P:A:D:Ow:o:vh' arg; do
+while getopts 'p:r:C:L:P:A:D:Ow:o:vh' arg; do
case "${arg}" in
- B) base_group="${OPTARG}" ;;
p) pkg_list="${pkg_list} ${OPTARG}" ;;
r) run_cmd="${OPTARG}" ;;
C) pacman_conf="${OPTARG}" ;;
@@ -634,10 +631,6 @@ while getopts 'B:p:r:C:L:P:A:D:Ow:o:vh' arg; do
esac
done
-if [ "${base_group}" != 'base-openrc' ]; then
- base_group='base'
-fi
-
shift $((OPTIND - 1))
if [[ $# -lt 1 ]]; then