64 lines
1.7 KiB
Bash
64 lines
1.7 KiB
Bash
#!/usr/bin/env zsh
|
|
#
|
|
# Copyright (c) 2016 Dyne.org Foundation
|
|
# libdevuansdk is written and maintained by
|
|
# Jaromil <jaromil@dyne.org>
|
|
# KatolaZ <katolaz@freaknet.org>
|
|
# parazyd <parazyd@dyne.org>
|
|
#
|
|
# 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/>.
|
|
|
|
## Distro-specific settings
|
|
|
|
# os name
|
|
os="devuan"
|
|
|
|
# release name
|
|
release="jessie"
|
|
|
|
# release version
|
|
version="1.0.0-beta2"
|
|
|
|
# mirror url
|
|
mirror="http://packages.devuan.org/merged"
|
|
|
|
# mirror repo section
|
|
section="main"
|
|
|
|
# core packages for the system
|
|
core_packages=(devuan-keyring debian-keyring)
|
|
core_packages+=(initramfs-tools binutils ca-certificates curl)
|
|
core_packages+=(console-common less nano vim)
|
|
|
|
# base packages for the system
|
|
base_packages=(bzip2 dialog apt-utils fakeroot e2fsprogs parted)
|
|
|
|
# other system packages
|
|
system_packages=(sysvinit ssh)
|
|
|
|
# size of raw image file in MB
|
|
imgsize=1337
|
|
|
|
## libdevuansdk-specific settings
|
|
workdir="$H/workdir"
|
|
strapdir="${workdir}/${os}-${release}-${version}"
|
|
outdir="$H/builds"
|
|
|
|
# declare zuper globals
|
|
vars+=(os release version mirror section)
|
|
vars+=(workdir strapdir)
|
|
vars+=(imgsize)
|