tconfig - libdevuansdk - common library for devuan's simple distro kits
 (HTM) git clone https://git.parazyd.org/libdevuansdk
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
       tconfig (2023B)
       ---
            1 #!/usr/bin/env zsh
            2 # shellcheck shell=bash
            3 # Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
            4 # This file is part of libdevuansdk
            5 #
            6 # This source code is free software: you can redistribute it and/or modify
            7 # it under the terms of the GNU General Public License as published by
            8 # the Free Software Foundation, either version 3 of the License, or
            9 # (at your option) any later version.
           10 #
           11 # This software is distributed in the hope that it will be useful,
           12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
           13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
           14 # GNU General Public License for more details.
           15 #
           16 # You should have received a copy of the GNU General Public License
           17 # along with this source code. If not, see <http://www.gnu.org/licenses/>.
           18 
           19 vars+=(release version mirror section blend_name image_name vm_name)
           20 vars+=(arch earch)
           21 vars+=(usercredentials rootcredentials)
           22 vars+=(COMPRESS_IMAGE CPIO_STAGE4 MKEFI)
           23 
           24 arrs+=(core_packages base_packages purge_packages blend_packages)
           25 arrs+=(core_packages_option base_packages_option purge_packages_option blend_packages_option)
           26 
           27 os="devuan"
           28 release="beowulf"
           29 version="3.1.0"
           30 mirror="https://pkgmaster.devuan.org/merged"
           31 section="main contrib non-free"
           32 
           33 image_name="${os}_${release}_${version}_${arch}"
           34 [[ -n "$blend_name"  ]] && image_name="${image_name}_${blend_name}"
           35 [[ -n "$device_name" ]] && image_name="${image_name}_${device_name}"
           36 
           37 vm_name="${os}_${release}_${version}_${arch}_virtual"
           38 [[ -n "$blend_name" ]] && vm_name="${vm_name}_${blend_name}"
           39 
           40 rootcredentials="root:toor"
           41 
           42 core_packages_option=()
           43 core_packages=(
           44         devuan-keyring
           45         debian-keyring
           46         ca-certificates
           47         initramfs-tools
           48         e2fsprogs
           49         bzip2
           50         curl
           51         less
           52         vim
           53         nano
           54         sysvinit
           55 )
           56 
           57 base_packages_option=()
           58 base_packages=(
           59         apt-utils
           60         parted
           61         openssh-server
           62         openssh-client
           63         sudo
           64         alsa-utils
           65         mawk
           66         tmux
           67         screen
           68         ntp
           69         wpasupplicant
           70         wireless-tools
           71         lynx
           72         firmware-linux-free
           73         btrfs-tools
           74         zsh
           75         rsync
           76         git-core
           77         mlocate
           78         locales
           79         htop
           80 )
           81 
           82 purge_packages_option=()
           83 purge_packages+=(
           84 )