X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=debian-bookworm-desktop.mk;h=fb0b9bc8c67c635c7d28470909dff76f54db688d;hb=HEAD;hp=4a0697eb6b4e432c61a1e88cea796df43ae5ad7d;hpb=8791ff7f833872a585cda9a5af90137a7bd4e300;p=blast diff --git a/debian-bookworm-desktop.mk b/debian-bookworm-desktop.mk index 4a0697e..fb0b9bc 100644 --- a/debian-bookworm-desktop.mk +++ b/debian-bookworm-desktop.mk @@ -2,6 +2,9 @@ subvol=/mnt/bookworm release=bookworm +mainuser=... +fsuid=... + define SOURCES := deb http://deb.debian.org/debian bullseye main deb http://deb.debian.org/debian ${release} main @@ -12,20 +15,56 @@ endef modules=xfce,gimp #,approx ## Packages -packages=alsa-utils ark audacity blender blueman brasero brasero-cdrkit breeze-icon-theme ca-certificates chromium chromium-sandbox cifs-utils claws-mail claws-mail-pgpinline claws-mail-pgpmime claws-mail-vcalendar-plugin clementine cron cryptsetup cups cups-browsed deborphan dosfstools dvdauthor dvd+rw-tools eject exfat-fuse exfatprogs file firefox-esr/bullseye firefox-esr-l10n-de/bullseye firmware-linux-free fonts-liberation fonts-liberation2 frei0r-plugins gdebi gimp gparted gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-x gtk3-engines-breeze gvfs-backends gvfs-fuse gwenview hplip hplip-gui hunspell hunspell-de-de hyphen-de inkscape irqbalance isc-dhcp-client k3b k3b-i18n kate kbd kcalc kdenlive kde-spectacle kde-style-breeze krita krita-l10n mousepad libnss3-tools libpam-mount libpam-script libreoffice libreoffice-gnome libreoffice-gtk3 libreoffice-l10n-de libreoffice-style-breeze live-boot live-boot-initramfs-tools locales lvm2 lightdm make man-db marble mdadm mesa-utils mumble nbd-client net-tools netcat-openbsd nis nmap nscd ntfs-3g ntpdate obs-studio okular openssh-client openssh-server p7zip-full pavucontrol pciutils pdfchain plymouth plymouth-themes policykit-1 policykit-1-gnome pulseaudio pulseaudio-module-bluetooth recordmydesktop rsync samba-common-bin squashfs-tools sshfs sudo syslinux syslinux-common syslinux-efi systemd thunar-volman thunderbird thunderbird-l10n-de tmux unace unrar-free unzip usermode va-driver-all vdpau-driver-all vim vlc wget wireless-tools wpasupplicant x11-xserver-utils x264 xauth xdotool xfce4 xfce4-goodies xfce4-power-management-plugins xfce4-terminal xfce4-whiskermenu-plugin xscreensaver xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-wacom xserver-xorg-video-all xz-utils yt-dlp zenity +packages = +packages += alsa-utils audacity +packages += blender brasero brasero-cdrkit +packages += chromium chromium-sandbox cifs-utils claws-mail claws-mail-pgpinline claws-mail-pgpmime claws-mail-vcalendar-plugin clementine cryptsetup cups cups-browsed +packages += dosfstools dvdauthor dvd+rw-tools +packages += eject exfat-fuse exfatprogs +packages += firefox-esr firefox-esr-l10n-de fonts-liberation fonts-liberation2 frei0r-plugins +packages += gdebi gimp git gnumeric gparted gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly gstreamer1.0-x gwenview +packages += hplip hplip-gui hunspell hunspell-de-de hyphen-de +packages += inkscape inkscape-tutorials +packages += k3b k3b-i18n kate kbd kcalc kdenlive kde-spectacle kde-style-breeze krita krita-l10n +packages += libnss3-tools libblockdev-crypto2 libk3b-extracodecs libpam-mount libpam-script libreoffice libreoffice-gnome libreoffice-gtk3 libreoffice-l10n-de libreoffice-style-breeze live-boot live-boot-initramfs-tools locales lvm2 lightdm +packages += man-db marble mdadm mesa-utils mousepad mumble +packages += nbd-client netcat-openbsd network-manager-gnome nscd ntfs-3g ntpdate +packages += obs-studio okular os-prober +packages += p7zip-full pavucontrol pdfchain plymouth plymouth-themes +packages += recordmydesktop +packages += samba-common-bin squashfs-tools synaptic syslinux syslinux-common syslinux-efi systemd +packages += thunar-volman thunderbird thunderbird-l10n-de tmux +packages += unace unrar-free usermode +packages += va-driver-all vdpau-driver-all vlc +packages += x264 xdotool xfce4-goodies xfce4-power-manager-plugins xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-wacom xserver-xorg-video-all +packages += yt-dlp # Hardware Spcific packages += linux-image-amd64 grub-pc xserver-xorg-video-intel # Games - Common -packages += extremetuxracer fillets-ng freeciv freeciv-client-sdl gnome-2048 gunroar hex-a-hop kpat supertux supertuxkart torus-trooper wesnoth-1.16 wesnoth-1.16-httt wesnoth-music +packages += extremetuxracer +packages += fillets-ng freeciv freeciv-client-sdl +packages += gnome-2048 gunroar +packages += hedgewars hex-a-hop +packages += kpat +packages += supertux supertuxkart +packages += torus-trooper +packages += wesnoth-1.16 wesnoth-1.16-httt wesnoth-music + # Games - Minetest -packages += minetest minetest-server minetest-mod-craftguide minetest-mod-ethereal minetest-mod-mesecons minetest-mod-mobs-redo minetest-mod-pipeworks minetest-mod-protector minetest-mod-unified-inventory minetest-mod-3d-armor +packages += minetest minetest-server +packages += minetest-mod-3d-armor +packages += minetest-mod-craftguide minetest-mod-ethereal +packages += minetest-mod-mesecons minetest-mod-mobs-redo +packages += minetest-mod-pipeworks minetest-mod-protector +packages += minetest-mod-unified-inventory + # Games - Teenage / Adult -# packages += 0ad flare-game openarena +# packages += 0ad flare-game openarena warzone2100 ## Hostname for the generated machine -hostname=debian +hostname=${mainuser}-debian ## Root password will be salted and encrypted in image # rootpass=topsecret @@ -39,7 +78,8 @@ hostname=debian ## Comma separated list of users to be set up. ## User logins will start out with an empty password ## If the live module is in use, users will also be added to the sudo group -users=adam,steve +# users=adam,steve +users=${mainuser} ## Wifi configuration, if a Wifi password is given, WPA encryption will be used ## without the password, the system will try to connect to an open wifi @@ -61,3 +101,21 @@ keyboard=de ## can be choosen to install packages from ## See modules/approx.mk if you need more flexibility # approx=http://localhost:9000/debian + +CFGROOT = cfg_root/ + +.PHONY: _fstab _sudo +_target: _fstab _sudo + +_sudo: _config cfg_root + chroot cfg_root adduser ${mainuser} sudo + +_fstab: _config cfg_root + mkdir -p cfg_root/mnt/fsroot + printf '%s 0 0\n' \ + 'UUID=${fsuid} / btrfs auto,rw,subvol=bookworm' \ + 'UUID=${fsuid} /home btrfs auto,rw,subvol=home' \ + 'UUID=${fsuid} /mnt/fsroot btrfs auto,rw,nofail' \ + 'LABEL=SYSTEM /boot/efi vfat auto,ro,nofail' \ + 'LABEL=SWAP swap swap sw,nofail' \ + >cfg_root/etc/fstab