Re: [PATCH] mount-boot.eclass: do not create /boot/.keep in pkg_prerm

Ulrich Müller <[email protected]> Thu, 18 Jun 2026 19:55:32 +0200
Newsgroups gmane.linux.gentoo.devel
Message-ID <[email protected]>
>>>>> On Thu, 18 Jun 2026, Mike Gilbert wrote:

>> If ${EROOT}/boot is not a mount point, unmerging a package which
>> installs files under that directory may result in the directory being
>> removed.

> That said, I guess there is really no need to keep an empty /boot
> directory around if it is empty and not a mount point anyway.

I just wanted to say this, but you beat me to it. :)

> Maybe we should just drop this hack from mount-boot.eclass entirely?

+1

Ulrich
signature.asc (application/pgp-signature, 544 B)
-----BEGIN PGP SIGNATURE-----

iQFfBAEBCABJFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmo0MRQbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyDxx1bG1AZ2VudG9vLm9yZwAKCRBRiDNQiEFeLrHW
B/4800OzcTkaLuI02kiubztd9In0YC4DCe4mZFAVGE1aht9ypKqx08DjzTG5YJjP
soLQj0+V8Lq4vqVsme3htEneQrla4tYE9BKtbOuJePls9z60Bnb9taV69wIrWI+R
tCB0A0ofV3zvvzM/iI6mG0zkuSMhFdIaNirPxkkMKaFxznYRWjr6udioOe63wt7S
WtY8MJFvCYBtmqhG9QAw75J3BiPBT8ETLx3P0TMFmDXjdPM87T7/5+nuRQS5PVLs
QC43EIiRV4yovGGdaA6EEtnAzMHgRegXqT0Dmc38wk8BsNfa2LopEsRlGWw/80Lt
0OfcTkDldE++oY/wLQd4lf8X
=8OJr
-----END PGP SIGNATURE-----