Compare commits

...

2 Commits

2 changed files with 9 additions and 49 deletions

View File

@ -145,7 +145,7 @@ mount --make-slave $builddir/stage4/run
cp /etc/resolv.conf $builddir/stage4/etc/
cp chroot_autobuild.sh $builddir/stage4/ || die "Could not cp chroot_autobuild.sh to chroot."
cp packages $builddir/stage4/ || die "Could not cp the packages file to chroot."
#cp packages $builddir/stage4/ || die "Could not cp the packages file to chroot."
chroot $builddir/stage4 ./chroot_autobuild.sh
### BINPKGS
@ -165,7 +165,7 @@ unmount_all
cd $builddir/stage4
echo "Packing up stage4... Please be patient."
rm $builddir/stage4/chroot_autobuild.sh
rm $builddir/stage4/packages
#rm $builddir/stage4/packages
tar -cjf $builddir/${stage4_name} --exclude='/run/*' --exclude='/dev/*' --exclude='/sys/*' --exclude='/proc/*' .
# Don't forget to move tarball to live server.
cleanup

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