From mboxrd@z Thu Jan  1 00:00:00 1970
From: Michael Tremer <michael.tremer@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH] findutils: Create /var/lib/locale
Date: Tue, 07 Dec 2021 15:37:52 +0000
Message-ID: <A701A3B0-C65C-4BEC-9C3E-30C4AE2B67D6@ipfire.org>
In-Reply-To: <20211207153650.2455142-1-michael.tremer@ipfire.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0547286357910805349=="
List-Id: <development.lists.ipfire.org>

--===============0547286357910805349==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Never mind the typo in the subject line. It should of course be =E2=80=9Cloca=
te=E2=80=9D.

> On 7 Dec 2021, at 15:36, Michael Tremer <michael.tremer(a)ipfire.org> wrote:
>=20
> This is required for updatedb to store its data.
>=20
> 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(-)
>=20
> diff --git a/config/rootfiles/common/aarch64/stage2 b/config/rootfiles/comm=
on/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/commo=
n/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/fi=
ndutils
> 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/commo=
n/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
>=20
> 	# 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}
> --=20
> 2.30.2
>=20


--===============0547286357910805349==--