84 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2016-09-29 21:22:00 +02:00
#!/usr/bin/env zsh
# shellcheck shell=bash
2020-12-23 09:10:47 +01:00
# Copyright (c) 2016-2021 Ivan J. <parazyd@dyne.org>
2016-09-29 21:22:00 +02: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 20:03:12 +01:00
vars+=(release version mirror section blend_name image_name vm_name)
2017-05-22 00:31:41 +02:00
vars+=(arch earch)
2017-03-24 14:05:12 +01:00
vars+=(usercredentials rootcredentials)
vars+=(COMPRESS_IMAGE CPIO_STAGE4 MKEFI)
2017-03-18 21:30:58 +01:00
2016-10-31 11:48:42 +01:00
arrs+=(core_packages base_packages purge_packages blend_packages)
arrs+=(core_packages_option base_packages_option purge_packages_option blend_packages_option)
2017-03-18 21:30:58 +01:00
2022-12-06 18:21:09 +00:00
os="delphinium"
release="daedalus"
2023-12-07 16:57:30 -03:00
version="1.1.0"
mirror="http://deb.devuan.org/merged"
section="main non-free-firmware"
2016-09-29 21:22:00 +02:00
2016-09-30 15:09:24 +02:00
image_name="${os}_${release}_${version}_${arch}"
2017-03-18 21:30:58 +01:00
[[ -n "$blend_name" ]] && image_name="${image_name}_${blend_name}"
[[ -n "$device_name" ]] && image_name="${image_name}_${device_name}"
2016-09-29 22:36:12 +02:00
vm_name="${os}_${release}_${version}_${arch}_virtual"
[[ -n "$blend_name" ]] && vm_name="${vm_name}_${blend_name}"
2017-02-14 20:03:12 +01:00
rootcredentials="root:toor"
core_packages_option=()
2016-09-29 21:22:00 +02:00
core_packages=(
2016-09-30 10:31:08 +02:00
devuan-keyring
debian-keyring
2016-09-29 21:22:00 +02:00
ca-certificates
initramfs-tools
e2fsprogs
bzip2
2016-09-29 21:22:00 +02:00
curl
less
2017-01-20 14:21:00 +01:00
vim
nano
sysvinit
2016-09-29 21:22:00 +02:00
)
base_packages_option=()
2016-09-29 21:22:00 +02:00
base_packages=(
apt-utils
parted
openssh-server
openssh-client
sudo
alsa-utils
2017-01-20 14:21:00 +01:00
mawk
tmux
2017-01-20 14:21:00 +01:00
screen
2017-07-16 21:01:24 +02:00
ntp
wpasupplicant
wireless-tools
2017-10-26 21:26:08 +02:00
lynx
2016-10-15 00:46:21 +02:00
firmware-linux-free
2021-11-27 12:20:22 +01:00
btrfs-progs
2016-10-19 13:06:57 +02:00
zsh
rsync
2017-04-10 12:19:40 +02:00
mlocate
locales
2020-03-12 12:40:39 +01:00
htop
)
purge_packages_option=()
2017-01-20 16:04:22 +01:00
purge_packages+=(
2016-09-29 21:22:00 +02:00
)