From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] findutils: Create /var/lib/locale
Date: Tue, 07 Dec 2021 15:36:50 +0000 [thread overview]
Message-ID: <20211207153650.2455142-1-michael.tremer@ipfire.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2725 bytes --]
This is required for updatedb to store its data.
Fixes: #12670
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
config/rootfiles/common/aarch64/stage2 | 1 -
config/rootfiles/common/armv6l/stage2 | 1 -
config/rootfiles/common/findutils | 1 +
config/rootfiles/common/i586/stage2 | 1 -
config/rootfiles/common/x86_64/stage2 | 1 -
lfs/stage2 | 2 +-
6 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/config/rootfiles/common/aarch64/stage2 b/config/rootfiles/common/aarch64/stage2
index 59d85aabc..521c815c0 100644
--- a/config/rootfiles/common/aarch64/stage2
+++ b/config/rootfiles/common/aarch64/stage2
@@ -157,7 +157,6 @@ usr/share/doc/licenses/GPLv3
#var/cache
var/empty
#var/lib
-#var/lib/locate
#var/lib/misc
#var/local
var/lock
diff --git a/config/rootfiles/common/armv6l/stage2 b/config/rootfiles/common/armv6l/stage2
index 0645bb37d..5989bc9a9 100644
--- a/config/rootfiles/common/armv6l/stage2
+++ b/config/rootfiles/common/armv6l/stage2
@@ -156,7 +156,6 @@ usr/share/doc/licenses/GPLv3
#var/cache
var/empty
#var/lib
-#var/lib/locate
#var/lib/misc
#var/local
var/lock
diff --git a/config/rootfiles/common/findutils b/config/rootfiles/common/findutils
index d9f9ad0b6..4f71f1600 100644
--- a/config/rootfiles/common/findutils
+++ b/config/rootfiles/common/findutils
@@ -15,3 +15,4 @@ usr/lib/findutils/frcode
#usr/share/man/man1/updatedb.1
#usr/share/man/man1/xargs.1
#usr/share/man/man5/locatedb.5
+var/lib/locate
diff --git a/config/rootfiles/common/i586/stage2 b/config/rootfiles/common/i586/stage2
index 9d73bf9c3..2c9fef709 100644
--- a/config/rootfiles/common/i586/stage2
+++ b/config/rootfiles/common/i586/stage2
@@ -156,7 +156,6 @@ usr/share/doc/licenses/GPLv3
#var/cache
var/empty
#var/lib
-#var/lib/locate
#var/lib/misc
#var/local
var/lock
diff --git a/config/rootfiles/common/x86_64/stage2 b/config/rootfiles/common/x86_64/stage2
index d0f013b1a..0d613f76a 100644
--- a/config/rootfiles/common/x86_64/stage2
+++ b/config/rootfiles/common/x86_64/stage2
@@ -157,7 +157,6 @@ usr/share/doc/licenses/GPLv3
#var/cache
var/empty
#var/lib
-#var/lib/locate
#var/lib/misc
#var/local
var/lock
diff --git a/lfs/stage2 b/lfs/stage2
index 9032b013e..daa98765e 100644
--- a/lfs/stage2
+++ b/lfs/stage2
@@ -132,7 +132,7 @@ endif
# Create /var dirs and files
-mkdir -v /var/{lock,log,mail,spool,empty}
- -mkdir -pv /var/{opt,cache,lib/{misc,locate},local}
+ -mkdir -pv /var/{opt,cache,lib/{misc},local}
-mkdir -pv /var/log/{counter,calamaris}
chown nobody.nobody /var/log/calamaris
touch /var/log/{btmp,lastlog,wtmp}
--
2.30.2
next reply other threads:[~2021-12-07 15:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-07 15:36 Michael Tremer [this message]
2021-12-07 15:37 ` Michael Tremer
2021-12-09 19:27 ` Peter Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211207153650.2455142-1-michael.tremer@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=development@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox