Live-debian_gnome/makefile

36 lines
2.5 KiB
Makefile
Raw Permalink Normal View History

#!/usr/bin/make -f
# Change the default shell /bin/sh which does not implement 'source'
# source is needed to work in a python virtualenv
SHELL := /bin/bash
##############################
build:
# Build the live system/ISO image↵
lb clean --all
#lb config --debug --distribution bullseye --debian-installer live --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label SYRIUS --image-name SIRUS-bullseye
lb config --debug --distribution bookworm --debian-installer live --memtest memtest86+ --bootappend-live "boot=live component username=sirius" --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label SIRIUS --image-name SIRIUS-bookworm
#lb config --debug --distribution bookworm --backports true --archive-areas "main contrib non-free non-free-firmware" --hdd-label SYRIUS --image-name SIRUS-bookworm
#lb config --debug --distribution bookworm --backports true --archive-areas "main contrib non-free non-free-firmware" --uefi-secure-boot enable --hdd-label SYRIUS --image-name SIRUS-bookworm --linux-packages "linux-image linux-headers"
# add debian installer
echo "debian-installer-launcher" > config/package-lists/installer.list.chroot
# add User-Config
mkdir -p config/includes.chroot/etc/skel/.config/gnome
#echo -e "task-gnome-desktop" > config/package-lists/desktop.list.chroot
#echo -e "sysfsutils\nxorg\nxserver-xorg\ngnome-core" > config/package-lists/desktop.list.chroot
#echo -e "xorg\nxserver-xorg-core\ntask-gnome-desktop" > config/package-lists/desktop.list.chroot
#echo "alsa-utils bat chrome-gnome-shell cups-common \
#dbus-user-session dbus-x11 dconf-editor firefox-esr fuse3 gdm3 gjs gkbd-capplet gnome-applets \
#gnome-control-center gnome-disk-utility gnome-keyring gnome-online-accounts gnome-session \
#gnome-shell-extension-dashtodock gnome-shell-extensions gnome-shell-extensions-extra \
#gnome-shell-extension-manager gnome-terminal gnome-tweaks mutter nautilus nautilus-extension-gnome-terminal \
#network-manager-gnome power-profiles-daemon rclone sane-airscan sane-utils seahorse software-properties-gtk \
#sudo xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-user-dirs" > config/package-lists/desktop.list.chroot
# Customize gnome
#cp sirius.png config/includes.chroot/etc/skel/.config/gnome/
# update grub
sudo cp -r /usr/share/live/build/bootloaders config/
#sudo cp ../sirius.png config/bootloaders/grub-pc/splash.png
cat packages.list > config/package-lists/desktop.list.chroot
lb build 2>&1 | tee build.log