-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fce4247
commit 5cce0cc
Showing
2 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,100 @@ | ||
#!/bin/bash | ||
# | ||
# bldneutrixBuster -- Revision: 109r1 -- by neutrix (https://sourceforge.net/projects/neutrixos/) | ||
# (GNU/General Public License version 3.0) | ||
# | ||
# Step by Step Live-Build | ||
# | ||
# | ||
# ~/neutrixOS -- build folder | ||
# ~/neutrixBuster -- files location | ||
# | ||
# | ||
# Phase 1: - Assign WKDIR variable the output of pwd | ||
# | ||
WKDIR="$(pwd)" | ||
# | ||
# | ||
# Phase 2: - Create the build staging folder | ||
# | ||
mkdir neutrixOS | ||
# | ||
cd neutrixOS | ||
# | ||
# | ||
# Phase 3: - Set up build environment | ||
# | ||
lb config --binary-images iso-hybrid --mode debian --architectures amd64 --linux-flavours amd64 --distribution buster --archive-areas "main contrib non-free" --updates true --security true --cache true --apt-recommends true --debian-installer live --debian-installer-gui true --win32-loader false --iso-application neutrixOS --iso-preparer neutrix-https://sourceforge.net/projects/neutrixos/ --iso-publisher neutrix-https://sourceforge.net/projects/neutrixos/ --iso-volume neutrixOS | ||
# | ||
# | ||
# Phase 4: - Install desktop and applications | ||
# | ||
echo task-xfce-desktop > $WKDIR/neutrixOS/config/package-lists/desktop.list.chroot | ||
# | ||
echo haveged less orage gdebi galculator grsync psensor synaptic gparted bleachbit flac faad faac mjpegtools x265 x264 mpg321 ffmpeg streamripper sox mencoder dvdauthor twolame lame asunder aisleriot gnome-mahjongg gnome-chess dosbox libxvidcore4 vlc hplip-gui cdrdao frei0r-plugins htop jfsutils xfsprogs ntfs-3g cdtool mtools gthumb gimp testdisk numix-gtk-theme greybird-gtk-theme breeze-icon-theme breeze-gtk-theme xorriso cdrskin p7zip-full p7zip-rar keepassx hardinfo inxi gnome-disk-utility simplescreenrecorder chromium simple-scan remmina arc-theme gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-plugins-good gnome-system-tools dos2unix dialog papirus-icon-theme transmission-gtk handbrake handbrake-cli python-glade2 rar unrar cifs-utils fuse gvfs-fuse gvfs-backends gvfs-bin pciutils squashfs-tools syslinux syslinux-common dosfstools isolinux fakeroot linux-headers-amd64 lsb-release menu dkms wget iftop apt-transport-https dirmngr openvpn network-manager-openvpn openvpn-systemd-resolved libqt5opengl5 zulumount-gui zulucrypt-gui zulupolkit neofetch xscreensaver firmware-linux firmware-linux-nonfree firmware-misc-nonfree firmware-realtek firmware-atheros firmware-bnx2 firmware-bnx2x firmware-brcm80211 firmware-ipw2x00 firmware-intelwimax firmware-iwlwifi firmware-libertas firmware-netxen firmware-zd1211 gnome-nettool guvcview > $WKDIR/neutrixOS/config/package-lists/packages.list.chroot | ||
# | ||
echo grub-common grub2-common grub-pc-bin efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub-efi-ia32-bin libefiboot1 libefivar1 mokutil shim-helpers-amd64-signed shim-signed-common shim-unsigned > $WKDIR/neutrixOS/config/package-lists/grubuefi.list.binary | ||
# | ||
# Uncomment below line include Broadcom wireless drivers | ||
# echo b43-fwcutter firmware-b43-installer firmware-b43legacy-installer > $WKDIR/neutrixOS/config/package-lists/wifidrivers.list.chroots | ||
# | ||
# Uncomment below line for calamares installer | ||
echo calamares calamares-settings-debian > $WKDIR/neutrixOS/config/package-lists/calamares.list.chroot | ||
# | ||
# | ||
# Phase 5: - Make folders in the chroot | ||
# | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/usr/share/neutrixOS | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/etc/skel/.config | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/usr/share/images/desktop-base | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/usr/share/icons/default | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/usr/local/bin | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/usr/share/applications | ||
mkdir -p $WKDIR/neutrixOS/config/hooks/normal | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/usr/share/doc/neutrixOS | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/etc/skel/Desktop | ||
# | ||
# Uncomment below line for calamares installer | ||
mkdir -p $WKDIR/neutrixOS/config/includes.chroot/etc/calamares/branding | ||
# | ||
# | ||
# Phase 6: - Copy files into the chroot | ||
# | ||
cp -r $WKDIR/neutrixBuster $WKDIR/neutrixOS/config/includes.chroot/usr/share/neutrixOS/neutrixBuster | ||
cp -r $WKDIR/neutrixBuster/bootloaders $WKDIR/neutrixOS/config/bootloaders | ||
cp -r $WKDIR/neutrixBuster/xfce4 $WKDIR/neutrixOS/config/includes.chroot/etc/skel/.config/xfce4 | ||
cp $WKDIR/neutrixBuster/hooks/* $WKDIR/neutrixOS/config/hooks/normal/ | ||
cp $WKDIR/neutrixBuster/scripts/* $WKDIR/neutrixOS/config/includes.chroot/usr/local/bin/ | ||
cp $WKDIR/neutrixBuster/doc/* $WKDIR/neutrixOS/config/includes.chroot/usr/share/doc/neutrixOS/ | ||
cp $WKDIR/neutrixBuster/backgrounds/* $WKDIR/neutrixOS/config/includes.chroot/usr/share/images/desktop-base/ | ||
cp $WKDIR/neutrixBuster/icons/* $WKDIR/neutrixOS/config/includes.chroot/usr/share/icons/default/ | ||
cp $WKDIR/neutrixBuster/launchers/ezadmin.desktop $WKDIR/neutrixOS/config/includes.chroot/usr/share/applications/ | ||
ln -s /usr/share/doc/neutrixOS $WKDIR/neutrixOS/config/includes.chroot/etc/skel/Desktop/ | ||
# | ||
# Uncomment below three lines for calamares installer | ||
cp $WKDIR/neutrixBuster/calamares/settings.conf $WKDIR/neutrixOS/config/includes.chroot/etc/calamares/settings.conf | ||
cp $WKDIR/neutrixBuster/calamares/usr/share/applications/install-debian.desktop $WKDIR/neutrixOS/config/includes.chroot/usr/share/applications/install-debian.desktop | ||
cp -r $WKDIR/neutrixBuster/calamares/branding/neutrixos $WKDIR/neutrixOS/config/includes.chroot/etc/calamares/branding/neutrixos | ||
# | ||
# | ||
# Uncomment below line IF you wish to include deb packages from misc64 folder | ||
# cp $WKDIR/neutrixBuster/misc64/* $WKDIR/neutrixOS/config/packages.chroot/ | ||
# | ||
# | ||
# Phase 7: - Start the build process | ||
# | ||
lb build | ||
# | ||
# Disclaimer: | ||
# | ||
# THIS SOFTWARE IS PROVIDED BY neutrix “AS IS” AND ANY EXPRESS OR IMPLIED | ||
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
# EVENT SHALL neutrix BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, | ||
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, | ||
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER | ||
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | ||
# POSSIBILITY OF SUCH DAMAGE. | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
DISTRO=debian | ||
AUTHOR=abdou-test | ||
|
||
DESKTOP_ENV=xfce | ||
CALAMARES_ENABLE=false | ||
|
||
ENABLE_BROADCOM_WIRELESS_DRIVERS=true |