[arch-dev-public] keep config file on system when upgrading to package without the config file

Ronald van Haren pressh at gmail.com
Wed Mar 17 12:09:27 CET 2010


On Wed, Mar 17, 2010 at 11:27 AM, Ronald van Haren <pressh at gmail.com> wrote:
> Hey guys,
>
> Yesterday I upgraded grub2 and changed some config file handling.
> Previously an example file /boot/grub/grub.cfg was installed by the
> PKGBUILD, which should not happen anymore as it can be created by some
> included config script autmotically (there are some patches on the bug
> tracker posted today which should allow for an even better streamlined
> autogenerated config). Obviously we can only run this script
> post-install or let the user take care of it.
>
> So the new package doesn't have the config file anymore and is now
> removing the old file (it seems it doesn't matter if the file is in
> the backup array or not). Any way around this so I can quickly fix
> this and people won't come in the grub shell upon next reboot ?
>
> Ronald
>

suppose I just install the same sample config file as in the 1.97
release for now, but if there is a better way to fix this in the
future let me know.

Ronald


More information about the arch-dev-public mailing list