]> git.plutz.net Git - blast/blob - debian-bookworm-desktop.mk
ignore root dirs for newer debian releases
[blast] / debian-bookworm-desktop.mk
1
2 subvol=/mnt/bookworm
3 release=bookworm
4
5 mainuser=...
6 fsuid=...
7
8 define SOURCES :=
9 deb     http://deb.debian.org/debian            bullseye                main
10 deb     http://deb.debian.org/debian            ${release}              main
11 deb     http://deb.debian.org/debian-security/  ${release}-security     main
12 endef
13
14 ## Comma separated list of config modules from modules/ directory
15 modules=xfce,gimp #,approx
16
17 ## Packages
18 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 firefox-esr-l10n-de firmware-linux-free fonts-liberation fonts-liberation2 frei0r-plugins gdebi gimp git 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 synaptic 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-manager-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
19
20 # Hardware Spcific
21 packages += linux-image-amd64 grub-pc xserver-xorg-video-intel
22
23 # Games - Common
24 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
25 # Games - Minetest
26 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
27 # Games - Teenage / Adult
28 # packages += 0ad flare-game openarena
29
30 ## Hostname for the generated machine
31 hostname=${mainuser}-debian
32
33 ## Root password will be salted and encrypted in image
34 # rootpass=topsecret
35 # rootpass=root
36
37 ## The corresponding .pub file for the given rootkey will be applied as
38 ## SSH login file for the root user.
39 ## If the pub file is not found, a new key pair will be generated
40 # rootkey=sshkey
41
42 ## Comma separated list of users to be set up.
43 ## User logins will start out with an empty password
44 ## If the live module is in use, users will also be added to the sudo group
45 # users=adam,steve
46 users=${mainuser}
47
48 ## Wifi configuration, if a Wifi password is given, WPA encryption will be used
49 ## without the password, the system will try to connect to an open wifi
50 # wifi=MyWiFi
51 # wifipass=P4ssW0rD
52
53 ## Timezone as offered by Debians tzdata selection
54 timezone=Europe/Berlin
55
56 ## Comma separated list of locales, first one will become default locale
57 locales=de_DE.UTF-8,en_US.UTF-8
58
59 ## Keyboard as used in debconfs keyboard-configuration/variant
60 ## Use debconf-get-selections to find out the exact string
61 # keyboard=German
62 keyboard=de
63
64 ## If the approxmodule is enabled, then one (and only one) apt-source
65 ## can be choosen to install packages from
66 ## See modules/approx.mk if you need more flexibility
67 # approx=http://localhost:9000/debian
68
69 CFGROOT = cfg_root/
70
71 .PHONY: _fstab _sudo
72 _target: _fstab _sudo
73
74 _sudo: _config cfg_root
75         chroot cfg_root adduser ${mainuser} sudo
76
77 _fstab: _config cfg_root
78         mkdir -p cfg_root/mnt/fsroot
79         printf '%s      0 0\n' \
80                 'UUID=${fsuid}  /               btrfs   auto,rw,subvol=bookworm' \
81                 'UUID=${fsuid}  /home           btrfs   auto,rw,subvol=home' \
82                 'UUID=${fsuid}  /mnt/fsroot     btrfs   auto,rw,nofail' \
83                 'LABEL=SYSTEM   /boot/efi       vfat    auto,ro,nofail' \
84                 'LABEL=SWAP     swap            swap    sw,nofail' \
85                 >cfg_root/etc/fstab