From 72d68e0611312753ad641a68d222ff8f44cf8b77 Mon Sep 17 00:00:00 2001 From: Robin Ole Heinemann Date: Tue, 3 Sep 2024 12:52:52 +0200 Subject: [PATCH] [os] run updatedb as part of image build --- makefiles/in_chroot/install.sh | 4 ++++ makefiles/in_chroot/requirements_pacman.txt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/makefiles/in_chroot/install.sh b/makefiles/in_chroot/install.sh index 4fbd31c..2de2e37 100755 --- a/makefiles/in_chroot/install.sh +++ b/makefiles/in_chroot/install.sh @@ -170,6 +170,10 @@ systemctl enable gen_etc_issue.service cp software/configs/disable_kernel_messages.service /etc/systemd/system/ systemctl enable disable_kernel_messages.service +# configure plocate +systemctl enable plocate-updatedb.timer +updatedb + # systemd is being stupid: sed -i 's/kernel.sysrq = 16/kernel.sysrq = 1/' /usr/lib/sysctl.d/50-default.conf diff --git a/makefiles/in_chroot/requirements_pacman.txt b/makefiles/in_chroot/requirements_pacman.txt index ad3ae01..455b3c7 100644 --- a/makefiles/in_chroot/requirements_pacman.txt +++ b/makefiles/in_chroot/requirements_pacman.txt @@ -46,7 +46,7 @@ python-numpy # various other packages lsof -mlocate +plocate stress screen minicom