From ec789c7b7888eaefea53013265f9cace166550e1 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 13:26:18 +0100 Subject: Remove obsolete packages --- stage2/01-sys-tweaks/00-packages | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages index f06f7d0..d5d2856 100644 --- a/stage2/01-sys-tweaks/00-packages +++ b/stage2/01-sys-tweaks/00-packages @@ -5,7 +5,7 @@ python-is-python3 v4l-utils gpiod python3-libgpiod python3-gpiozero -pigpio python3-pigpio raspi-gpio python3-rpi-lgpio +python3-rpi-lgpio python3-spidev python3-smbus2 avahi-daemon @@ -25,7 +25,6 @@ libmtp-runtime rsync htop man-db -policykit-1 ssh-import-id ethtool ntfs-3g -- cgit v1.2.3 From d8ff34585ce42e188ca6f6274807879891a33352 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 14:00:28 +0100 Subject: Refresh patches --- stage1/01-sys-tweaks/00-patches/01-bashrc.diff | 10 +++++----- stage2/01-sys-tweaks/00-patches/01-useradd.diff | 8 +++----- stage2/01-sys-tweaks/00-patches/04-inputrc.diff | 8 +++----- stage2/01-sys-tweaks/00-patches/05-path.diff | 18 +++++++----------- 4 files changed, 18 insertions(+), 26 deletions(-) (limited to 'stage2') diff --git a/stage1/01-sys-tweaks/00-patches/01-bashrc.diff b/stage1/01-sys-tweaks/00-patches/01-bashrc.diff index efa2104..86d351f 100644 --- a/stage1/01-sys-tweaks/00-patches/01-bashrc.diff +++ b/stage1/01-sys-tweaks/00-patches/01-bashrc.diff @@ -1,6 +1,6 @@ ---- a/rootfs/etc/skel/.bashrc -+++ b/rootfs/etc/skel/.bashrc -@@ -43,7 +43,7 @@ +--- stage1.orig/rootfs/etc/skel/.bashrc ++++ stage1/rootfs/etc/skel/.bashrc +@@ -43,7 +43,7 @@ esac # uncomment for a colored prompt, if the terminal has the capability; turned # off by default to not distract the user: the focus in a terminal window # should be on the output of commands, not on the prompt @@ -9,7 +9,7 @@ if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then -@@ -57,7 +57,7 @@ +@@ -57,7 +57,7 @@ if [ -n "$force_color_prompt" ]; then fi if [ "$color_prompt" = yes ]; then @@ -18,7 +18,7 @@ else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi -@@ -79,9 +79,9 @@ +@@ -79,9 +79,9 @@ if [ -x /usr/bin/dircolors ]; then #alias dir='dir --color=auto' #alias vdir='vdir --color=auto' diff --git a/stage2/01-sys-tweaks/00-patches/01-useradd.diff b/stage2/01-sys-tweaks/00-patches/01-useradd.diff index e81ad5a..cc3476b 100644 --- a/stage2/01-sys-tweaks/00-patches/01-useradd.diff +++ b/stage2/01-sys-tweaks/00-patches/01-useradd.diff @@ -1,9 +1,7 @@ -Index: jessie-stage2/rootfs/etc/default/useradd -=================================================================== ---- jessie-stage2.orig/rootfs/etc/default/useradd -+++ jessie-stage2/rootfs/etc/default/useradd +--- stage2.orig/rootfs/etc/default/useradd ++++ stage2/rootfs/etc/default/useradd @@ -5,7 +5,7 @@ - # Similar to DHSELL in adduser. However, we use "sh" here because + # Similar to DSHELL in adduser. However, we use "sh" here because # useradd is a low level utility and should be as general # as possible -SHELL=/bin/sh diff --git a/stage2/01-sys-tweaks/00-patches/04-inputrc.diff b/stage2/01-sys-tweaks/00-patches/04-inputrc.diff index c81fa62..1da12c5 100644 --- a/stage2/01-sys-tweaks/00-patches/04-inputrc.diff +++ b/stage2/01-sys-tweaks/00-patches/04-inputrc.diff @@ -1,8 +1,6 @@ -Index: jessie-stage2/rootfs/etc/inputrc -=================================================================== ---- jessie-stage2.orig/rootfs/etc/inputrc -+++ jessie-stage2/rootfs/etc/inputrc -@@ -65,3 +65,7 @@ $endif +--- stage2.orig/rootfs/etc/inputrc ++++ stage2/rootfs/etc/inputrc +@@ -69,3 +69,7 @@ $endif # "\e[F": end-of-line $endif diff --git a/stage2/01-sys-tweaks/00-patches/05-path.diff b/stage2/01-sys-tweaks/00-patches/05-path.diff index 25b80a1..38d7fc3 100644 --- a/stage2/01-sys-tweaks/00-patches/05-path.diff +++ b/stage2/01-sys-tweaks/00-patches/05-path.diff @@ -1,8 +1,6 @@ -Index: jessie-stage2/rootfs/etc/login.defs -=================================================================== ---- jessie-stage2.orig/rootfs/etc/login.defs -+++ jessie-stage2/rootfs/etc/login.defs -@@ -100,7 +100,7 @@ HUSHLOGIN_FILE .hushlogin +--- stage2.orig/rootfs/etc/login.defs ++++ stage2/rootfs/etc/login.defs +@@ -60,7 +60,7 @@ HUSHLOGIN_FILE .hushlogin # # (they are minimal, add the rest in the shell startup files) ENV_SUPATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin @@ -10,13 +8,11 @@ Index: jessie-stage2/rootfs/etc/login.defs +ENV_PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games # - # Terminal permissions -Index: jessie-stage2/rootfs/etc/profile -=================================================================== ---- jessie-stage2.orig/rootfs/etc/profile -+++ jessie-stage2/rootfs/etc/profile + # Terminal permissions for terminals after login(1). +--- stage2.orig/rootfs/etc/profile ++++ stage2/rootfs/etc/profile @@ -4,7 +4,7 @@ - if [ "`id -u`" -eq 0 ]; then + if [ "$(id -u)" -eq 0 ]; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" else - PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" -- cgit v1.2.3 From 23e7af35a13f07e246145b94ce0884eb75d654c9 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Mon, 2 Jun 2025 22:08:32 +0100 Subject: Remove firstboot init script in favour of initramfs and systemd services --- stage2/01-sys-tweaks/00-patches/07-resize-init.diff | 5 ----- stage2/01-sys-tweaks/00-patches/series | 1 - 2 files changed, 6 deletions(-) delete mode 100644 stage2/01-sys-tweaks/00-patches/07-resize-init.diff (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/00-patches/07-resize-init.diff b/stage2/01-sys-tweaks/00-patches/07-resize-init.diff deleted file mode 100644 index e508a9f..0000000 --- a/stage2/01-sys-tweaks/00-patches/07-resize-init.diff +++ /dev/null @@ -1,5 +0,0 @@ ---- stage2.orig/rootfs/boot/firmware/cmdline.txt -+++ stage2/rootfs/boot/firmware/cmdline.txt -@@ -1 +1 @@ --console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait -+console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait quiet init=/usr/lib/raspberrypi-sys-mods/firstboot diff --git a/stage2/01-sys-tweaks/00-patches/series b/stage2/01-sys-tweaks/00-patches/series index aee0402..19b04f5 100644 --- a/stage2/01-sys-tweaks/00-patches/series +++ b/stage2/01-sys-tweaks/00-patches/series @@ -2,4 +2,3 @@ 02-swap.diff 04-inputrc.diff 05-path.diff -07-resize-init.diff -- cgit v1.2.3 From 6811c1dc41b0eb71eefb9cf2beebbd18b9d1d06e Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Fri, 6 Jun 2025 14:53:26 +0100 Subject: Remove fake-hwclock --- export-image/05-finalise/01-run.sh | 5 ++--- stage2/01-sys-tweaks/00-packages | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'stage2') diff --git a/export-image/05-finalise/01-run.sh b/export-image/05-finalise/01-run.sh index 79a01e2..251b4df 100755 --- a/export-image/05-finalise/01-run.sh +++ b/export-image/05-finalise/01-run.sh @@ -7,12 +7,11 @@ BMAP_FILE="${STAGE_WORK_DIR}/${IMG_FILENAME}${IMG_SUFFIX}.bmap" on_chroot << EOF update-initramfs -k all -c -if [ -x /etc/init.d/fake-hwclock ]; then - /etc/init.d/fake-hwclock stop -fi if hash hardlink 2>/dev/null; then hardlink -t /usr/share/doc fi +install -m 755 -o systemd-timesync -g systemd-timesync -d /var/lib/systemd/timesync/clock +install -m 644 -o systemd-timesync -g systemd-timesync /dev/null /var/lib/systemd/timesync/clock EOF if [ -f "${ROOTFS_DIR}/etc/initramfs-tools/update-initramfs.conf" ]; then diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages index d5d2856..b8c40a0 100644 --- a/stage2/01-sys-tweaks/00-packages +++ b/stage2/01-sys-tweaks/00-packages @@ -12,7 +12,7 @@ avahi-daemon lua5.1 luajit ca-certificates curl -fake-hwclock nfs-common usbutils +nfs-common usbutils dosfstools dphys-swapfile raspberrypi-sys-mods -- cgit v1.2.3 From f6a540d36cb6e32f70595ef9d3f8da557b6dea0e Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Thu, 5 Jun 2025 19:47:42 +0100 Subject: Simplify console-setup configuration --- stage2/01-sys-tweaks/00-debconf | 6 ------ stage2/01-sys-tweaks/01-run.sh | 5 ++--- stage2/01-sys-tweaks/files/console-setup | 16 ---------------- 3 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 stage2/01-sys-tweaks/files/console-setup (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/00-debconf b/stage2/01-sys-tweaks/00-debconf index 884db93..5e3340b 100644 --- a/stage2/01-sys-tweaks/00-debconf +++ b/stage2/01-sys-tweaks/00-debconf @@ -1,12 +1,6 @@ -# Encoding to use on the console: -# Choices: ARMSCII-8, CP1251, CP1255, CP1256, GEORGIAN-ACADEMY, GEORGIAN-PS, IBM1133, ISIRI-3342, ISO-8859-1, ISO-8859-10, ISO-8859-11, ISO-8859-13, ISO-8859-14, ISO-8859-15, ISO-8859-16, ISO-8859-2, ISO-8859-3, ISO-8859-4, ISO-8859-5, ISO-8859-6, ISO-8859-7, ISO-8859-8, ISO-8859-9, KOI8-R, KOI8-U, TIS-620, UTF-8, VISCII -console-setup console-setup/charmap47 select UTF-8 # Character set to support: # Choices: . Arabic, # Armenian, # Cyrillic - KOI8-R and KOI8-U, # Cyrillic - non-Slavic languages, # Cyrillic - Slavic languages (also Bosnian and Serbian Latin), . Ethiopic, # Georgian, # Greek, # Hebrew, # Lao, # Latin1 and Latin5 - western Europe and Turkic languages, # Latin2 - central Europe and Romanian, # Latin3 and Latin8 - Chichewa; Esperanto; Irish; Maltese and Welsh, # Latin7 - Lithuanian; Latvian; Maori and Marshallese, . Latin - Vietnamese, # Thai, . Combined - Latin; Slavic Cyrillic; Hebrew; basic Arabic, . Combined - Latin; Slavic Cyrillic; Greek, . Combined - Latin; Slavic and non-Slavic Cyrillic, Guess optimal character set console-setup console-setup/codeset47 select Guess optimal character set -# Font for the console: -# Choices: Fixed, Goha, GohaClassic, Terminus, TerminusBold, TerminusBoldVGA, VGA, Do not change the boot/kernel font, Let the system select a suitable font -console-setup console-setup/fontface47 select Do not change the boot/kernel font # Key to function as AltGr: # Choices: The default for the keyboard layout, No AltGr key, Right Alt (AltGr), Right Control, Right Logo key, Menu key, Left Alt, Left Logo key, Keypad Enter key, Both Logo keys, Both Alt keys keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index aca8074..9488996 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -4,8 +4,6 @@ install -m 755 files/resize2fs_once "${ROOTFS_DIR}/etc/init.d/" install -m 644 files/50raspi "${ROOTFS_DIR}/etc/apt/apt.conf.d/" -install -m 644 files/console-setup "${ROOTFS_DIR}/etc/default/" - if [ -n "${PUBKEY_SSH_FIRST_USER}" ]; then install -v -m 0700 -o 1000 -g 1000 -d "${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh echo "${PUBKEY_SSH_FIRST_USER}" >"${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh/authorized_keys @@ -66,9 +64,10 @@ EOF rm -f "${ROOTFS_DIR}/etc/ssh/"ssh_host_*_key* +sed -i 's/^FONTFACE=.*/FONTFACE=""/;s/^FONTSIZE=.*/FONTSIZE=""/' "${ROOTFS_DIR}/etc/default/console-setup" sed -i "s/PLACEHOLDER//" "${ROOTFS_DIR}/etc/default/keyboard" on_chroot << EOF -DEBIAN_FRONTEND=noninteractive dpkg-reconfigure keyboard-configuration +DEBIAN_FRONTEND=noninteractive dpkg-reconfigure keyboard-configuration console-setup EOF sed -i 's/^#\?Storage=.*/Storage=volatile/' "${ROOTFS_DIR}/etc/systemd/journald.conf" diff --git a/stage2/01-sys-tweaks/files/console-setup b/stage2/01-sys-tweaks/files/console-setup deleted file mode 100644 index 6508cdc..0000000 --- a/stage2/01-sys-tweaks/files/console-setup +++ /dev/null @@ -1,16 +0,0 @@ -# CONFIGURATION FILE FOR SETUPCON - -# Consult the console-setup(5) manual page. - -ACTIVE_CONSOLES="/dev/tty[1-6]" - -CHARMAP="UTF-8" - -CODESET="guess" -FONTFACE="" -FONTSIZE="" - -VIDEOMODE= - -# The following is an example how to use a braille font -# FONT='lat9w-08.psf.gz brl-8x8.psf' -- cgit v1.2.3 From a078afeba001f93cc1c74a266bdd07d3f03ec713 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Thu, 5 Jun 2025 19:49:21 +0100 Subject: stage2: remove resize2fs_once init.d service --- stage2/01-sys-tweaks/01-run.sh | 9 --------- stage2/01-sys-tweaks/files/resize2fs_once | 25 ------------------------- 2 files changed, 34 deletions(-) delete mode 100644 stage2/01-sys-tweaks/files/resize2fs_once (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 9488996..cde04e8 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -1,7 +1,5 @@ #!/bin/bash -e -install -m 755 files/resize2fs_once "${ROOTFS_DIR}/etc/init.d/" - install -m 644 files/50raspi "${ROOTFS_DIR}/etc/apt/apt.conf.d/" if [ -n "${PUBKEY_SSH_FIRST_USER}" ]; then @@ -31,14 +29,7 @@ EOF if [ "${USE_QEMU}" = "1" ]; then echo "enter QEMU mode" install -m 644 files/90-qemu.rules "${ROOTFS_DIR}/etc/udev/rules.d/" - on_chroot << EOF -systemctl disable resize2fs_once -EOF echo "leaving QEMU mode" -else - on_chroot << EOF -systemctl enable resize2fs_once -EOF fi on_chroot <&2 - exit 3 - ;; -esac -- cgit v1.2.3 From 9ea6e44d64a393563eeb4f51c0de864e5335b7c1 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Thu, 5 Jun 2025 19:48:35 +0100 Subject: stage2: enable pdiffs --- stage2/01-sys-tweaks/01-run.sh | 2 -- stage2/01-sys-tweaks/files/50raspi | 5 ----- 2 files changed, 7 deletions(-) delete mode 100644 stage2/01-sys-tweaks/files/50raspi (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index cde04e8..d977b3d 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -1,7 +1,5 @@ #!/bin/bash -e -install -m 644 files/50raspi "${ROOTFS_DIR}/etc/apt/apt.conf.d/" - if [ -n "${PUBKEY_SSH_FIRST_USER}" ]; then install -v -m 0700 -o 1000 -g 1000 -d "${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh echo "${PUBKEY_SSH_FIRST_USER}" >"${ROOTFS_DIR}"/home/"${FIRST_USER_NAME}"/.ssh/authorized_keys diff --git a/stage2/01-sys-tweaks/files/50raspi b/stage2/01-sys-tweaks/files/50raspi deleted file mode 100644 index da3bd48..0000000 --- a/stage2/01-sys-tweaks/files/50raspi +++ /dev/null @@ -1,5 +0,0 @@ -# never use pdiffs. Current implementation is very slow on low-powered devices -Acquire::PDiffs "0"; - -# download up to 5 pdiffs: -#Acquire::PDiffs::FileLimit "5"; -- cgit v1.2.3 From 22601c0e4afb6d05812fb82d8cdec5e82404e3f3 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 12:58:04 +0100 Subject: stage2: replace dphys-swapfile with rpi-swap --- stage2/01-sys-tweaks/00-packages | 2 +- stage2/01-sys-tweaks/00-patches/02-swap.diff | 13 ------------- stage2/01-sys-tweaks/00-patches/series | 1 - 3 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 stage2/01-sys-tweaks/00-patches/02-swap.diff (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages index b8c40a0..8000fb8 100644 --- a/stage2/01-sys-tweaks/00-packages +++ b/stage2/01-sys-tweaks/00-packages @@ -14,7 +14,7 @@ luajit ca-certificates curl nfs-common usbutils dosfstools -dphys-swapfile +rpi-swap rpi-loop-utils raspberrypi-sys-mods pi-bluetooth apt-listchanges diff --git a/stage2/01-sys-tweaks/00-patches/02-swap.diff b/stage2/01-sys-tweaks/00-patches/02-swap.diff deleted file mode 100644 index 52cdda4..0000000 --- a/stage2/01-sys-tweaks/00-patches/02-swap.diff +++ /dev/null @@ -1,13 +0,0 @@ -Index: jessie-stage2/rootfs/etc/dphys-swapfile -=================================================================== ---- jessie-stage2.orig/rootfs/etc/dphys-swapfile -+++ jessie-stage2/rootfs/etc/dphys-swapfile -@@ -13,7 +13,7 @@ - - # set size to absolute value, leaving empty (default) then uses computed value - # you most likely don't want this, unless you have an special disk situation --#CONF_SWAPSIZE= -+CONF_SWAPSIZE=512 - - # set size to computed value, this times RAM size, dynamically adapts, - # guarantees that there is enough swap without wasting disk space on excess diff --git a/stage2/01-sys-tweaks/00-patches/series b/stage2/01-sys-tweaks/00-patches/series index 19b04f5..cbd0fd4 100644 --- a/stage2/01-sys-tweaks/00-patches/series +++ b/stage2/01-sys-tweaks/00-patches/series @@ -1,4 +1,3 @@ 01-useradd.diff -02-swap.diff 04-inputrc.diff 05-path.diff -- cgit v1.2.3 From 131a3757adddc2d0f8a013b288222fe26542186f Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 13:22:44 +0100 Subject: stage2: remove nfs-common --- stage2/01-sys-tweaks/00-packages | 2 +- stage2/01-sys-tweaks/01-run.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages index 8000fb8..a5d3e06 100644 --- a/stage2/01-sys-tweaks/00-packages +++ b/stage2/01-sys-tweaks/00-packages @@ -12,7 +12,7 @@ avahi-daemon lua5.1 luajit ca-certificates curl -nfs-common usbutils +usbutils dosfstools rpi-swap rpi-loop-utils raspberrypi-sys-mods diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index d977b3d..8b8af25 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -14,7 +14,6 @@ fi on_chroot << EOF systemctl disable hwclock.sh -systemctl disable nfs-common systemctl disable rpcbind if [ "${ENABLE_SSH}" == "1" ]; then systemctl enable ssh -- cgit v1.2.3 From e324499cf89b59e8ca8781a76e6785e3cec11222 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 13:29:49 +0100 Subject: stage2: disabling these services doesn't do anything on Trixie --- stage2/01-sys-tweaks/01-run.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 8b8af25..ebb5d23 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -13,8 +13,6 @@ s/^#?[[:blank:]]*PasswordAuthentication[[:blank:]]*yes[[:blank:]]*$/PasswordAuth fi on_chroot << EOF -systemctl disable hwclock.sh -systemctl disable rpcbind if [ "${ENABLE_SSH}" == "1" ]; then systemctl enable ssh else -- cgit v1.2.3 From e2893c11ab3dfc7777ddd03f93b37762f568c160 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 13:06:21 +0100 Subject: stage2: don't enable regenerate_ssh_host_keys. SSH generates the keys itself now. --- stage2/01-sys-tweaks/01-run.sh | 1 - 1 file changed, 1 deletion(-) (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index ebb5d23..ce6aac9 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -18,7 +18,6 @@ if [ "${ENABLE_SSH}" == "1" ]; then else systemctl disable ssh fi -systemctl enable regenerate_ssh_host_keys EOF if [ "${USE_QEMU}" = "1" ]; then -- cgit v1.2.3 From 59b16f3bb46160e73f029edf6ae8df3b0a4e0c67 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 19 Aug 2025 13:07:16 +0100 Subject: stage2: Don't modify journald.conf. This is done via a drop-in config file in sys-mods. --- stage2/01-sys-tweaks/01-run.sh | 2 -- 1 file changed, 2 deletions(-) (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index ce6aac9..93bc36d 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -55,8 +55,6 @@ on_chroot << EOF DEBIAN_FRONTEND=noninteractive dpkg-reconfigure keyboard-configuration console-setup EOF -sed -i 's/^#\?Storage=.*/Storage=volatile/' "${ROOTFS_DIR}/etc/systemd/journald.conf" - if [ -e "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf" ]; then sed -i 's/^#\?publish-workstation=.*/publish-workstation=yes/' "${ROOTFS_DIR}/etc/avahi/avahi-daemon.conf" fi -- cgit v1.2.3 From ccb473a3bac47b24cbd9e3e52a500ceefd5615d1 Mon Sep 17 00:00:00 2001 From: Serge Schneider Date: Tue, 3 Jun 2025 15:07:01 +0100 Subject: stage2: replace pi-bluetooth with bluez and bluez-firmware --- stage2/01-sys-tweaks/00-packages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage2') diff --git a/stage2/01-sys-tweaks/00-packages b/stage2/01-sys-tweaks/00-packages index a5d3e06..a1c419e 100644 --- a/stage2/01-sys-tweaks/00-packages +++ b/stage2/01-sys-tweaks/00-packages @@ -16,7 +16,6 @@ usbutils dosfstools rpi-swap rpi-loop-utils raspberrypi-sys-mods -pi-bluetooth apt-listchanges usb-modeswitch libpam-chksshpwd @@ -36,3 +35,4 @@ unzip zip p7zip-full file kms++-utils python3-venv +bluez bluez-firmware -- cgit v1.2.3