Distro_Builder/src/CONFIG.sh

59 lines
1.4 KiB
Bash
Raw Normal View History

2020-05-02 00:00:17 +00:00
#!/bin/bash
2020-05-02 03:03:04 +00:00
. CONFIG_SCRIPTS.sh
2020-05-02 00:00:17 +00:00
# ---- Setup Variables ---- #
# Resolution of Xephyr... ex: 1920x1080 or 1600x900, etc
RESOLUTION="1920x1080"
# Screen-id of Xephyr... ex: :10 or :1.0, etc
# Note: Don't use :0 or :0.0 as they are your system's.
ID=":10"
# Your system release... this is set by set_system_release
2020-05-02 07:16:53 +00:00
# method from CONFIG_SCRIPTS.sh above and can be safetly ignored
2020-05-02 00:00:17 +00:00
SYSTEM_RELEASE=""
# $RELEASE is the version of Ubuntu/Debian you intend to build an ISO for.
# Some options: xenal, bionic, disco, focal
# Versions: xenal (16.0.4), bionic (18.04), disco (19.04), focal (20.04)
2020-05-02 06:51:54 +00:00
RELEASE="focal"
2020-05-02 00:00:17 +00:00
# $ARCH is the target processor architecture.
# For old 32 bit x86 systems use i386.
# For newer 64-bit x86 systems (also known as x64, x86_64, Intel 64, and AMD64) use amd64.
2020-05-02 06:51:54 +00:00
ARCH="amd64"
2020-05-02 00:00:17 +00:00
# the name of your distro and ISO
2020-05-02 07:16:53 +00:00
OS_NAME=""
2020-05-02 06:51:54 +00:00
OS_VER="1.00"
2020-05-02 00:00:17 +00:00
# The user of the live boot
2020-05-02 07:16:53 +00:00
LIVE_USER=""
2020-05-02 00:00:17 +00:00
2020-05-02 03:03:04 +00:00
# ---- Call CONFIG_SCRIPTS Methods Here As Needed ---- #
2020-05-02 00:00:17 +00:00
set_system_release;
2020-05-02 00:12:18 +00:00
cd "${SCRIPT_PATH}";
2020-05-02 01:10:29 +00:00
echo "Base Dir: " $(pwd) "\n";
# Make work structure
mkdir -p "${CHROOT_PTH}"
2020-05-02 06:51:54 +00:00
mkdir -p image/{casper,isolinux,install,boot,.disk}
touch image/ubuntu
2020-05-02 01:10:29 +00:00
2020-05-02 00:00:17 +00:00
# ---- DO NOT CHANGE OR REMOVE UNLESS YOU KNOW WHAT YOU ARE DOING ---- #
# Clean manifest-desktop file of unneeded parts
REMOVE='ubiquity ubiquity-frontend-gtk ubiquity-frontend-kde casper lupin-casper live-initramfs user-setup discover1 xresprobe os-prober libdebian-installer4'