first commit config files to build a server based iso
|
@ -0,0 +1,81 @@
|
|||
#!/bin/bash
|
||||
PATH="/sbin:/usr/sbin:/usr/local/sbin:$PATH"
|
||||
|
||||
# Set the working folder variable
|
||||
uchinanchu="$(pwd)"
|
||||
|
||||
# This cleanup might be better served in the BldHelper*.sh script.
|
||||
# Create the build folder, move into it removing stale mountpoints and files there.
|
||||
[ -e fusato ] && [ ! -d fusato ] && rm -f fusato || [ ! -e fusato ] && mkdir fusato
|
||||
cd fusato
|
||||
umount $(mount | grep "${PWD}/chroot" | tac | cut -f3 -d" ") 2>/dev/null
|
||||
for i in ./* ./.build ; do [ $i = ./cache ] && continue || rm -rf $i ; done
|
||||
|
||||
|
||||
#Define as configurações do Live Build
|
||||
|
||||
lb config noauto \
|
||||
--binary-images iso-hybrid \
|
||||
--architectures amd64 \
|
||||
--linux-flavours amd64 \
|
||||
--distribution bookworm \
|
||||
--archive-areas "main contrib non-free non-free-firmware" \
|
||||
--apt-recommends true\
|
||||
--security true \
|
||||
--updates true \
|
||||
--debian-installer live \
|
||||
--debian-installer-distribution bookworm \
|
||||
--debian-installer-gui true \
|
||||
--debian-installer-preseed config/preseed.cfg \
|
||||
--iso-preparer "PeppermintOS-https://peppermintos.com/" \
|
||||
--iso-publisher "Peppermint OS Team" \
|
||||
--iso-volume "PepOS-server" \
|
||||
--image-name "PepOS-Server" \
|
||||
--checksums sha512 \
|
||||
--zsync false \
|
||||
--win32-loader false \
|
||||
"${@}"
|
||||
|
||||
|
||||
# Setup the chroot structure
|
||||
mkdir -p $uchinanchu/fusato/config/includes.installer
|
||||
mkdir -p $uchinanchu/fusato/config/config/package-lists
|
||||
mkdir -p $uchinanchu/fusato/config/includes.chroot
|
||||
mkdir -p $uchinanchu/fusato/config/hooks/normal
|
||||
mkdir -p $uchinanchu/fusato/config/archives
|
||||
mkdir -p $uchinanchu/fusato/config/includes.binary
|
||||
mkdir -p $uchinanchu/fusato/config/includes.chroot/boot/grub
|
||||
mkdir -p $uchinanchu/fusato/config/includes.chroot/etc/default
|
||||
mkdir -p $uchinanchu/fusato/config/includes.installer/usr/share
|
||||
mkdir -p $uchinanchu/fusato/config/includes.chroot/usr/lib
|
||||
mkdir -p $uchinanchu/fusato/config/includes.bootstrap/etc
|
||||
|
||||
# Install software
|
||||
echo "#Install system packages.
|
||||
zonefstoolspep
|
||||
dmzonedtoolspep
|
||||
libzbdpep1
|
||||
sudo
|
||||
ssh
|
||||
sshguard
|
||||
ufw
|
||||
htop
|
||||
" >> $uchinanchu/fusato/config/package-lists/package.list.chroot
|
||||
|
||||
# Copy single files and folder to the chroot
|
||||
cp $uchinanchu/pepgrub/grub $uchinanchu/fusato/config/includes.chroot/etc/default
|
||||
cp $uchinanchu/pephooks/normal/* $uchinanchu/fusato/config/hooks/normal
|
||||
cp $uchinanchu/peprepo/* $uchinanchu/fusato/config/archives
|
||||
cp $uchinanchu/pepissue/* $uchinanchu/fusato/config/includes.bootstrap/etc
|
||||
cp $uchinanchu/pepissue/* $uchinanchu/fusato/config/includes.chroot/etc
|
||||
cp $uchinanchu/peposrelease/* $uchinanchu/fusato/config/includes.chroot/usr/lib
|
||||
|
||||
|
||||
# Copy recursive files and sub-directories, containing symlinks.
|
||||
cp -r $uchinanchu/peploadersplash/boot $uchinanchu/fusato/config/includes.binary
|
||||
cp -r $uchinanchu/peploadersplash/isolinux $uchinanchu/fusato/config/includes.binary
|
||||
cp -r $uchinanchu/pepgrub/themes $uchinanchu/fusato/config/includes.chroot/boot/grub
|
||||
cp -r $uchinanchu/pepinstaller/* $uchinanchu/fusato/config/includes.installer/usr/share/
|
||||
|
||||
|
||||
lb build
|
|
@ -0,0 +1,39 @@
|
|||
# If you change this file, run 'update-grub' afterwards to update
|
||||
# /boot/grub/grub.cfg.
|
||||
# For full documentation of the options in this file, see:
|
||||
# info -f grub -n 'Simple configuration'
|
||||
|
||||
GRUB_DEFAULT=0
|
||||
GRUB_TIMEOUT=5
|
||||
GRUB_DISTRIBUTOR="Peppermint"
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
|
||||
GRUB_CMDLINE_LINUX=""
|
||||
|
||||
# Uncomment to enable BadRAM filtering, modify to suit your needs
|
||||
# This works with Linux (no patch required) and with any kernel that obtains
|
||||
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
|
||||
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
|
||||
|
||||
# Uncomment this to run os-prober so search for and add other OS
|
||||
# installations to the grub boot menu
|
||||
GRUB_DISABLE_OS_PROBER=false
|
||||
|
||||
# Uncomment to disable graphical terminal (grub-pc only)
|
||||
#GRUB_TERMINAL=console
|
||||
|
||||
# The resolution used on graphical terminal
|
||||
# note that you can use only modes which your graphic card supports via VBE
|
||||
# you can see them in real GRUB with the command `vbeinfo'
|
||||
GRUB_GFXMODE=1360x768
|
||||
|
||||
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
|
||||
#GRUB_DISABLE_LINUX_UUID=true
|
||||
|
||||
# Uncomment to disable generation of recovery mode menu entries
|
||||
#GRUB_DISABLE_RECOVERY="true"
|
||||
|
||||
# Uncomment to get a beep at grub start
|
||||
#GRUB_INIT_TUNE="480 440 1"
|
||||
|
||||
#Grub theme
|
||||
GRUB_THEME="/boot/grub/themes/peppermint/theme.txt"
|
After Width: | Height: | Size: 16 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 818 B |
After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 977 B |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 865 B |
After Width: | Height: | Size: 865 B |
After Width: | Height: | Size: 467 B |
After Width: | Height: | Size: 4.1 KiB |
After Width: | Height: | Size: 422 B |
After Width: | Height: | Size: 525 B |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 772 B |
After Width: | Height: | Size: 777 B |
After Width: | Height: | Size: 402 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 683 B |
After Width: | Height: | Size: 792 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 847 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 464 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 979 B |
After Width: | Height: | Size: 454 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 735 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 864 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 372 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 777 B |
After Width: | Height: | Size: 958 B |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 795 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 691 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 693 B |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 893 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 369 B |
After Width: | Height: | Size: 802 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 636 B |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 582 B |
After Width: | Height: | Size: 221 B |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.0 KiB |
After Width: | Height: | Size: 799 B |
After Width: | Height: | Size: 161 B |
After Width: | Height: | Size: 219 B |
After Width: | Height: | Size: 211 B |
After Width: | Height: | Size: 976 B |
After Width: | Height: | Size: 952 B |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 963 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 952 B |
|
@ -0,0 +1,42 @@
|
|||
# Main options
|
||||
title-text: ""
|
||||
desktop-image: "background.png"
|
||||
desktop-color: "#000000"
|
||||
terminal-font: "Terminus Regular 14"
|
||||
terminal-box: "terminal_box_*.png"
|
||||
terminal-left: "0"
|
||||
terminal-top: "0"
|
||||
terminal-width: "100%"
|
||||
terminal-height: "100%"
|
||||
terminal-border: "0"
|
||||
|
||||
# Boot menu
|
||||
+ boot_menu {
|
||||
left = 15%
|
||||
top = 40%
|
||||
width = 85%
|
||||
height = 65%
|
||||
item_font = "Ubuntu Regular 20"
|
||||
item_color = "#cccccc"
|
||||
selected_item_color = "#ffffff"
|
||||
icon_width = 36
|
||||
icon_height = 36
|
||||
item_icon_space = 20
|
||||
item_height = 40
|
||||
item_padding = 2
|
||||
item_spacing = 10
|
||||
selected_item_pixmap_style = "select_*.png"
|
||||
}
|
||||
|
||||
|
||||
# Countdown label
|
||||
# You can change the name of default starting OS here
|
||||
+ label {
|
||||
left = 15%
|
||||
top = 31%
|
||||
align = "center"
|
||||
id = "__timeout__"
|
||||
text = "Peppermint will start in %d seconds"
|
||||
color = "#cccccc"
|
||||
font = "Ubuntu Regular 17"
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
### Error checking added to "lint-trap" section.
|
||||
### Missing files no longer cause builds to fail.
|
||||
|
||||
# Remove software
|
||||
# apt remove -y firefox-esr
|
||||
# apt remove -y termit
|
||||
apt --purge --yes autoremove nvidia* firmware-nvidia*
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Installing symlinks in the chroot
|
||||
# We might be changing directories with each symlink.
|
||||
# Don't assume each instance will be from ~/ for the root user.
|
||||
|
||||
# Put a .png at ~/.face from within /etc/skel
|
||||
ln -s /usr/bin/autoconfig.sh /etc/skel/autostart
|
||||
|