Compare commits

...

2 Commits

2 changed files with 13 additions and 53 deletions

View File

@ -16,12 +16,12 @@
set -eo # Stop at first error.
distro="decibel Linux"
email="webmaster@gentoostudio.org"
arch=amd64
stage3_suffx="desktop-systemd"
stage4_name="decibellinux-stage4.tar.bz2"
mail_prog="ssmtp -v"
distro="LADIOS Linux"
email="stagebuilder@ladi.internal"
arch=arm64
stage3_suffx="openrc"
stage4_name="ladios-stage4-${arch}.tar.bz2"
mail_prog="msmtp"
url="https://distfiles.gentoo.org/releases/${arch}/autobuilds/"
txtfile="latest-stage3-${arch}-${stage3_suffx}.txt"

View File

@ -10,6 +10,13 @@ exclude_list="virtual/* sys-kernel/*-sources acct-group/* acct-user/* app-eselec
source /etc/profile
# Create dir for installation files
mkdir -p /sysinstall
cd /sysinstall
wget https://github.com/LADI/dblinux-src/archive/refs/heads/main.zip
cd /
unzip x /sysinstall/main.zip
mkdir -p /etc/portage/repos.conf
cp /usr/share/portage/config/repos.conf /etc/portage/repos.conf/gentoo.conf
emerge-webrsync
@ -69,26 +76,6 @@ netjack opus pcre16 python qt3support quicktime realtime rubberband shine shout
taglib theora timidity twolame vamp vcd vst wav wavpack xine xkb xvfb xvmc -branding -pulseaudio -xscreensaver"
EOF
cat >> /etc/os-release <<EOF
NAME=decibelLinux
ID=decibellinux
PRETTY_NAME="decibel Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.decbibellinux.org/"
SUPPORT_URL="https://www.decibellinux.org/"
BUG_REPORT_URL="https://decibellinux.org/"
EOF
# package.*
cd
echo "Fetching portage config files (/etc/portage/*)..."
wget --quiet -r -np -R "index.html*" https://decibellinux.org/src/etc/
cd decibellinux.org/src/etc/portage
cp -r * /etc/portage
cd
rm -rf decibellinux.org
echo "Done."
# buildpkg and usepkg used here to cut down on build time.
FEATURES="$usepkg" emerge --ask=n --buildpkg --buildpkg-exclude "$exclude_list" dev-vcs/git # Needed to sync decibel Linux repo.
emaint sync
@ -218,33 +205,6 @@ systemctl enable lightdm
systemctl enable NetworkManager
systemctl enable dhcpcd
### Customize default appearance
# Current GTK theme/icons is Amy-Dark
echo "Fetching Xfce4 config files..."
wget --quiet https://decibellinux.org/src/xfce/xfce4-desktop.xml
wget --quiet https://decibellinux.org/src/xfce/xfce4-panel.xml
wget --quiet https://decibellinux.org/src/xfce/xsettings.xml
wget --quiet https://decibellinux.org/src/img/decibelLinux2023.png
wget --quiet https://decibellinux.org/src/theme/Amy-Dark-GTK.tar.gz
wget --quiet https://decibellinux.org/src/theme/Amy-Dark-Icons.tar.gz
echo "Done."
echo "Fetching bootsplash files..."
wget --quiet -r -np -R "index.html*" https://decibellinux.org/src/plymouth/cybernetic/
echo "Done."
echo "Moving config files..."
mv xfce4-desktop.xml /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
mv xfce4-panel.xml /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
mv xsettings.xml /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/
mv decibelLinux2023.png /usr/share/backgrounds/xfce/
tar xzf Amy-Dark-GTK.tar.gz
mv Amy-Dark-GTK /usr/share/themes
tar xzf Amy-Dark-Icons.tar.gz
mv Amy-Dark-Icons /usr/share/icons
mv decibellinux.org/src/plymouth/cybernetic /usr/share/plymouth/themes/
rm Amy-Dark-GTK.tar.gz
rm Amy-Dark-Icons.tar.gz
echo "Done."
# Enable all locales and allow user to narrow it down if they choose to.
# Change this to allow user to select locale.
cp /usr/share/i18n/SUPPORTED /etc/locale.gen