2016-09-29 19:22:00 +00:00
|
|
|
#!/usr/bin/env zsh
|
2020-11-13 09:04:52 +00:00
|
|
|
# shellcheck shell=bash
|
2020-12-23 08:10:47 +00:00
|
|
|
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
|
2016-09-29 19:22:00 +00:00
|
|
|
# This file is part of libdevuansdk
|
|
|
|
#
|
|
|
|
# This source code is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This software is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this source code. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
2017-02-14 19:03:12 +00:00
|
|
|
vars+=(release version mirror section blend_name image_name vm_name)
|
2017-05-21 22:31:41 +00:00
|
|
|
vars+=(arch earch)
|
2017-03-24 13:05:12 +00:00
|
|
|
vars+=(usercredentials rootcredentials)
|
2020-11-13 09:04:52 +00:00
|
|
|
vars+=(COMPRESS_IMAGE CPIO_STAGE4 MKEFI)
|
2017-03-18 20:30:58 +00:00
|
|
|
|
2016-10-31 10:48:42 +00:00
|
|
|
arrs+=(core_packages base_packages purge_packages blend_packages)
|
2020-11-13 09:04:52 +00:00
|
|
|
arrs+=(core_packages_option base_packages_option purge_packages_option blend_packages_option)
|
2017-03-18 20:30:58 +00:00
|
|
|
|
2022-12-06 18:21:09 +00:00
|
|
|
os="delphinium"
|
2023-12-03 20:09:47 +00:00
|
|
|
release="daedalus"
|
2023-12-07 19:57:30 +00:00
|
|
|
version="1.1.0"
|
2023-12-03 20:09:47 +00:00
|
|
|
mirror="http://deb.devuan.org/merged"
|
|
|
|
section="main non-free-firmware"
|
2016-09-29 19:22:00 +00:00
|
|
|
|
2016-09-30 13:09:24 +00:00
|
|
|
image_name="${os}_${release}_${version}_${arch}"
|
2017-03-18 20:30:58 +00:00
|
|
|
[[ -n "$blend_name" ]] && image_name="${image_name}_${blend_name}"
|
|
|
|
[[ -n "$device_name" ]] && image_name="${image_name}_${device_name}"
|
2016-09-29 20:36:12 +00:00
|
|
|
|
2020-11-13 09:04:52 +00:00
|
|
|
vm_name="${os}_${release}_${version}_${arch}_virtual"
|
|
|
|
[[ -n "$blend_name" ]] && vm_name="${vm_name}_${blend_name}"
|
2017-02-14 19:03:12 +00:00
|
|
|
|
|
|
|
rootcredentials="root:toor"
|
|
|
|
|
2017-11-28 18:50:52 +00:00
|
|
|
core_packages_option=()
|
2016-09-29 19:22:00 +00:00
|
|
|
core_packages=(
|
2016-09-30 08:31:08 +00:00
|
|
|
devuan-keyring
|
|
|
|
debian-keyring
|
2016-09-29 19:22:00 +00:00
|
|
|
ca-certificates
|
2016-10-11 20:33:15 +00:00
|
|
|
initramfs-tools
|
|
|
|
e2fsprogs
|
|
|
|
bzip2
|
2016-09-29 19:22:00 +00:00
|
|
|
curl
|
|
|
|
less
|
2017-01-20 13:21:00 +00:00
|
|
|
vim
|
|
|
|
nano
|
2016-10-11 20:33:15 +00:00
|
|
|
sysvinit
|
2016-09-29 19:22:00 +00:00
|
|
|
)
|
|
|
|
|
2017-11-28 18:50:52 +00:00
|
|
|
base_packages_option=()
|
2016-09-29 19:22:00 +00:00
|
|
|
base_packages=(
|
|
|
|
apt-utils
|
|
|
|
parted
|
2016-10-11 20:33:15 +00:00
|
|
|
openssh-server
|
|
|
|
openssh-client
|
|
|
|
sudo
|
|
|
|
alsa-utils
|
2017-01-20 13:21:00 +00:00
|
|
|
mawk
|
2016-10-11 20:33:15 +00:00
|
|
|
tmux
|
2017-01-20 13:21:00 +00:00
|
|
|
screen
|
2017-07-16 19:01:24 +00:00
|
|
|
ntp
|
2016-10-11 20:33:15 +00:00
|
|
|
wpasupplicant
|
|
|
|
wireless-tools
|
2017-10-26 19:26:08 +00:00
|
|
|
lynx
|
2016-10-14 22:46:21 +00:00
|
|
|
firmware-linux-free
|
2021-11-27 11:20:22 +00:00
|
|
|
btrfs-progs
|
2016-10-19 11:06:57 +00:00
|
|
|
zsh
|
|
|
|
rsync
|
2017-04-10 10:19:40 +00:00
|
|
|
mlocate
|
2017-10-27 18:06:19 +00:00
|
|
|
locales
|
2020-03-12 11:40:39 +00:00
|
|
|
htop
|
2016-10-11 20:33:15 +00:00
|
|
|
)
|
|
|
|
|
2017-11-28 18:50:52 +00:00
|
|
|
purge_packages_option=()
|
2017-01-20 15:04:22 +00:00
|
|
|
purge_packages+=(
|
2016-09-29 19:22:00 +00:00
|
|
|
)
|